KMF class
Key Material Frame
Properties
- ALGORITHM → keyMaterialAlgorithm
-
Algorithm or key family for the key bytes.
no setter
- ENCODING → keyMaterialEncoding
-
Encoding of KEY_BYTES.
no setter
- EXPIRES_AT → int
-
Expiration time in unix milliseconds, or 0 if unbounded.
no setter
- expiresAt → int
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
KEY_BYTES
→ List<
int> ? -
Explicit key bytes when a module must receive them on a port.
This may be field-encrypted using the SDS/da-flatbuffers header-first
encryption flow when transported to a specific recipient.
no setter
- KEY_ID → String?
-
Logical key identifier used across publication and grant records.
no setter
-
keyBytes
→ List<
int> ? -
no setter
- keyId → String?
-
no setter
- ROLE → keyMaterialRole
-
Role the key bytes fulfill for the module flow.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- VERSION → int
-
Logical version of the key material.
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
Static Methods
-
decryptBuffer(
Uint8List bytes, List< int> key, [int recordIndex = 0]) → void - Decrypts, in place, the (encrypted) fields of a KMF buffer with field-encryption format 3 (key: 32 bytes; recordIndex: unique per buffer under the key). Throws ArgumentError, before any byte changes, for a bad key or a malformed buffer.
-
encryptBuffer(
Uint8List bytes, List< int> key, [int recordIndex = 0]) → void - Encrypts, in place, the (encrypted) fields of a KMF buffer with field-encryption format 3 (key: 32 bytes; recordIndex: unique per buffer under the key). Throws ArgumentError, before any byte changes, for a bad key or a malformed buffer.