Package com.hierynomus.security
Interface AEADBlockCipher
- All Known Implementing Classes:
BCAEADCipherFactory.BCAEADBlockCipher
,JceAEADCipher
public interface AEADBlockCipher
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
doFinal
(byte[] in, int inOffset, int inLength) void
init
(Cipher.CryptMode cryptMode, byte[] bytes, GCMParameterSpec gcmParameterSpec) void
reset()
byte[]
update
(byte[] in, int inOffset, int inLength) void
updateAAD
(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()
-