Package org.webpki.cbor
Class CBORSymKeyDecrypter
Class for symmetric key decryption.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Interface for dynamic key retrieval. -
Constructor Summary
ConstructorDescriptionCBORSymKeyDecrypter
(byte[] secretKey) Creates a decrypter object with a secret key.CBORSymKeyDecrypter
(CBORSymKeyDecrypter.KeyLocator keyLocator) Creates a decrypter object with a key locator. -
Method Summary
Methods inherited from class org.webpki.cbor.CBORDecrypter
decrypt, setCustomDataPolicy, setTagPolicy
-
Constructor Details
-
CBORSymKeyDecrypter
public CBORSymKeyDecrypter(byte[] secretKey) Creates a decrypter object with a secret key.This constructor presumes that the decryption key is given by the context.
- Parameters:
secretKey
- Decryption key
-
CBORSymKeyDecrypter
Creates a decrypter object with a key locator.- Parameters:
keyLocator
- DecrypterImpl implementation
-