org.bouncycastle.jce.provider
Interface JCEBlockCipher.GenericBlockCipher

All Known Implementing Classes:
JCEBlockCipher.AEADGenericBlockCipher, JCEBlockCipher.BufferedGenericBlockCipher
Enclosing class:
JCEBlockCipher

private static interface JCEBlockCipher.GenericBlockCipher


Method Summary
 int doFinal(byte[] out, int outOff)
           
 java.lang.String getAlgorithmName()
           
 int getOutputSize(int len)
           
 BlockCipher getUnderlyingCipher()
           
 int getUpdateOutputSize(int len)
           
 void init(boolean forEncryption, CipherParameters params)
           
 int processByte(byte in, byte[] out, int outOff)
           
 int processBytes(byte[] in, int inOff, int len, byte[] out, int outOff)
           
 boolean wrapOnNoPadding()
           
 

Method Detail

init

void init(boolean forEncryption,
          CipherParameters params)
          throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

wrapOnNoPadding

boolean wrapOnNoPadding()

getAlgorithmName

java.lang.String getAlgorithmName()

getUnderlyingCipher

BlockCipher getUnderlyingCipher()

getOutputSize

int getOutputSize(int len)

getUpdateOutputSize

int getUpdateOutputSize(int len)

processByte

int processByte(byte in,
                byte[] out,
                int outOff)
                throws DataLengthException
Throws:
DataLengthException

processBytes

int processBytes(byte[] in,
                 int inOff,
                 int len,
                 byte[] out,
                 int outOff)
                 throws DataLengthException
Throws:
DataLengthException

doFinal

int doFinal(byte[] out,
            int outOff)
            throws java.lang.IllegalStateException,
                   InvalidCipherTextException
Throws:
java.lang.IllegalStateException
InvalidCipherTextException