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.
Namespace:
Rebex.Mime
Assembly:
Rebex.Mail (in Rebex.Mail.dll)
Syntax
Visual Basic |
---|
Public Function ValidateSignature ( _ verifySignatureOnly As Boolean, _ options As ValidationOptions, _ certificateEngine As CertificateChainEngine _ ) As SignatureValidationResult |
C# |
---|
public SignatureValidationResult ValidateSignature( bool verifySignatureOnly, ValidationOptions options, CertificateChainEngine certificateEngine ) |
Parameters
- verifySignatureOnly
- Type: System..::..Boolean
Specifies whether to only verify the signatures, skipping the certificate validation.
- options
- Type: Rebex.Security.Certificates..::..ValidationOptions
Certificate validation options (not supported by CertificateChainEngine.Native engine on Xamarin.iOS and Xamarin.Android).
- certificateEngine
- Type: Rebex.Security.Certificates..::..CertificateChainEngine
Certificate chain engine.