Sign class abstract

A meta class that provides access to all libsodium sign APIs.

This class provides the dart interface for the crypto operations documented in https://libsodium.gitbook.io/doc/public-key_cryptography/public-key_signatures. Please refer to that documentation for more details about these APIs.

Implementers

Properties

bytes int
Provides crypto_sign_BYTES.
no setter
hashCode int
The hash code for this object.
no setterinherited
publicKeyBytes int
Provides crypto_sign_PUBLICKEYBYTES.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secretKeyBytes int
Provides crypto_sign_SECRETKEYBYTES.
no setter
seedBytes int
Provides crypto_sign_SEEDBYTES.
no setter

Methods

call({required Uint8List message, required SecureKey secretKey}) Uint8List
Provides crypto_sign.
createConsumer({required SecureKey secretKey}) SignatureConsumer
Creates a StreamConsumer for generating a signature from a stream.
createVerifyConsumer({required Uint8List signature, required Uint8List publicKey}) VerificationConsumer
Creates a StreamConsumer for verifying a signature from a stream.
detached({required Uint8List message, required SecureKey secretKey}) Uint8List
Provides crypto_sign_detached.
keyPair() KeyPair
Provides crypto_sign_keypair.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open({required Uint8List signedMessage, required Uint8List publicKey}) Uint8List
Provides crypto_sign_open.
seedKeyPair(SecureKey seed) KeyPair
Provides crypto_sign_seed_keypair.
stream({required Stream<Uint8List> messages, required SecureKey secretKey}) Future<Uint8List>
Get the signature from an aynchronous stream of data.
toString() String
A string representation of this object.
inherited
verifyDetached({required Uint8List message, required Uint8List signature, required Uint8List publicKey}) bool
Provides crypto_sign_verify_detached.
verifyStream({required Stream<Uint8List> messages, required Uint8List signature, required Uint8List publicKey}) Future<bool>
Validate the signature from an aynchronous stream of data.

Operators

operator ==(Object other) bool
The equality operator.
inherited