The SignerInfo type exposes the following 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, 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, 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, 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.
|
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
GetSignatureParameters |
Gets signature parameters (if available).
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Sign()()()() |
Creates a signatures for the signer.
| |
Sign(SignatureOptions) |
Creates a signature for the signer.
| |
ToDigestAlgorithm |
Gets a value that identifies the digest algorithm.
| |
ToString | Returns a String that represents the current Object. (Inherited from Object.) | |
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.
|
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.
|