X509.ValidatePath Method (String)
Validate a certificate path.
Syntax
[C#]
public static int ValidatePath(
string certListOrP7File
)
[VB.NET]
Public Shared Function ValidatePath ( _
certListOrP7File As String _
) As Integer
Parameters
- certListOrP7File
- either a list of certificate names separated by a semicolon or the name of a PKCS-7 "certs-only" file containing the certificates to be validated
Return Value
Zero if the certification path is valid; X509.Invalid (
CERT_PATH_ERROR +43) if the path is invalid; otherwise a negative
error code.
Examples (VB.NET)
See
Example1
See Also
VB6/C equivalent: X509_ValidatePath
[Contents] [Index]