C# Class Net.Pkcs11Interop.HighLevelAPI80.MechanismParams.CkPbeParams

Parameters for the CKM_PBE mechanisms and the CKM_PBA_SHA1_WITH_SHA1_HMAC mechanism
Inheritance: IMechanismParams, IDisposable
Datei anzeigen Open project: Pkcs11Interop/Pkcs11Interop

Public Methods

Method Description
CkPbeParams ( byte initVector, byte password, byte salt, ulong iteration ) : System

Initializes a new instance of the CkPbeParams 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

CkPbeParams() public method

Initializes a new instance of the CkPbeParams class.
public CkPbeParams ( byte initVector, byte password, byte salt, ulong iteration ) : System
initVector byte 8-byte initialization vector (IV), if an IV is required
password byte Password to be used in the PBE key generation
salt byte Salt to be used in the PBE key generation
iteration ulong Number of iterations required for the generation
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