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

Parameters for the CKM_GOSTR3410_KEY_WRAP mechanism More...

Inherits Net.Pkcs11Interop.HighLevelAPI.MechanismParams.ICkGostR3410KeyWrapParams.

Public Member Functions

 CkGostR3410KeyWrapParams (byte[] wrapOID, byte[] ukm, NativeULong key)
 Initializes a new instance of the CkGostR3410KeyWrapParams 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_GOSTR3410_KEY_WRAP mechanism

Constructor & Destructor Documentation

◆ CkGostR3410KeyWrapParams()

Net.Pkcs11Interop.HighLevelAPI40.MechanismParams.CkGostR3410KeyWrapParams.CkGostR3410KeyWrapParams ( byte []  wrapOID,
byte []  ukm,
NativeULong  key 
)

Initializes a new instance of the CkGostR3410KeyWrapParams class.

Parameters
wrapOIDData with DER-encoding of the object identifier indicating the data object type of GOST 28147-89
ukmData with UKM
keyKey handle of a sender for wrapping operation or key handle of a receiver for unwrapping operation

Member Function Documentation

◆ Dispose() [1/2]

void Net.Pkcs11Interop.HighLevelAPI40.MechanismParams.CkGostR3410KeyWrapParams.Dispose ( )

Disposes object

◆ Dispose() [2/2]

virtual void Net.Pkcs11Interop.HighLevelAPI40.MechanismParams.CkGostR3410KeyWrapParams.Dispose ( bool  disposing)
protectedvirtual

Disposes object

Parameters
disposingFlag indicating whether managed resources should be disposed

◆ ToMarshalableStructure()

object Net.Pkcs11Interop.HighLevelAPI40.MechanismParams.CkGostR3410KeyWrapParams.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: