Class CipherAndAuthTag
- java.lang.Object
-
- org.jivesoftware.smackx.omemo.internal.CipherAndAuthTag
-
public class CipherAndAuthTag extends java.lang.ObjectEncapsulate Cipher and AuthTag.
-
-
Constructor Summary
Constructors Constructor Description CipherAndAuthTag(byte[] key, byte[] iv, byte[] authTag, boolean wasPreKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getAuthTag()javax.crypto.CiphergetCipher()byte[]getIv()byte[]getKey()booleanwasPreKeyEncrypted()
-
-
-
Method Detail
-
getCipher
public javax.crypto.Cipher getCipher() throws CryptoFailedException- Throws:
CryptoFailedException
-
getAuthTag
public byte[] getAuthTag()
-
getKey
public byte[] getKey()
-
getIv
public byte[] getIv()
-
wasPreKeyEncrypted
public boolean wasPreKeyEncrypted()
-
-