Returns the method index for CBOR encoding.
Lock (encrypt) a content key using the derived key.
The symmetric key to encrypt
The secret (password or key material) to derive from
The encrypted message containing the locked key
Unlock (decrypt) a content key using the derived key.
The encrypted message containing the locked key
The secret (password or key material) to derive from
The decrypted symmetric key
Convert to CBOR representation.
Convert to CBOR binary data.
Get string representation.
Interface for key derivation implementations.
All key derivation methods must implement this interface to provide lock (encrypt) and unlock (decrypt) operations.