Uses of Class
org.gudy.bouncycastle.crypto.DataLengthException
-
Packages that use DataLengthException Package Description org.gudy.bouncycastle.crypto org.gudy.bouncycastle.crypto.generators org.gudy.bouncycastle.crypto.modes Modes for symmetric ciphers.org.gudy.bouncycastle.crypto.paddings -
-
Uses of DataLengthException in org.gudy.bouncycastle.crypto
Subclasses of DataLengthException in org.gudy.bouncycastle.crypto Modifier and Type Class Description class
OutputLengthException
Methods in org.gudy.bouncycastle.crypto that throw DataLengthException Modifier and Type Method Description int
BufferedBlockCipher. doFinal(byte[] out, int outOff)
Process the last block in the buffer.int
Mac. doFinal(byte[] out, int outOff)
Compute the final statge of the MAC writing the output to the out parameter.int
DerivationFunction. generateBytes(byte[] out, int outOff, int len)
int
BlockCipher. processBlock(byte[] in, int inOff, byte[] out, int outOff)
Process one block of input from the array in and write it to the out array.int
BufferedBlockCipher. processByte(byte in, byte[] out, int outOff)
process a single byte, producing an output block if neccessary.int
BufferedBlockCipher. processBytes(byte[] in, int inOff, int len, byte[] out, int outOff)
process an array of bytes, producing output if necessary.void
StreamBlockCipher. processBytes(byte[] in, int inOff, int len, byte[] out, int outOff)
process a block of bytes from in putting the result into out.void
StreamCipher. processBytes(byte[] in, int inOff, int len, byte[] out, int outOff)
process a block of bytes from in putting the result into out.void
Mac. update(byte[] in, int inOff, int len)
-
Uses of DataLengthException in org.gudy.bouncycastle.crypto.generators
Methods in org.gudy.bouncycastle.crypto.generators that throw DataLengthException Modifier and Type Method Description int
BaseKDFBytesGenerator. generateBytes(byte[] out, int outOff, int len)
fill len bytes of the output buffer with bytes generated from the derivation function.int
MGF1BytesGenerator. generateBytes(byte[] out, int outOff, int len)
fill len bytes of the output buffer with bytes generated from the derivation function. -
Uses of DataLengthException in org.gudy.bouncycastle.crypto.modes
Methods in org.gudy.bouncycastle.crypto.modes that throw DataLengthException Modifier and Type Method Description private int
CBCBlockCipher. decryptBlock(byte[] in, int inOff, byte[] out, int outOff)
Do the appropriate chaining step for CBC mode decryption.int
CFBBlockCipher. decryptBlock(byte[] in, int inOff, byte[] out, int outOff)
Do the appropriate processing for CFB mode decryption.private int
OpenPGPCFBBlockCipher. decryptBlock(byte[] in, int inOff, byte[] out, int outOff)
Do the appropriate processing for CFB IV mode decryption.private int
PGPCFBBlockCipher. decryptBlock(byte[] in, int inOff, byte[] out, int outOff)
Do the appropriate processing for CFB mode decryption.private int
PGPCFBBlockCipher. decryptBlockWithIV(byte[] in, int inOff, byte[] out, int outOff)
Do the appropriate processing for CFB IV mode decryption.int
CTSBlockCipher. doFinal(byte[] out, int outOff)
Process the last block in the buffer.int
PaddedBlockCipher. doFinal(byte[] out, int outOff)
Deprecated.Process the last block in the buffer.private int
CBCBlockCipher. encryptBlock(byte[] in, int inOff, byte[] out, int outOff)
Do the appropriate chaining step for CBC mode encryption.int
CFBBlockCipher. encryptBlock(byte[] in, int inOff, byte[] out, int outOff)
Do the appropriate processing for CFB mode encryption.private int
OpenPGPCFBBlockCipher. encryptBlock(byte[] in, int inOff, byte[] out, int outOff)
Do the appropriate processing for CFB IV mode encryption.private int
PGPCFBBlockCipher. encryptBlock(byte[] in, int inOff, byte[] out, int outOff)
Do the appropriate processing for CFB mode encryption.private int
PGPCFBBlockCipher. encryptBlockWithIV(byte[] in, int inOff, byte[] out, int outOff)
Do the appropriate processing for CFB IV mode encryption.int
CBCBlockCipher. processBlock(byte[] in, int inOff, byte[] out, int outOff)
Process one block of input from the array in and write it to the out array.int
CFBBlockCipher. processBlock(byte[] in, int inOff, byte[] out, int outOff)
Process one block of input from the array in and write it to the out array.int
OFBBlockCipher. processBlock(byte[] in, int inOff, byte[] out, int outOff)
Process one block of input from the array in and write it to the out array.int
OpenPGPCFBBlockCipher. processBlock(byte[] in, int inOff, byte[] out, int outOff)
Process one block of input from the array in and write it to the out array.int
PGPCFBBlockCipher. processBlock(byte[] in, int inOff, byte[] out, int outOff)
Process one block of input from the array in and write it to the out array.int
SICBlockCipher. processBlock(byte[] in, int inOff, byte[] out, int outOff)
int
CTSBlockCipher. processByte(byte in, byte[] out, int outOff)
process a single byte, producing an output block if neccessary.int
PaddedBlockCipher. processByte(byte in, byte[] out, int outOff)
Deprecated.process a single byte, producing an output block if neccessary.int
CTSBlockCipher. processBytes(byte[] in, int inOff, int len, byte[] out, int outOff)
process an array of bytes, producing output if necessary.int
PaddedBlockCipher. processBytes(byte[] in, int inOff, int len, byte[] out, int outOff)
Deprecated.process an array of bytes, producing output if necessary. -
Uses of DataLengthException in org.gudy.bouncycastle.crypto.paddings
Methods in org.gudy.bouncycastle.crypto.paddings that throw DataLengthException Modifier and Type Method Description int
PaddedBufferedBlockCipher. doFinal(byte[] out, int outOff)
Process the last block in the buffer.int
PaddedBufferedBlockCipher. processByte(byte in, byte[] out, int outOff)
process a single byte, producing an output block if neccessary.int
PaddedBufferedBlockCipher. processBytes(byte[] in, int inOff, int len, byte[] out, int outOff)
process an array of bytes, producing output if necessary.
-