Επεξεργασία

Κοινή χρήση μέσω


XpsDigitalSignature.Verify Method

Definition

Verifies the document digital signature against an X.509 certificate.

Overloads

Verify()

Verifies the document digital signature against the X.509 certificate embedded in the XPS Package.

Verify(X509Certificate)

Verifies the document digital signature against a specified X.509 certificate.

Verify()

Verifies the document digital signature against the X.509 certificate embedded in the XPS Package.

public:
 System::IO::Packaging::VerifyResult Verify();
public System.IO.Packaging.VerifyResult Verify ();
member this.Verify : unit -> System.IO.Packaging.VerifyResult
Public Function Verify () As VerifyResult

Returns

One of the VerifyResult enumeration values that specify the result of the verification attempt.

Remarks

This overload method verifies the document digital signature against the X.509 certificate embedded by the SignDigitally method when called with the embedCertificate parameter set to true.

See also

Applies to

Verify(X509Certificate)

Verifies the document digital signature against a specified X.509 certificate.

public:
 System::IO::Packaging::VerifyResult Verify(System::Security::Cryptography::X509Certificates::X509Certificate ^ certificate);
public System.IO.Packaging.VerifyResult Verify (System.Security.Cryptography.X509Certificates.X509Certificate certificate);
member this.Verify : System.Security.Cryptography.X509Certificates.X509Certificate -> System.IO.Packaging.VerifyResult
Public Function Verify (certificate As X509Certificate) As VerifyResult

Parameters

certificate
X509Certificate

The certificate of authenticity for the signer.

Returns

One of the VerifyResult enumeration values that specify the result of the verification attempt.

See also

Applies to