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

Parameters for the CKM_ECDH1_DERIVE and CKM_ECDH1_COFACTOR_DERIVE key derivation mechanisms More...

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

Public Member Functions

 CkEcdh1DeriveParams (uint kdf, byte[] sharedData, byte[] publicData)
 Initializes a new instance of the CkEcdh1DeriveParams 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_ECDH1_DERIVE and CKM_ECDH1_COFACTOR_DERIVE key derivation mechanisms

Constructor & Destructor Documentation

Net.Pkcs11Interop.HighLevelAPI41.MechanismParams.CkEcdh1DeriveParams.CkEcdh1DeriveParams ( uint  kdf,
byte[]  sharedData,
byte[]  publicData 
)

Initializes a new instance of the CkEcdh1DeriveParams class.

Parameters
kdfKey derivation function used on the shared secret value (CKD)
sharedDataSome data shared between the two parties
publicDataOther party's EC public key value

Member Function Documentation

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

Disposes object

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

Disposes object

Parameters
disposingFlag indicating whether managed resources should be disposed
object Net.Pkcs11Interop.HighLevelAPI41.MechanismParams.CkEcdh1DeriveParams.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: