ENC class

Encryption Header containing all parameters needed for decryption

Constructors

ENC(List<int> bytes)
factory

Properties

CONTEXT → String?
Optional domain separation context string
no setter
EPHEMERAL_PUBLIC_KEY → List<int>?
Ephemeral public key for ECDH key agreement (32-65 bytes depending on algorithm)
no setter
ephemeralPublicKey → List<int>?
no setter
hashCode → int
The hash code for this object.
no setterinherited
KEY_DERIVATION → KDF
Key derivation function used
no setter
KEY_EXCHANGE → KeyExchange
Key exchange algorithm used
no setter
keyDerivation → KDF
no setter
keyExchange → KeyExchange
no setter
NONCE_START → List<int>?
Random 12-byte nonce starting value. Incremented for each record in the stream to ensure unique nonces.
no setter
nonceStart → List<int>?
no setter
RECIPIENT_KEY_ID → List<int>?
Optional identifier for the recipient's public key (up to 32 bytes)
no setter
recipientKeyId → List<int>?
no setter
ROOT_TYPE → String?
Optional root type name from the schema
no setter
rootType → String?
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
SCHEMA_HASH → List<int>?
Optional SHA-256 hash of the FlatBuffers schema (32 bytes)
no setter
schemaHash → List<int>?
no setter
SYMMETRIC → SymmetricAlgo
Symmetric encryption algorithm used
no setter
TIMESTAMP → int
Optional Unix timestamp (milliseconds) when encryption was performed
no setter
VERSION → int
Schema version for forward compatibility
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.
override

Operators

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

Constants

reader → const Reader<ENC>