C# Class Net.Pkcs11Interop.HighLevelAPI40.MechanismParams.CkRc5CbcParams

Parameters for the CKM_RC5_CBC and CKM_RC5_CBC_PAD mechanisms
Inheritance: IMechanismParams, IDisposable
Datei anzeigen Open project: Pkcs11Interop/Pkcs11Interop

Public Methods

Method Description
CkRc5CbcParams ( uint wordsize, uint rounds, byte iv ) : System

Initializes a new instance of the CkRc5CbcParams class.

Dispose ( ) : void

Disposes object

ToMarshalableStructure ( ) : object

Returns managed object that can be marshaled to an unmanaged block of memory

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Disposes object

Method Details

CkRc5CbcParams() public method

Initializes a new instance of the CkRc5CbcParams class.
public CkRc5CbcParams ( uint wordsize, uint rounds, byte iv ) : System
wordsize uint Wordsize of RC5 cipher in bytes
rounds uint Number of rounds of RC5 encipherment
iv byte Initialization vector (IV) for CBC encryption
return System

Dispose() public method

Disposes object
public Dispose ( ) : void
return void

Dispose() protected method

Disposes object
protected Dispose ( bool disposing ) : void
disposing bool Flag indicating whether managed resources should be disposed
return void

ToMarshalableStructure() public method

Returns managed object that can be marshaled to an unmanaged block of memory
public ToMarshalableStructure ( ) : object
return object