C# Class Net.Pkcs11Interop.HighLevelAPI80.MechanismParams.CkCmsSigParams

Parameters for the CKM_CMS_SIG mechanism
Inheritance: IMechanismParams, IDisposable
ファイルを表示 Open project: Pkcs11Interop/Pkcs11Interop

Public Methods

Method Description
CkCmsSigParams ( ObjectHandle certificateHandle, ulong signingMechanism, ulong digestMechanism, string contentType, byte requestedAttributes, byte requiredAttributes ) : System

Initializes a new instance of the CkCmsSigParams 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

CkCmsSigParams() public method

Initializes a new instance of the CkCmsSigParams class.
public CkCmsSigParams ( ObjectHandle certificateHandle, ulong signingMechanism, ulong digestMechanism, string contentType, byte requestedAttributes, byte requiredAttributes ) : System
certificateHandle ObjectHandle Object handle for a certificate associated with the signing key
signingMechanism ulong Mechanism to use when signing a constructed CMS SignedAttributes value
digestMechanism ulong Mechanism to use when digesting the data
contentType string String indicating complete MIME Content-type of message to be signed or null if the message is a MIME object
requestedAttributes byte DER-encoded list of CMS Attributes the caller requests to be included in the signed attributes
requiredAttributes byte DER-encoded list of CMS Attributes (with accompanying values) required to be included in the resulting signed attributes
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