SmimeSignature Class
The signature of a signer of an S/MIME entity, and the result of its verification.
public sealed class SmimeSignatureProperties
| Name | Description |
|---|---|
| Certificate | Gets the certificate of the signer, or null when the signature does not include it and it is not in the store given to the verification. |
| DigestAlgorithm | Gets the identifier (OID) of the digest algorithm of the signature, such as 2.16.840.1.101.3.4.2.1 for SHA-256. |
| Error | Gets the reason the signature is not valid, or null when it is valid. |
| IsValid | Gets whether the signature is valid: the content was not modified, and the certificate is valid when the verification checks it. |
| SigningTime | Gets the date and time the signer says the content was signed (the signing time attribute), or null. |
Certificate
SmimeSignature.csGets the certificate of the signer, or null when the signature does not include it and it is not in the store given to the verification.
public X509Certificate2? Certificate { get; }Property value
DigestAlgorithm
SmimeSignature.csError
SmimeSignature.csIsValid
SmimeSignature.csSigningTime
SmimeSignature.csGets the date and time the signer says the content was signed (the signing time attribute), or null.
public DateTimeOffset? SigningTime { get; }