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

Parameters for the CKM_X9_42_MQV_DERIVE key derivation mechanism More...

Inherits Net.Pkcs11Interop.HighLevelAPI.MechanismParams.ICkX942MqvDeriveParams.

Public Member Functions

 CkX942MqvDeriveParams (NativeULong kdf, byte[] otherInfo, byte[] publicData, NativeULong privateDataLen, IObjectHandle privateData, byte[] publicData2, IObjectHandle publicKey)
 Initializes a new instance of the CkX942MqvDeriveParams 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_X9_42_MQV_DERIVE key derivation mechanism

Constructor & Destructor Documentation

◆ CkX942MqvDeriveParams()

Net.Pkcs11Interop.HighLevelAPI80.MechanismParams.CkX942MqvDeriveParams.CkX942MqvDeriveParams ( NativeULong  kdf,
byte []  otherInfo,
byte []  publicData,
NativeULong  privateDataLen,
IObjectHandle  privateData,
byte []  publicData2,
IObjectHandle  publicKey 
)

Initializes a new instance of the CkX942MqvDeriveParams class.

Parameters
kdfKey derivation function used on the shared secret value (CKD)
otherInfoSome data shared between the two parties
publicDataOther party's first X9.42 Diffie-Hellman public key value
privateDataLenThe length in bytes of the second X9.42 Diffie-Hellman private key
privateDataKey handle for second X9.42 Diffie-Hellman private key value
publicData2Other party's second X9.42 Diffie-Hellman public key value
publicKeyHandle to the first party's ephemeral public key

Member Function Documentation

◆ Dispose() [1/2]

void Net.Pkcs11Interop.HighLevelAPI80.MechanismParams.CkX942MqvDeriveParams.Dispose ( )

Disposes object

◆ Dispose() [2/2]

virtual void Net.Pkcs11Interop.HighLevelAPI80.MechanismParams.CkX942MqvDeriveParams.Dispose ( bool  disposing)
protectedvirtual

Disposes object

Parameters
disposingFlag indicating whether managed resources should be disposed

◆ ToMarshalableStructure()

object Net.Pkcs11Interop.HighLevelAPI80.MechanismParams.CkX942MqvDeriveParams.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: