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

Parameters for the CKM_ECDH_AES_KEY_WRAP mechanism More...

Inherits Net.Pkcs11Interop.HighLevelAPI.MechanismParams.ICkEcdhAesKeyWrapParams.

Public Member Functions

 CkEcdhAesKeyWrapParams (NativeULong aesKeyBits, NativeULong kdf, byte[] sharedData)
 Initializes a new instance of the CkEcdhAesKeyWrapParams 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_ECDH_AES_KEY_WRAP mechanism

Constructor & Destructor Documentation

◆ CkEcdhAesKeyWrapParams()

Net.Pkcs11Interop.HighLevelAPI41.MechanismParams.CkEcdhAesKeyWrapParams.CkEcdhAesKeyWrapParams ( NativeULong  aesKeyBits,
NativeULong  kdf,
byte []  sharedData 
)

Initializes a new instance of the CkEcdhAesKeyWrapParams class.

Parameters
aesKeyBitsLength of the temporary AES key in bits
kdfKey derivation function used on the shared secret value to generate AES key (CKD)
sharedDataData shared between the two parties

Member Function Documentation

◆ Dispose() [1/2]

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

Disposes object

◆ Dispose() [2/2]

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

Disposes object

Parameters
disposingFlag indicating whether managed resources should be disposed

◆ ToMarshalableStructure()

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