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 _
) As SignatureValidationResult
C#
public SignatureValidationResult 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