Class CBORSymKeyDecrypter


public class CBORSymKeyDecrypter extends CBORDecrypter<CBORSymKeyDecrypter>
Class for symmetric key decryption.
  • Constructor Details

    • CBORSymKeyDecrypter

      public CBORSymKeyDecrypter(byte[] secretKey)
      Creates a decrypter object with a secret key.

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

      Parameters:
      secretKey - Decryption key
    • CBORSymKeyDecrypter

      public CBORSymKeyDecrypter(CBORSymKeyDecrypter.KeyLocator keyLocator)
      Creates a decrypter object with a key locator.
      Parameters:
      keyLocator - DecrypterImpl implementation