Validates all digital signatures on a signed message. 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 _
) As MailSignatureValidity
C#
public MailSignatureValidity ValidateSignature(
	bool verifySignatureOnly,
	ValidationOptions options
)

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).

Return Value

Validation result.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also