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

Parameters for the CKM_PKCS5_PBKD2 mechanism
Inheritance: IMechanismParams, IDisposable
Mostra file Open project: Pkcs11Interop/Pkcs11Interop

Public Methods

Method Description
CkPkcs5Pbkd2Params ( uint saltSource, byte saltSourceData, uint iterations, uint prf, byte prfData, byte password ) : System

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

CkPkcs5Pbkd2Params() public method

Initializes a new instance of the CkPkcs5Pbkd2Params class.
public CkPkcs5Pbkd2Params ( uint saltSource, byte saltSourceData, uint iterations, uint prf, byte prfData, byte password ) : System
saltSource uint Source of the salt value (CKZ)
saltSourceData byte Data used as the input for the salt source
iterations uint Number of iterations to perform when generating each block of random data
prf uint Pseudo-random function to used to generate the key (CKP)
prfData byte Data used as the input for PRF in addition to the salt value
password byte Password to be used in the PBE key 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