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 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.bouncycastle.crypto.modes

    Methods in org.bouncycastle.crypto.modes that throw DataLengthException
    Modifier and Type Method Description
    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 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 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 SICBlockCipher.processBlock​(byte[] in, int inOff, byte[] out, int outOff)  
    int AEADBlockCipher.processByte​(byte in, byte[] out, int outOff)
    encrypt/decrypt a single byte.
    int CCMBlockCipher.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 neccessary.
    int GCMBlockCipher.processByte​(byte in, byte[] out, int outOff)  
    int AEADBlockCipher.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 CTSBlockCipher.processBytes​(byte[] in, int inOff, int len, byte[] out, int outOff)
    process an array of bytes, producing output if necessary.
    int GCMBlockCipher.processBytes​(byte[] in, int inOff, int len, byte[] out, int outOff)  
  • 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[] RSADigestSigner.generateSignature()
    Generate a signature for the message we've been loaded with using the key we were initialised with.