Uses of Class
org.bouncycastle.crypto.internal.DataLengthException

Packages that use DataLengthException
  • Uses of DataLengthException in org.bouncycastle.crypto.internal

    Modifier and Type
    Class
    Description
    class 
     
    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[]
    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.
    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.internal.macs

    Modifier and Type
    Method
    Description
    int
    AEADCipherMac.doFinal(byte[] out, int outOff)
     
    int
    GMac.doFinal(byte[] out, int outOff)
     
    int
    TruncatingMac.doFinal(byte[] out, int outOff)
     
    void
    AEADCipherMac.update(byte[] in, int inOff, int len)
     
    void
    GMac.update(byte[] in, int inOff, int len)
     
    void
    TruncatingMac.update(byte[] in, int inOff, int len)
     
  • Uses of DataLengthException in org.bouncycastle.crypto.internal.modes

    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
    NISTCTSBlockCipher.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
    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
    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
    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
    EAXBlockCipher.processByte(byte in, byte[] out, int outOff)
     
    int
    GCMBlockCipher.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
    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
    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
    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
    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.internal.paddings

    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.internal.signers

    Modifier and Type
    Method
    Description
    byte[]
    BaseRsaDigestSigner.generateSignature()
    Generate a signature for the message we've been loaded with using the key we were initialised with.