iText 9.8.0 API
iText.Bouncycastle.Crypto.CipherCBCnoPadBC Class Reference
Inheritance diagram for iText.Bouncycastle.Crypto.CipherCBCnoPadBC:
iText.Commons.Bouncycastle.Crypto.ICipherCBCnoPad

Public Member Functions

  CipherCBCnoPadBC (bool forEncryption, byte[] key, byte[] initVector=null)
  Creates new wrapper instance for IBlockCipher. More...
 
virtual byte[]  ProcessBlock (byte[] inp, int inpOff, int inpLen)
  Processes data block using created cipher. More...
 
virtual byte[]  DoFinal ()
  Finishes a multiple-part encryption or decryption operation, depending on how this cipher was initialized. More...
 
override bool  Equals (Object o)
  Indicates whether some other object is "equal to" this one. Compares wrapped objects. More...
 
override int  GetHashCode ()
  Returns a hash code value based on the wrapped object. More...
 
override String  ToString ()
  Delegates toString method call to the wrapped object. More...
 

Constructor & Destructor Documentation

◆ CipherCBCnoPadBC()

iText.Bouncycastle.Crypto.CipherCBCnoPadBC.CipherCBCnoPadBC ( bool  forEncryption,
byte[]  key,
byte[]  initVector = null 
)
inline

Creates new wrapper instance for IBlockCipher.

Parameters
forEncryption Defines whether this wrapper will be used for encryption or decryption.
key Key bytes to be used during block cipher creation.
initVector Initialization vector to be used during block cipher creation.

Member Function Documentation

◆ DoFinal()

virtual byte [] iText.Bouncycastle.Crypto.CipherCBCnoPadBC.DoFinal ( )
inlinevirtual

Finishes a multiple-part encryption or decryption operation, depending on how this cipher was initialized.

Implements iText.Commons.Bouncycastle.Crypto.ICipherCBCnoPad.

◆ Equals()

override bool iText.Bouncycastle.Crypto.CipherCBCnoPadBC.Equals ( Object  o )
inline

Indicates whether some other object is "equal to" this one. Compares wrapped objects.

◆ GetHashCode()

override int iText.Bouncycastle.Crypto.CipherCBCnoPadBC.GetHashCode ( )
inline

Returns a hash code value based on the wrapped object.

◆ ProcessBlock()

virtual byte [] iText.Bouncycastle.Crypto.CipherCBCnoPadBC.ProcessBlock ( byte[]  inp,
int  inpOff,
int  inpLen 
)
inlinevirtual

Processes data block using created cipher.

Implements iText.Commons.Bouncycastle.Crypto.ICipherCBCnoPad.

◆ ToString()

override String iText.Bouncycastle.Crypto.CipherCBCnoPadBC.ToString ( )
inline

Delegates toString method call to the wrapped object.