Class CBORSymKeyEncrypter

java.lang.Object
org.webpki.cbor.CBOREncrypter
org.webpki.cbor.CBORSymKeyEncrypter

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

    • CBORSymKeyEncrypter

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