public class CipherAndAuthTag
extends java.lang.Object
| Constructor and Description |
|---|
CipherAndAuthTag(byte[] key,
byte[] iv,
byte[] authTag,
boolean wasPreKey) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getAuthTag() |
javax.crypto.Cipher |
getCipher() |
byte[] |
getIv() |
byte[] |
getKey() |
boolean |
wasPreKeyEncrypted() |
public CipherAndAuthTag(byte[] key,
byte[] iv,
byte[] authTag,
boolean wasPreKey)
public javax.crypto.Cipher getCipher()
throws CryptoFailedException
CryptoFailedExceptionpublic byte[] getAuthTag()
public byte[] getKey()
public byte[] getIv()
public boolean wasPreKeyEncrypted()