Pkcs11Interop  5.1.2
Public Member Functions | Protected Member Functions | List of all members
Net.Pkcs11Interop.HighLevelAPI40.MechanismParams.CkPkcs5Pbkd2Params Class Reference

Parameters for the CKM_PKCS5_PBKD2 mechanism More...

Inherits Net.Pkcs11Interop.HighLevelAPI.MechanismParams.ICkPkcs5Pbkd2Params.

Public Member Functions

 CkPkcs5Pbkd2Params (NativeULong saltSource, byte[] saltSourceData, NativeULong iterations, NativeULong prf, byte[] prfData, byte[] password)
 Initializes a new instance of the CkPkcs5Pbkd2Params class. More...
 
object ToMarshalableStructure ()
 Returns managed object that can be marshaled to an unmanaged block of memory More...
 
void Dispose ()
 Disposes object More...
 

Protected Member Functions

virtual void Dispose (bool disposing)
 Disposes object More...
 

Detailed Description

Parameters for the CKM_PKCS5_PBKD2 mechanism

Constructor & Destructor Documentation

◆ CkPkcs5Pbkd2Params()

Net.Pkcs11Interop.HighLevelAPI40.MechanismParams.CkPkcs5Pbkd2Params.CkPkcs5Pbkd2Params ( NativeULong  saltSource,
byte []  saltSourceData,
NativeULong  iterations,
NativeULong  prf,
byte []  prfData,
byte []  password 
)

Initializes a new instance of the CkPkcs5Pbkd2Params class.

Parameters
saltSourceSource of the salt value (CKZ)
saltSourceDataData used as the input for the salt source
iterationsNumber of iterations to perform when generating each block of random data
prfPseudo-random function to used to generate the key (CKP)
prfDataData used as the input for PRF in addition to the salt value
passwordPassword to be used in the PBE key generation

Member Function Documentation

◆ Dispose() [1/2]

void Net.Pkcs11Interop.HighLevelAPI40.MechanismParams.CkPkcs5Pbkd2Params.Dispose ( )

Disposes object

◆ Dispose() [2/2]

virtual void Net.Pkcs11Interop.HighLevelAPI40.MechanismParams.CkPkcs5Pbkd2Params.Dispose ( bool  disposing)
protectedvirtual

Disposes object

Parameters
disposingFlag indicating whether managed resources should be disposed

◆ ToMarshalableStructure()

object Net.Pkcs11Interop.HighLevelAPI40.MechanismParams.CkPkcs5Pbkd2Params.ToMarshalableStructure ( )

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

Returns
A managed object holding the data to be marshaled. This object must be an instance of a formatted class.

Implements Net.Pkcs11Interop.HighLevelAPI.MechanismParams.IMechanismParams.


The documentation for this class was generated from the following file: