MimeEntity.ValidateSignature Method
Namespace: Rebex.Mime
Assembly: Rebex.Mail.dll (version 7.0.9119)
ValidateSignature()
Validates all digital signatures on this CMS/PKCS #7 signed message and validates all the signers' certificates. This method is only intended for entities with signed content.
Declaration
public SignatureValidationResult ValidateSignature()
Returns
Type | Description |
---|---|
SignatureValidationResult | Validation result. |
ValidateSignature(Boolean, ValidationOptions)
Validates all digital signatures on this CMS/PKCS #7 signed message. Optionally, no signers' certificates are not validated, and the specified validation options are taken into account. This method is only intended for entities with signed content.
Declaration
public SignatureValidationResult ValidateSignature(bool verifySignatureOnly, ValidationOptions options)
Parameters
Type | Name | Description |
---|---|---|
Boolean | verifySignatureOnly | Specifies whether to only verify the signatures, skipping the certificate validation. |
ValidationOptions | options | Certificate validation options (not supported by CertificateChainEngine.Native engine on Xamarin.iOS and Xamarin.Android). |
Returns
Type | Description |
---|---|
SignatureValidationResult | Validation result. |
ValidateSignature(Boolean, ValidationOptions, CertificateChainEngine)
Validates all digital signatures on this CMS/PKCS #7 signed message. Optionally, no signers' certificates are not validated, and the specified validation options are taken into account. This method is only intended for entities with signed content.
Declaration
public SignatureValidationResult ValidateSignature(bool verifySignatureOnly, ValidationOptions options, CertificateChainEngine certificateEngine)
Parameters
Type | Name | Description |
---|---|---|
Boolean | verifySignatureOnly | Specifies whether to only verify the signatures, skipping the certificate validation. |
ValidationOptions | options | Certificate validation options (not supported by CertificateChainEngine.Native engine on Xamarin.iOS and Xamarin.Android). |
CertificateChainEngine | certificateEngine | Certificate chain engine. |
Returns
Type | Description |
---|---|
SignatureValidationResult | Validation result. |