SecretStreamMessageTag enum

Enum type for the different tags that can be passed to sent messages.

See https://libsodium.gitbook.io/doc/secret-key_cryptography/secretstream#constants

Inheritance

Constructors

SecretStreamMessageTag()
const

Values

message → const SecretStreamMessageTag

Provides crypto_secretstream_xchacha20poly1305_TAG_MESSAGE.

See https://libsodium.gitbook.io/doc/secret-key_cryptography/secretstream#constants

push → const SecretStreamMessageTag

Provides crypto_secretstream_xchacha20poly1305_TAG_PUSH.

See https://libsodium.gitbook.io/doc/secret-key_cryptography/secretstream#constants

finalPush → const SecretStreamMessageTag

Provides crypto_secretstream_xchacha20poly1305_TAG_FINAL.

See https://libsodium.gitbook.io/doc/secret-key_cryptography/secretstream#constants

rekey → const SecretStreamMessageTag

Provides crypto_secretstream_xchacha20poly1305_TAG_REKEY.

See https://libsodium.gitbook.io/doc/secret-key_cryptography/secretstream#constants

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<SecretStreamMessageTag>
A constant List of the values in this enum, in order of their declaration.