AeadAlgorithm enum
Authenticated-encryption algorithms. id is the HPKE AEAD identifier.
Values
- aes256Gcm → const AeadAlgorithm
-
AES-256-GCM with a 96-bit nonce and 128-bit tag. The default.
const AeadAlgorithm(0x0002, 'AES-256-GCM', 32) - chacha20Poly1305 → const AeadAlgorithm
-
ChaCha20-Poly1305 (RFC 8439).
const AeadAlgorithm(0x0003, 'ChaCha20-Poly1305', 32)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
final
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- keyLength → int
-
final
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - nonceLength → int
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- standardName → String
-
final
- tagLength → int
-
no setter
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
Static Methods
-
fromId(
int id) → AeadAlgorithm
Constants
-
values
→ const List<
AeadAlgorithm> - A constant List of the values in this enum, in order of their declaration.