Interface GordianKeySetAADCipher
- All Superinterfaces:
GordianAEADCipher,GordianCipher,GordianKeySetCipher
KeySet Cipher.
-
Method Summary
Modifier and TypeMethodDescriptionvoidinitForDecrypt(byte[] pInitialAEAD) Initialise the cipher for decryption.voidinitForEncrypt(byte[] pInitialAEAD) Initialise the cipher for encryption.Methods inherited from interface io.github.tonywasher.joceanus.gordianknot.api.cipher.GordianAEADCipher
updateAAD, updateAADMethods inherited from interface io.github.tonywasher.joceanus.gordianknot.api.cipher.GordianCipher
finish, finish, finish, finish, finish, finish, getOutputLength, update, update, update, updateMethods inherited from interface io.github.tonywasher.joceanus.gordianknot.api.keyset.GordianKeySetCipher
initForDecrypt, initForEncrypt
-
Method Details
-
initForEncrypt
Initialise the cipher for encryption.- Parameters:
pInitialAEAD- the initialAEAD- Throws:
GordianException- on error
-
initForDecrypt
Initialise the cipher for decryption.- Parameters:
pInitialAEAD- the initialAEAD- Throws:
GordianException- on error
-