SignerInfo Class
Namespace: Rebex.Security.Cryptography.Pkcs
Assembly: Rebex.Common.dll (version 7.0.9448)
Represents a CMS/PKCS #7 message signer.
Syntax
public class SignerInfo
Inherited Members
Constructors
| Name | Description |
|---|---|
|
Signer |
Creates a new instance of Signer |
|
Signer |
Creates a new instance of Signer |
|
Signer |
Creates a new instance of Signer |
|
Signer |
Creates a new instance of Signer |
|
Signer |
Creates a new instance of Signer |
Properties
| Name | Description |
|---|---|
| Capabilities | Gets the collection of S/MIME capabilities the signer supports. |
| Certificate | Gets the certificate associated with the signer, or null if not available. |
|
Certificate |
Gets the certificate chain associated with the signer, or null if not available. |
|
Digest |
Gets the identifier of the digest algorithm. |
|
Encryption |
Gets the preferred subject identifier for key encryption. |
| Signature | Gets the signature, or null if it is not available yet. |
|
Signature |
Gets the identifier of the signature algorithm. |
|
Signed |
Gets the collection of signed attributes associated with this CMS/PKCS #7 message. |
|
Signer |
Gets the identifier of the signer. |
|
Signing |
Gets the signing time, or 1970-01-01 if not available. |
|
Unsigned |
Gets the collection of unsigned attributes associated with this CMS/PKCS #7 message. |
Methods
| Name | Description |
|---|---|
|
Get |
Gets signature parameters (if available). |
| Sign() | Creates a signatures for the signer. |
|
Sign(Signature |
Creates a signature for the signer. |
|
To |
Gets a value that identifies the digest algorithm. |
| Validate() | Validates the signer's digital signature and validates the certificate. |
|
Validate(Boolean, Validation |
Validates the signer's digital signatures. Optionally, signers' certificates are validated, and the specified validation options are taken into account. |
|
Validate(Boolean, Validation |
Validates the signer's digital signatures. Optionally, signers' certificates are validated, and the specified validation options are taken into account. |