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

Parameters for the CKM_RSA_PKCS_OAEP mechanism
Inheritance: IMechanismParams, IDisposable
显示文件 Open project: Pkcs11Interop/Pkcs11Interop Class Usage Examples

Public Methods

Method Description
CkRsaPkcsOaepParams ( uint hashAlg, uint mgf, uint 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 ( uint hashAlg, uint mgf, uint source, byte sourceData ) : System
hashAlg uint Mechanism ID of the message digest algorithm used to calculate the digest of the encoding parameter (CKM)
mgf uint Mask generation function to use on the encoded block (CKG)
source uint 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