Interface AEADBlockCipher
- All Known Implementing Classes:
BCAEADCipherFactory.BCAEADBlockCipher, JceAEADCipher
public interface AEADBlockCipher
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]doFinal(byte[] in, int inOffset, int inLength) voidinit(Cipher.CryptMode cryptMode, byte[] bytes, GCMParameterSpec gcmParameterSpec) voidreset()byte[]update(byte[] in, int inOffset, int inLength) voidupdateAAD(byte[] aad, int aadOffset, int aadLength)
-
Method Details
-
init
void init(Cipher.CryptMode cryptMode, byte[] bytes, GCMParameterSpec gcmParameterSpec) throws SecurityException - Throws:
SecurityException
-
updateAAD
- Throws:
SecurityException
-
update
- Throws:
SecurityException
-
doFinal
- Throws:
SecurityException
-
reset
void reset()
-