EncryptedEnvelope class final
A parsed, structurally validated encrypted envelope. Immutable.
Parsing checks structure only; authenticity is established by decryption.
Properties
- aead → AeadAlgorithm
-
The AEAD protecting the payload and the wrapped keys.
final
-
context
→ Map<
String, String> -
The authenticated application context. Not secret, and not proof of
who created the envelope.
final
- formatVersion → int
-
The wire-format version of this envelope (see doc/FORMATS.md).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- kdf → KdfAlgorithm
-
The KDF used for key wrapping (always HKDF-SHA-384).
final
- payloadLength → int
-
Plaintext length in bytes.
no setter
-
recipients
→ List<
EnvelopeRecipient> -
The recipients able to decrypt this envelope.
no setter
- 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
-
toBytes(
) → Bytes - The canonical binary serialization (a copy).
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited