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

Parameters for the CKM_RSA_PKCS_OAEP mechanism More...

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

Public Member Functions

 CkRsaPkcsOaepParams (ulong hashAlg, ulong mgf, ulong source, byte[] sourceData)
 Initializes a new instance of the CkRsaPkcsOaepParams 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_RSA_PKCS_OAEP mechanism

Constructor & Destructor Documentation

Net.Pkcs11Interop.HighLevelAPI80.MechanismParams.CkRsaPkcsOaepParams.CkRsaPkcsOaepParams ( ulong  hashAlg,
ulong  mgf,
ulong  source,
byte[]  sourceData 
)

Initializes a new instance of the CkRsaPkcsOaepParams class.

Parameters
hashAlgMechanism ID of the message digest algorithm used to calculate the digest of the encoding parameter (CKM)
mgfMask generation function to use on the encoded block (CKG)
sourceSource of the encoding parameter (CKZ)
sourceDataData used as the input for the encoding parameter source

Member Function Documentation

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

Disposes object

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

Disposes object

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