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

Parameters for the CKM_CMS_SIG mechanism
Inheritance: IMechanismParams, IDisposable
Afficher le fichier Open project: Pkcs11Interop/Pkcs11Interop

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Disposes object

Method Details

CkCmsSigParams() public méthode

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
Résultat System

Dispose() public méthode

Disposes object
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

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

ToMarshalableStructure() public méthode

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