Package org.webpki.cbor
Class CBORAsymKeyDecrypter
Class for asymmetric key decryption.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Decrypter engine implementation interface.static interface
Decrypter private key locator. -
Constructor Summary
ConstructorDescriptionCBORAsymKeyDecrypter
(PrivateKey privateKey) Creates a decrypter object with a private key.CBORAsymKeyDecrypter
(CBORAsymKeyDecrypter.DecrypterImpl decrypterImpl) Creates a decrypter object with a decrypter interface.CBORAsymKeyDecrypter
(CBORAsymKeyDecrypter.KeyLocator keyLocator) Creates a decrypter object with a key locator interface. -
Method Summary
Methods inherited from class org.webpki.cbor.CBORDecrypter
decrypt, setCustomDataPolicy, setTagPolicy
-
Constructor Details
-
CBORAsymKeyDecrypter
Creates a decrypter object with a private key.Uses the Java crypto provider system.
This constructor presumes that the decryption key is given by the context.
- Parameters:
privateKey
- Decryption key
-
CBORAsymKeyDecrypter
Creates a decrypter object with a key locator interface.Uses the Java crypto provider system.
- Parameters:
keyLocator
- Key locator implementation
-
CBORAsymKeyDecrypter
Creates a decrypter object with a decrypter interface.- Parameters:
decrypterImpl
- Decrypter implementation
-