Validates all digital signatures on this CMS/PKCS #7 signed message.
Optionally, signers' certificates are validated, and the specified validation
options are taken into account.
Namespace:
Rebex.Security.Cryptography.Pkcs
Assembly:
Rebex.Common (in Rebex.Common.dll)
Syntax
Visual Basic |
---|
Public Function Validate ( _ verifySignatureOnly As Boolean, _ options As ValidationOptions, _ engine As CertificateChainEngine _ ) As SignatureValidationResult |
C# |
---|
public SignatureValidationResult Validate( bool verifySignatureOnly, ValidationOptions options, CertificateChainEngine engine ) |
Parameters
- verifySignatureOnly
- Type: System..::..Boolean
Specifies whether to only verify the signatures, skipping the certificate validation.
- options
- Type: Rebex.Security.Certificates..::..ValidationOptions
Signature and certificate validation options.
- engine
- Type: Rebex.Security.Certificates..::..CertificateChainEngine
Certificate chain engine.