Package com.hierynomus.security
Interface AEADBlockCipher
-
- All Known Implementing Classes:
JceAEADCipher
public interface AEADBlockCipher
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
doFinal(byte[] in, int inOffset, int inLength)
void
init(Cipher.CryptMode cryptMode, byte[] bytes, javax.crypto.spec.GCMParameterSpec gcmParameterSpec)
void
reset()
byte[]
update(byte[] in, int inOffset, int inLength)
void
updateAAD(byte[] aad, int aadOffset, int aadLength)
-
-
-
Method Detail
-
init
void init(Cipher.CryptMode cryptMode, byte[] bytes, javax.crypto.spec.GCMParameterSpec gcmParameterSpec) throws SecurityException
- Throws:
SecurityException
-
updateAAD
void updateAAD(byte[] aad, int aadOffset, int aadLength) throws SecurityException
- Throws:
SecurityException
-
update
byte[] update(byte[] in, int inOffset, int inLength) throws SecurityException
- Throws:
SecurityException
-
doFinal
byte[] doFinal(byte[] in, int inOffset, int inLength) throws SecurityException
- Throws:
SecurityException
-
reset
void reset()
-
-