SignerInfo Class
Namespace: Rebex.Security.Cryptography.Pkcs
Assembly: Rebex.Common.dll (version 7.0.9313)
Represents a CMS/PKCS #7 message signer.
Syntax
public class SignerInfoInherited Members
Constructors
| Name | Description | 
|---|---|
| SignerInfo(Certificate) | Creates a new instance of SignerInfo that defines a signer corresponding to the specified certificate. An associated private key for the certificate must be available. Use SignerInfo(Certificate, SignatureParameters) to specify RSASSA-PSS parameters. | 
| SignerInfo(Certificate, SubjectIdentifierType) | Creates a new instance of SignerInfo that defines a signer corresponding to the specified certificate. An associated private key for the certificate must be available. Use SignerInfo(Certificate, SignatureParameters, SubjectIdentifierType) to specify RSASSA-PSS parameters. | 
| SignerInfo(Certificate, SubjectIdentifierType, SignatureHashAlgorithm) | Creates a new instance of SignerInfo that defines a signer corresponding to the specified certificate. An associated private key for the certificate must be available. Use SignerInfo(Certificate, SignatureParameters, SubjectIdentifierType) to specify RSASSA-PSS parameters. | 
| SignerInfo(Certificate, SignatureParameters) | Creates a new instance of SignerInfo that defines a signer corresponding to the specified certificate. An associated private key for the certificate must be available. | 
| SignerInfo(Certificate, SignatureParameters, SubjectIdentifierType) | Creates a new instance of SignerInfo that defines a signer corresponding to the specified certificate using the specified subject identifier type. An associated private key for the certificate must be available. | 
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. | 
| CertificateChain | Gets the certificate chain associated with the signer, or null if not available. | 
| DigestAlgorithm | Gets the identifier of the digest algorithm. | 
| EncryptionKeyPreference | Gets the preferred subject identifier for key encryption. | 
| Signature | Gets the signature, or null if it is not available yet. | 
| SignatureAlgorithm | Gets the identifier of the signature algorithm. | 
| SignedAttributes | Gets the collection of signed attributes associated with this CMS/PKCS #7 message. | 
| SignerIdentifier | Gets the identifier of the signer. | 
| SigningTime | Gets the signing time, or 1970-01-01 if not available. | 
| UnsignedAttributes | Gets the collection of unsigned attributes associated with this CMS/PKCS #7 message. | 
Methods
| Name | Description | 
|---|---|
| GetSignatureParameters() | Gets signature parameters (if available). | 
| Sign() | Creates a signatures for the signer. | 
| Sign(SignatureOptions) | Creates a signature for the signer. | 
| ToDigestAlgorithm() | Gets a value that identifies the digest algorithm. | 
| Validate() | Validates the signer's digital signature and validates the certificate. | 
| Validate(Boolean, ValidationOptions) | Validates the signer's digital signatures. Optionally, signers' certificates are validated, and the specified validation options are taken into account. | 
| Validate(Boolean, ValidationOptions, CertificateChainEngine) | Validates the signer's digital signatures. Optionally, signers' certificates are validated, and the specified validation options are taken into account. |