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