C# Class Org.BouncyCastle.Crypto.Engines.IesEngine

Datei anzeigen Open project: mapo80/iTextSharp-Monotouch Class Usage Examples

Public Methods

Method Description
IesEngine ( IBasicAgreement agree, IDerivationFunction kdf, IMac mac ) : System
IesEngine ( IBasicAgreement agree, IDerivationFunction kdf, IMac mac, BufferedBlockCipher cipher ) : System
Init ( bool forEncryption, ICipherParameters privParameters, ICipherParameters pubParameters, ICipherParameters iesParameters ) : void
ProcessBlock ( byte input, int inOff, int inLen ) : byte[]

Private Methods

Method Description
DecryptBlock ( byte in_enc, int inOff, int inLen, byte z ) : byte[]
EncryptBlock ( byte input, int inOff, int inLen, byte z ) : byte[]
GenerateKdfBytes ( KdfParameters kParam, int length ) : byte[]

Method Details

IesEngine() public method

public IesEngine ( IBasicAgreement agree, IDerivationFunction kdf, IMac mac ) : System
agree IBasicAgreement
kdf IDerivationFunction
mac IMac
return System

IesEngine() public method

public IesEngine ( IBasicAgreement agree, IDerivationFunction kdf, IMac mac, BufferedBlockCipher cipher ) : System
agree IBasicAgreement
kdf IDerivationFunction
mac IMac
cipher BufferedBlockCipher
return System

Init() public method

public Init ( bool forEncryption, ICipherParameters privParameters, ICipherParameters pubParameters, ICipherParameters iesParameters ) : void
forEncryption bool
privParameters ICipherParameters
pubParameters ICipherParameters
iesParameters ICipherParameters
return void

ProcessBlock() public method

public ProcessBlock ( byte input, int inOff, int inLen ) : byte[]
input byte
inOff int
inLen int
return byte[]