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

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

Inherits Net.Pkcs11Interop.Common.IMechanismParams, and IDisposable.

Public Member Functions

 CkKipParams (ulong?mechanism, ObjectHandle 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

Net.Pkcs11Interop.HighLevelAPI.MechanismParams.CkKipParams.CkKipParams ( ulong?  mechanism,
ObjectHandle  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

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

Disposes object

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

Disposes object

Parameters
disposingFlag indicating whether managed resources should be disposed
object Net.Pkcs11Interop.HighLevelAPI.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.Common.IMechanismParams.


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