Class CBORSymKeyEncrypter


public class CBORSymKeyEncrypter extends CBOREncrypter<CBORSymKeyEncrypter>
Class for symmetric key encryption.
  • Constructor Details

    • CBORSymKeyEncrypter

      public CBORSymKeyEncrypter(byte[] secretKey, ContentEncryptionAlgorithms algorithm)
      Creates an encrypter object with a secret key.
      Parameters:
      secretKey - Encryption key
      algorithm - Encryption algorithm