HkdfEnc class
Encryption context of the encrypted handshake (docs/protocol.md section 6.1).
key names the shared enigma; info follows the pre-agreed formula (both sides derive it from the bid instead of transmitting it); salt/nonce are fresh randoms; aad carries the encryption time as binary (transmitted Base64-encoded, tag-authenticated); tag/ciphertext are filled in by the encryption.
Constructors
Properties
- aad → Uint8List
-
final
- ciphertext ↔ Uint8List?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- info → Uint8List
-
final
- key → String
-
final
- nonce → Uint8List
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- salt → Uint8List
-
final
- tag ↔ Uint8List?
-
getter/setter pair
- time → DateTime
-
The encryption time carried by aad.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDict(
) → Map< String, String> - Serialise into the wire bundle ('enigma' field, docs/protocol.md section 6.1).
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited