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

Parameters for the CKM_RSA_PKCS_PSS mechanism
Inheritance: IMechanismParams
Show file Open project: Pkcs11Interop/Pkcs11Interop

Public Methods

Method Description
CkRsaPkcsPssParams ( ulong hashAlg, ulong mgf, ulong len ) : Net.Pkcs11Interop.Common

Initializes a new instance of the CkRsaPkcsPssParams class.

ToMarshalableStructure ( ) : object

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

Method Details

CkRsaPkcsPssParams() public method

Initializes a new instance of the CkRsaPkcsPssParams class.
public CkRsaPkcsPssParams ( ulong hashAlg, ulong mgf, ulong len ) : Net.Pkcs11Interop.Common
hashAlg ulong Hash algorithm used in the PSS encoding (CKM)
mgf ulong Mask generation function to use on the encoded block (CKG)
len ulong Length, in bytes, of the salt value used in the PSS encoding
return Net.Pkcs11Interop.Common

ToMarshalableStructure() public method

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