public class BaseCBCCipher extends BaseCipher
Cipher.Modemode| Constructor and Description |
|---|
BaseCBCCipher(int ivsize,
int authSize,
int kdfSize,
String algorithm,
int keySize,
String transformation,
int blkSize) |
| Modifier and Type | Method and Description |
|---|---|
protected AlgorithmParameterSpec |
determineNewParameters(byte[] processed,
int offset,
int length) |
void |
update(byte[] input,
int inputOffset,
int inputLen)
Performs in-place encryption or decryption on the given data.
|
createCipherInstance, getAlgorithm, getAuthenticationTagSize, getCipherBlockSize, getCipherInstance, getIVSize, getKdfSize, getKeySize, getTransformation, init, initializeIVData, initializeKeyData, reInit, resize, toString, updateAADclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcheckSupported, update, updateAAD, updateWithAADpublic void update(byte[] input,
int inputOffset,
int inputLen)
throws Exception
Cipherupdate in interface Cipherupdate in class BaseCipherinput - The input/output bytesinputOffset - The offset of the data in the data bufferinputLen - The number of bytes to update, starting at the given offset; must be a multiple of the
cipher's block sizeException - If failed to executeprotected AlgorithmParameterSpec determineNewParameters(byte[] processed, int offset, int length)
determineNewParameters in class BaseCipherCopyright © 2018–2024 The Apache Software Foundation. All rights reserved.