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

Parameters for the CKM_KIP_DERIVE, CKM_KIP_WRAP and CKM_KIP_MAC mechanisms More...

Inherits Net.Pkcs11Interop.HighLevelAPI.MechanismParams.ICkKipParams.

Public Member Functions

 CkKipParams (NativeULong? mechanism, IObjectHandle key, byte[] seed)
 Initializes a new instance of the CkKipParams 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_KIP_DERIVE, CKM_KIP_WRAP and CKM_KIP_MAC mechanisms

Constructor & Destructor Documentation

◆ CkKipParams()

Net.Pkcs11Interop.HighLevelAPI81.MechanismParams.CkKipParams.CkKipParams ( NativeULong?  mechanism,
IObjectHandle  key,
byte []  seed 
)

Initializes a new instance of the CkKipParams class.

Parameters
mechanismUnderlying cryptographic mechanism (CKM)
keyHandle to a key that will contribute to the entropy of the derived key (CKM_KIP_DERIVE) or will be used in the MAC operation (CKM_KIP_MAC)
seedInput seed

Member Function Documentation

◆ Dispose() [1/2]

void Net.Pkcs11Interop.HighLevelAPI81.MechanismParams.CkKipParams.Dispose ( )

Disposes object

◆ Dispose() [2/2]

virtual void Net.Pkcs11Interop.HighLevelAPI81.MechanismParams.CkKipParams.Dispose ( bool  disposing)
protectedvirtual

Disposes object

Parameters
disposingFlag indicating whether managed resources should be disposed

◆ ToMarshalableStructure()

object Net.Pkcs11Interop.HighLevelAPI81.MechanismParams.CkKipParams.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: