Class CipherAndAuthTag


  • public class CipherAndAuthTag
    extends java.lang.Object
    Encapsulate Cipher and AuthTag.
    • Constructor Summary

      Constructors 
      Constructor Description
      CipherAndAuthTag​(byte[] key, byte[] iv, byte[] authTag, boolean wasPreKey)  
    • Constructor Detail

      • CipherAndAuthTag

        public CipherAndAuthTag​(byte[] key,
                                byte[] iv,
                                byte[] authTag,
                                boolean wasPreKey)
    • Method Detail

      • getAuthTag

        public byte[] getAuthTag()
      • getKey

        public byte[] getKey()
      • getIv

        public byte[] getIv()
      • wasPreKeyEncrypted

        public boolean wasPreKeyEncrypted()