Uses of Class
org.bouncycastle.crypto.DataLengthException
-
-
Uses of DataLengthException in org.bouncycastle.crypto
Subclasses of DataLengthException in org.bouncycastle.crypto Modifier and Type Class Description class
OutputLengthException
Methods in org.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 stage of the MAC writing the output to the out parameter.int
DerivationFunction. generateBytes(byte[] out, int outOff, int len)
byte[]
Signer. generateSignature()
generate a signature for the message we've been loaded with using the key we were initialised with.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 necessary.int
BufferedBlockCipher. processBytes(byte[] in, int inOff, int len, byte[] out, int outOff)
process an array of bytes, producing output if necessary.int
StreamBlockCipher. processBytes(byte[] in, int inOff, int len, byte[] out, int outOff)
int
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.bouncycastle.crypto.agreement.kdf
Methods in org.bouncycastle.crypto.agreement.kdf that throw DataLengthException Modifier and Type Method Description int
ConcatenationKDFGenerator. generateBytes(byte[] out, int outOff, int len)
fill len bytes of the output buffer with bytes generated from the derivation function.int
DHKEKGenerator. generateBytes(byte[] out, int outOff, int len)
int
ECDHKEKGenerator. generateBytes(byte[] out, int outOff, int len)
int
GSKKFDGenerator. generateBytes(byte[] out, int outOff, int len)
-
Uses of DataLengthException in org.bouncycastle.crypto.engines
Methods in org.bouncycastle.crypto.engines that throw DataLengthException Modifier and Type Method Description int
EthereumIESEngine.HandshakeKDFFunction. generateBytes(byte[] out, int outOff, int len)
fill len bytes of the output buffer with bytes generated from the derivation function.int
ARIAEngine. processBlock(byte[] in, int inOff, byte[] out, int outOff)
int
CamelliaEngine. processBlock(byte[] in, int inOff, byte[] out, int outOff)
int
DSTU7624Engine. processBlock(byte[] in, int inOff, byte[] out, int outOff)
int
GOST3412_2015Engine. processBlock(byte[] in, int inOff, byte[] out, int outOff)
int
NullEngine. processBlock(byte[] in, int inOff, byte[] out, int outOff)
int
SEEDEngine. processBlock(byte[] in, int inOff, byte[] out, int outOff)
int
Shacal2Engine. processBlock(byte[] in, int inOffset, byte[] out, int outOffset)
int
SM4Engine. processBlock(byte[] in, int inOff, byte[] out, int outOff)
int
ThreefishEngine. processBlock(byte[] in, int inOff, byte[] out, int outOff)
int
ThreefishEngine. processBlock(long[] in, long[] out)
Process a block of data represented as 64 bit words.int
Grain128Engine. processBytes(byte[] in, int inOff, int len, byte[] out, int outOff)
int
Grainv1Engine. processBytes(byte[] in, int inOff, int len, byte[] out, int outOff)
int
HC128Engine. processBytes(byte[] in, int inOff, int len, byte[] out, int outOff)
int
HC256Engine. processBytes(byte[] in, int inOff, int len, byte[] out, int outOff)
-
Uses of DataLengthException in org.bouncycastle.crypto.generators
Methods in org.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
HKDFBytesGenerator. generateBytes(byte[] out, int outOff, int len)
int
KDFCounterBytesGenerator. generateBytes(byte[] out, int outOff, int len)
int
KDFDoublePipelineIterationBytesGenerator. generateBytes(byte[] out, int outOff, int len)
int
KDFFeedbackBytesGenerator. generateBytes(byte[] out, int outOff, int len)
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.bouncycastle.crypto.macs
Methods in org.bouncycastle.crypto.macs that throw DataLengthException Modifier and Type Method Description int
DSTU7564Mac. doFinal(byte[] out, int outOff)
int
DSTU7624Mac. doFinal(byte[] out, int outOff)
int
GMac. doFinal(byte[] out, int outOff)
int
GOST28147Mac. doFinal(byte[] out, int outOff)
int
KGMac. doFinal(byte[] out, int outOff)
int
KMAC. doFinal(byte[] out, int outOff)
int
Poly1305. doFinal(byte[] out, int outOff)
long
SipHash. doFinal()
int
SipHash. doFinal(byte[] out, int outOff)
long
SipHash128. doFinal()
int
SipHash128. doFinal(byte[] out, int outOff)
int
VMPCMac. doFinal(byte[] out, int outOff)
void
DSTU7564Mac. update(byte[] in, int inOff, int len)
void
GMac. update(byte[] in, int inOff, int len)
void
GOST28147Mac. update(byte[] in, int inOff, int len)
void
KGMac. update(byte[] in, int inOff, int len)
void
KMAC. update(byte[] in, int inOff, int len)
void
Poly1305. update(byte[] in, int inOff, int len)
void
SipHash. update(byte[] input, int offset, int length)
void
VMPCMac. update(byte[] in, int inOff, int len)
-
Uses of DataLengthException in org.bouncycastle.crypto.modes
Methods in org.bouncycastle.crypto.modes that throw DataLengthException Modifier and Type Method Description protected byte
CFBBlockCipher. calculateByte(byte in)
protected byte
OFBBlockCipher. calculateByte(byte in)
protected byte
SICBlockCipher. calculateByte(byte in)
int
CFBBlockCipher. decryptBlock(byte[] in, int inOff, byte[] out, int outOff)
Do the appropriate processing for CFB mode decryption.int
CTSBlockCipher. doFinal(byte[] out, int outOff)
Process the last block in the buffer.int
NISTCTSBlockCipher. doFinal(byte[] out, int outOff)
Process the last block in the buffer.int
OldCTSBlockCipher. 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.int
CFBBlockCipher. encryptBlock(byte[] in, int inOff, byte[] out, int outOff)
Do the appropriate processing for CFB 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
G3413CBCBlockCipher. processBlock(byte[] in, int inOff, byte[] out, int outOff)
int
G3413CFBBlockCipher. processBlock(byte[] in, int inOff, byte[] out, int outOff)
int
G3413CTRBlockCipher. 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
G3413OFBBlockCipher. processBlock(byte[] in, int inOff, byte[] out, int outOff)
int
GCFBBlockCipher. processBlock(byte[] in, int inOff, byte[] out, int outOff)
int
GOFBBlockCipher. 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
KCTRBlockCipher. processBlock(byte[] in, int inOff, byte[] out, int outOff)
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
AEADCipher. processByte(byte in, byte[] out, int outOff)
encrypt/decrypt a single byte.int
CCMBlockCipher. processByte(byte in, byte[] out, int outOff)
int
ChaCha20Poly1305. processByte(byte in, byte[] out, int outOff)
int
CTSBlockCipher. processByte(byte in, byte[] out, int outOff)
process a single byte, producing an output block if necessary.int
EAXBlockCipher. processByte(byte in, byte[] out, int outOff)
int
GCMBlockCipher. processByte(byte in, byte[] out, int outOff)
int
KCCMBlockCipher. processByte(byte in, byte[] out, int outOff)
int
KGCMBlockCipher. processByte(byte in, byte[] out, int outOff)
int
NISTCTSBlockCipher. processByte(byte in, byte[] out, int outOff)
process a single byte, producing an output block if necessary.int
OCBBlockCipher. processByte(byte input, byte[] output, int outOff)
int
OldCTSBlockCipher. processByte(byte in, byte[] out, int outOff)
process a single byte, producing an output block if necessary.int
PaddedBlockCipher. processByte(byte in, byte[] out, int outOff)
Deprecated.process a single byte, producing an output block if neccessary.int
AEADCipher. processBytes(byte[] in, int inOff, int len, byte[] out, int outOff)
process a block of bytes from in putting the result into out.int
CCMBlockCipher. processBytes(byte[] in, int inOff, int inLen, byte[] out, int outOff)
int
ChaCha20Poly1305. processBytes(byte[] in, int inOff, int len, byte[] out, int outOff)
int
CTSBlockCipher. processBytes(byte[] in, int inOff, int len, byte[] out, int outOff)
process an array of bytes, producing output if necessary.int
EAXBlockCipher. processBytes(byte[] in, int inOff, int len, byte[] out, int outOff)
int
GCMBlockCipher. processBytes(byte[] in, int inOff, int len, byte[] out, int outOff)
int
KCCMBlockCipher. processBytes(byte[] in, int inOff, int inLen, byte[] out, int outOff)
int
KGCMBlockCipher. processBytes(byte[] in, int inOff, int inLen, byte[] out, int outOff)
int
NISTCTSBlockCipher. processBytes(byte[] in, int inOff, int len, byte[] out, int outOff)
process an array of bytes, producing output if necessary.int
OCBBlockCipher. processBytes(byte[] input, int inOff, int len, byte[] output, int outOff)
int
OldCTSBlockCipher. 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.int
CCMBlockCipher. processPacket(byte[] in, int inOff, int inLen, byte[] output, int outOff)
Process a packet of data for either CCM decryption or encryption. -
Uses of DataLengthException in org.bouncycastle.crypto.paddings
Methods in org.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. -
Uses of DataLengthException in org.bouncycastle.crypto.signers
Methods in org.bouncycastle.crypto.signers that throw DataLengthException Modifier and Type Method Description byte[]
GenericSigner. generateSignature()
Generate a signature for the message we've been loaded with using the key we were initialised with.byte[]
PSSSigner. generateSignature()
generate a signature for the message we've been loaded with using the key we were initialised with.byte[]
RSADigestSigner. generateSignature()
Generate a signature for the message we've been loaded with using the key we were initialised with. -
Uses of DataLengthException in org.bouncycastle.jce.provider
Methods in org.bouncycastle.jce.provider that throw DataLengthException Modifier and Type Method Description int
BrokenKDF2BytesGenerator. generateBytes(byte[] out, int outOff, int len)
fill len bytes of the output buffer with bytes generated from the derivation function.
-