Class CBORAsymKeyDecrypter


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

    • CBORAsymKeyDecrypter

      public CBORAsymKeyDecrypter(PrivateKey privateKey)
      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

      public CBORAsymKeyDecrypter(CBORAsymKeyDecrypter.KeyLocator keyLocator)
      Creates a decrypter object with a key locator interface.

      Uses the Java crypto provider system.

      Parameters:
      keyLocator - Key locator implementation
    • CBORAsymKeyDecrypter

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