Upravit

Sdílet prostřednictvím


Signer object

[The Signer object is available for use in the operating systems specified in the Requirements section. Instead, use the CmsSigner Class in the System.Security.Cryptography.Pkcs namespace.]

The Signer object establishes the signer of a SignedData or SignedCode object. The Certificate of the Signer object must have an available private key that can be used to sign data.

Members

The Signer object has these types of members:

Methods

The Signer object has these methods.

Method Description
Load Loads a signing certificate from a specified PFX file.

 

Properties

The Signer object has these properties.

Property Access type Description
AuthenticatedAttributes
Read-only
The collection of authenticated attributes.
Certificate
Read/write
The Certificate object that represents the certificate of a signer of the data.
When the value of this property is reset, directly or indirectly, the whole state of the object is reset.
This is the default property.
Chain
Read-only
The chain of the signer.
Options
Read/write
Sets or retrieves the signer's certificate option.

 

Remarks

The Signer object can be created, and it is safe for scripting. The ProgID for the Signer object is CAPICOM.Signer.2.

CAPICOM 1.x: The ProgID for the Signer object is CAPICOM.Signer.1.

Requirements

Requirement Value
Redistributable
CAPICOM 2.0 or later on Windows Server 2003 and Windows XP
DLL
Capicom.dll

See also

Cryptography Objects