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

Parameters for the CKM_PBE mechanisms and the CKM_PBA_SHA1_WITH_SHA1_HMAC mechanism More...

Inherits Net.Pkcs11Interop.HighLevelAPI.MechanismParams.ICkPbeParams.

Public Member Functions

 CkPbeParams (byte[] initVector, byte[] password, byte[] salt, NativeULong iteration)
 Initializes a new instance of the CkPbeParams 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_PBE mechanisms and the CKM_PBA_SHA1_WITH_SHA1_HMAC mechanism

Constructor & Destructor Documentation

◆ CkPbeParams()

Net.Pkcs11Interop.HighLevelAPI41.MechanismParams.CkPbeParams.CkPbeParams ( byte []  initVector,
byte []  password,
byte []  salt,
NativeULong  iteration 
)

Initializes a new instance of the CkPbeParams class.

Parameters
initVector8-byte initialization vector (IV), if an IV is required
passwordPassword to be used in the PBE key generation
saltSalt to be used in the PBE key generation
iterationNumber of iterations required for the generation

Member Function Documentation

◆ Dispose() [1/2]

void Net.Pkcs11Interop.HighLevelAPI41.MechanismParams.CkPbeParams.Dispose ( )

Disposes object

◆ Dispose() [2/2]

virtual void Net.Pkcs11Interop.HighLevelAPI41.MechanismParams.CkPbeParams.Dispose ( bool  disposing)
protectedvirtual

Disposes object

Parameters
disposingFlag indicating whether managed resources should be disposed

◆ ToMarshalableStructure()

object Net.Pkcs11Interop.HighLevelAPI41.MechanismParams.CkPbeParams.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: