Uses of Class
org.gudy.bouncycastle.crypto.DataLengthException
Packages that use DataLengthException
Package
Description
Modes for symmetric ciphers.
-
Uses of DataLengthException in org.gudy.bouncycastle.crypto
Subclasses of DataLengthException in org.gudy.bouncycastle.cryptoMethods in org.gudy.bouncycastle.crypto that throw DataLengthExceptionModifier and TypeMethodDescriptionintBufferedBlockCipher.doFinal(byte[] out, int outOff) Process the last block in the buffer.intMac.doFinal(byte[] out, int outOff) Compute the final statge of the MAC writing the output to the out parameter.intDerivationFunction.generateBytes(byte[] out, int outOff, int len) intBlockCipher.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.intBufferedBlockCipher.processByte(byte in, byte[] out, int outOff) process a single byte, producing an output block if neccessary.intBufferedBlockCipher.processBytes(byte[] in, int inOff, int len, byte[] out, int outOff) process an array of bytes, producing output if necessary.voidStreamBlockCipher.processBytes(byte[] in, int inOff, int len, byte[] out, int outOff) process a block of bytes from in putting the result into out.voidStreamCipher.processBytes(byte[] in, int inOff, int len, byte[] out, int outOff) process a block of bytes from in putting the result into out.voidMac.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 DataLengthExceptionModifier and TypeMethodDescriptionintBaseKDFBytesGenerator.generateBytes(byte[] out, int outOff, int len) fill len bytes of the output buffer with bytes generated from the derivation function.intMGF1BytesGenerator.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 DataLengthExceptionModifier and TypeMethodDescriptionprivate intCBCBlockCipher.decryptBlock(byte[] in, int inOff, byte[] out, int outOff) Do the appropriate chaining step for CBC mode decryption.intCFBBlockCipher.decryptBlock(byte[] in, int inOff, byte[] out, int outOff) Do the appropriate processing for CFB mode decryption.private intOpenPGPCFBBlockCipher.decryptBlock(byte[] in, int inOff, byte[] out, int outOff) Do the appropriate processing for CFB IV mode decryption.private intPGPCFBBlockCipher.decryptBlock(byte[] in, int inOff, byte[] out, int outOff) Do the appropriate processing for CFB mode decryption.private intPGPCFBBlockCipher.decryptBlockWithIV(byte[] in, int inOff, byte[] out, int outOff) Do the appropriate processing for CFB IV mode decryption.intCTSBlockCipher.doFinal(byte[] out, int outOff) Process the last block in the buffer.intPaddedBlockCipher.doFinal(byte[] out, int outOff) Deprecated.Process the last block in the buffer.private intCBCBlockCipher.encryptBlock(byte[] in, int inOff, byte[] out, int outOff) Do the appropriate chaining step for CBC mode encryption.intCFBBlockCipher.encryptBlock(byte[] in, int inOff, byte[] out, int outOff) Do the appropriate processing for CFB mode encryption.private intOpenPGPCFBBlockCipher.encryptBlock(byte[] in, int inOff, byte[] out, int outOff) Do the appropriate processing for CFB IV mode encryption.private intPGPCFBBlockCipher.encryptBlock(byte[] in, int inOff, byte[] out, int outOff) Do the appropriate processing for CFB mode encryption.private intPGPCFBBlockCipher.encryptBlockWithIV(byte[] in, int inOff, byte[] out, int outOff) Do the appropriate processing for CFB IV mode encryption.intCBCBlockCipher.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.intCFBBlockCipher.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.intOFBBlockCipher.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.intOpenPGPCFBBlockCipher.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.intPGPCFBBlockCipher.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.intSICBlockCipher.processBlock(byte[] in, int inOff, byte[] out, int outOff) intCTSBlockCipher.processByte(byte in, byte[] out, int outOff) process a single byte, producing an output block if neccessary.intPaddedBlockCipher.processByte(byte in, byte[] out, int outOff) Deprecated.process a single byte, producing an output block if neccessary.intCTSBlockCipher.processBytes(byte[] in, int inOff, int len, byte[] out, int outOff) process an array of bytes, producing output if necessary.intPaddedBlockCipher.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 DataLengthExceptionModifier and TypeMethodDescriptionintPaddedBufferedBlockCipher.doFinal(byte[] out, int outOff) Process the last block in the buffer.intPaddedBufferedBlockCipher.processByte(byte in, byte[] out, int outOff) process a single byte, producing an output block if neccessary.intPaddedBufferedBlockCipher.processBytes(byte[] in, int inOff, int len, byte[] out, int outOff) process an array of bytes, producing output if necessary.