Package org.webpki.json
Class JSONAsymKeyEncrypter
java.lang.Object
org.webpki.json.JSONEncrypter
org.webpki.json.JSONAsymKeyEncrypter
Initiator object for asymmetric key encryptions.
-
Constructor Summary
ConstructorDescriptionJSONAsymKeyEncrypter
(PublicKey publicKey, KeyEncryptionAlgorithms keyEncryptionAlgorithm) Constructor for JCE based solutions. -
Method Summary
Methods inherited from class org.webpki.json.JSONEncrypter
setExtensions, setKeyId, setOutputPublicKeyInfo
-
Constructor Details
-
JSONAsymKeyEncrypter
Constructor for JCE based solutions.- Parameters:
publicKey
- Public key used for encrypting the keykeyEncryptionAlgorithm
- The algorithm used for encrypting the key
-