Validates all digital signatures on a signed message with the specified engine. Optionally, signers' certificates are not validated, and the specified validation options are taken into account.

Namespace:  Rebex.Mail
Assembly:  Rebex.Mail (in Rebex.Mail.dll)

Syntax

Visual Basic
Public Function ValidateSignature ( _
	verifySignatureOnly As Boolean, _
	options As ValidationOptions, _
	certificateEngine As CertificateChainEngine _
) As MailSignatureValidity
C#
public MailSignatureValidity 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.

Return Value

Validation result.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also