Package org.webpki.cbor
Class CBORAsymKeyDecrypter
java.lang.Object
org.webpki.cbor.CBORDecrypter
org.webpki.cbor.CBORAsymKeyDecrypter
Class for asymmetric key decryption.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Decrypter engine implementation interface. -
Constructor Summary
ConstructorDescriptionCBORAsymKeyDecrypter
(PrivateKey privateKey) Initializes a decrypter with a private key.CBORAsymKeyDecrypter
(CBORAsymKeyDecrypter.DecrypterImpl decrypterImpl) Initializes a decrypter with a decrypter interface. -
Method Summary
Methods inherited from class org.webpki.cbor.CBORDecrypter
decrypt, setCustomDataPolicy, setTagPolicy
-
Constructor Details
-
CBORAsymKeyDecrypter
Initializes a decrypter with a private key.This constructor presumes that the decryption key is given by the context.
- Parameters:
privateKey
- Decryption key
-
CBORAsymKeyDecrypter
Initializes a decrypter with a decrypter interface.- Parameters:
decrypterImpl
- Decrypter implementation
-