C# Class Net.Pkcs11Interop.HighLevelAPI81.MechanismParams.CkRsaPkcsOaepParams

Parameters for the CKM_RSA_PKCS_OAEP mechanism
Inheritance: IMechanismParams, IDisposable
Show file Open project: Pkcs11Interop/Pkcs11Interop Class Usage Examples

Public Methods

Method Description
CkRsaPkcsOaepParams ( ulong hashAlg, ulong mgf, ulong source, byte sourceData ) : System

Initializes a new instance of the CkRsaPkcsOaepParams class.

Dispose ( ) : void

Disposes object

ToMarshalableStructure ( ) : object

Returns managed object that can be marshaled to an unmanaged block of memory

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Disposes object

Method Details

CkRsaPkcsOaepParams() public method

Initializes a new instance of the CkRsaPkcsOaepParams class.
public CkRsaPkcsOaepParams ( ulong hashAlg, ulong mgf, ulong source, byte sourceData ) : System
hashAlg ulong Mechanism ID of the message digest algorithm used to calculate the digest of the encoding parameter (CKM)
mgf ulong Mask generation function to use on the encoded block (CKG)
source ulong Source of the encoding parameter (CKZ)
sourceData byte Data used as the input for the encoding parameter source
return System

Dispose() public method

Disposes object
public Dispose ( ) : void
return void

Dispose() protected method

Disposes object
protected Dispose ( bool disposing ) : void
disposing bool Flag indicating whether managed resources should be disposed
return void

ToMarshalableStructure() public method

Returns managed object that can be marshaled to an unmanaged block of memory
public ToMarshalableStructure ( ) : object
return object