iText 9.8.0 API
iText.Commons.Bouncycastle.Crypto.ICipher Interface Reference

This interface represents the wrapper for ICipher that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations. More...

Public Member Functions

byte[]  Update (byte[] inp, int inpOff, int inpLen)
  Continues processing another data part in wrapped ICipher object. More...
 
byte[]  DoFinal ()
  Process the last block in the buffer of the wrapped ICipher object. More...
 

Detailed Description

This interface represents the wrapper for ICipher that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.

Member Function Documentation

◆ DoFinal()

byte [] iText.Commons.Bouncycastle.Crypto.ICipher.DoFinal ( )

Process the last block in the buffer of the wrapped ICipher object.

Returns
byte array.

◆ Update()

byte [] iText.Commons.Bouncycastle.Crypto.ICipher.Update ( byte[]  inp,
int  inpOff,
int  inpLen 
)

Continues processing another data part in wrapped ICipher object.

Parameters
inp byte array
inpOff offset
inpLen length
Returns
byte array.