Class CBORAsymKeyDecrypter

java.lang.Object
org.webpki.cbor.CBORDecrypter
org.webpki.cbor.CBORAsymKeyDecrypter

public class CBORAsymKeyDecrypter extends CBORDecrypter
Class for asymmetric key decryption.
  • Constructor Details

    • CBORAsymKeyDecrypter

      public CBORAsymKeyDecrypter(PrivateKey privateKey)
      Initializes a decrypter with a private key.

      This constructor presumes that the decryption key is given by the context.

      Parameters:
      privateKey - Decryption key
    • CBORAsymKeyDecrypter

      public CBORAsymKeyDecrypter(CBORAsymKeyDecrypter.DecrypterImpl decrypterImpl)
      Initializes a decrypter with a decrypter interface.
      Parameters:
      decrypterImpl - Decrypter implementation