Class JSONAsymKeyEncrypter

java.lang.Object
org.webpki.json.JSONEncrypter
org.webpki.json.JSONAsymKeyEncrypter

public class JSONAsymKeyEncrypter extends JSONEncrypter
Initiator object for asymmetric key encryptions.
  • Constructor Details

    • JSONAsymKeyEncrypter

      public JSONAsymKeyEncrypter(PublicKey publicKey, KeyEncryptionAlgorithms keyEncryptionAlgorithm)
      Constructor for JCE based solutions.
      Parameters:
      publicKey - Public key used for encrypting the key
      keyEncryptionAlgorithm - The algorithm used for encrypting the key