org.bouncycastle.jce.provider
Interface JCEBlockCipher.GenericBlockCipher
- All Known Implementing Classes:
- JCEBlockCipher.AEADGenericBlockCipher, JCEBlockCipher.BufferedGenericBlockCipher
- Enclosing class:
- JCEBlockCipher
private static interface JCEBlockCipher.GenericBlockCipher
init
void init(boolean forEncryption,
CipherParameters params)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
wrapOnNoPadding
boolean wrapOnNoPadding()
getAlgorithmName
java.lang.String getAlgorithmName()
getUnderlyingCipher
BlockCipher getUnderlyingCipher()
getOutputSize
int getOutputSize(int len)
getUpdateOutputSize
int getUpdateOutputSize(int len)
processByte
int processByte(byte in,
byte[] out,
int outOff)
throws DataLengthException
- Throws:
DataLengthException
processBytes
int processBytes(byte[] in,
int inOff,
int len,
byte[] out,
int outOff)
throws DataLengthException
- Throws:
DataLengthException
doFinal
int doFinal(byte[] out,
int outOff)
throws java.lang.IllegalStateException,
InvalidCipherTextException
- Throws:
java.lang.IllegalStateException
InvalidCipherTextException