Package org.webpki.cbor
Class CBORSymKeyEncrypter
Class for symmetric key encryption.
-
Constructor Summary
ConstructorDescriptionCBORSymKeyEncrypter
(byte[] secretKey, ContentEncryptionAlgorithms algorithm) Creates an encrypter object with a secret key. -
Method Summary
Methods inherited from class org.webpki.cbor.CBOREncrypter
encrypt, setIntercepter, setKeyId
-
Constructor Details
-
CBORSymKeyEncrypter
Creates an encrypter object with a secret key.- Parameters:
secretKey
- Encryption keyalgorithm
- Encryption algorithm
-