Package org.webpki.json
Class JSONDecryptionDecoder.DecryptionKeyHolder
java.lang.Object
org.webpki.json.JSONDecryptionDecoder.DecryptionKeyHolder
- Enclosing class:
JSONDecryptionDecoder
JEF (JSON Encryption Format) support.
This class can be used for automatically selecting the proper asymmetric private key
to use for decryption among a set of possible keys.
-
Constructor Summary
ConstructorDescriptionDecryptionKeyHolder
(PublicKey publicKey, PrivateKey privateKey, KeyEncryptionAlgorithms keyEncryptionAlgorithm, String optionalKeyId) -
Method Summary
-
Constructor Details
-
DecryptionKeyHolder
public DecryptionKeyHolder(PublicKey publicKey, PrivateKey privateKey, KeyEncryptionAlgorithms keyEncryptionAlgorithm, String optionalKeyId)
-
-
Method Details
-
getPublicKey
-
getPrivateKey
-
getKeyId
-
getKeyEncryptionAlgorithm
-