Package org.webpki.cbor
Class CBORX509Encrypter
java.lang.Object
org.webpki.cbor.CBOREncrypter
org.webpki.cbor.CBORX509Encrypter
Class for X.509 encryption.
-
Constructor Summary
ConstructorDescriptionCBORX509Encrypter
(X509Certificate[] certificatePath, KeyEncryptionAlgorithms keyEncryptionAlgorithm, ContentEncryptionAlgorithms contentEncryptionAlgorithm) Initializes an encrypter object. -
Method Summary
Methods inherited from class org.webpki.cbor.CBOREncrypter
encrypt, setIntercepter, setKeyId, setKeyId, setKeyId
-
Constructor Details
-
CBORX509Encrypter
public CBORX509Encrypter(X509Certificate[] certificatePath, KeyEncryptionAlgorithms keyEncryptionAlgorithm, ContentEncryptionAlgorithms contentEncryptionAlgorithm) Initializes an encrypter object.- Parameters:
certificatePath
- Encryption certificate pathkeyEncryptionAlgorithm
- Key encryption algorithmcontentEncryptionAlgorithm
- Content encryption algorithm
-