Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
VerifyCertificate Method

PackageDigitalSignatureManager.VerifyCertificate Method

Verifies a given X.509 certificate.

Namespace:  System.IO.Packaging
Assembly:  WindowsBase (in WindowsBase.dll)

[SecurityPermissionAttribute(SecurityAction.LinkDemand, Unrestricted = true)]
public static X509ChainStatusFlags VerifyCertificate(
	X509Certificate certificate


Type: System.Security.Cryptography.X509Certificates.X509Certificate

The X.509 certificate to verify.

Return Value

Type: System.Security.Cryptography.X509Certificates.X509ChainStatusFlags
X509ChainStatusFlags.NoError (value 0) if the certificate verified successfully; otherwise, a bitwise enumeration of error flags.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft