ENC class
Encryption Header containing all parameters needed for decryption
Properties
-
AUTH_TAG
→ List<
int> ? -
AEAD authentication tag: 16 bytes for AES_256_GCM. ABSENT for
AES_256_CTR, which is not authenticated.
no setter
-
authTag
→ List<
int> ? -
no setter
- 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).
For X25519_MLKEM768 this is the 32-byte X25519 ephemeral public key. For
the pure ML-KEM exchanges (MLKEM768, MLKEM1024) it is an EMPTY vector,
still written because the field is required.
no setter
-
ephemeralPublicKey
→ List<
int> ? -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
KEM_CIPHERTEXT
→ List<
int> ? -
ML-KEM ciphertext (FIPS 203) encapsulated to the recipient's public key:
1088 bytes for ML-KEM-768 (X25519_MLKEM768, MLKEM768), 1568 bytes for
ML-KEM-1024 (MLKEM1024). ABSENT for the classical exchanges.
no setter
-
kemCiphertext
→ List<
int> ? -
no setter
- 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