CryptoSys PKI Pro Manual

X509.VerifyCert Method

Verify that an X.509 certificate has been signed by its issuer.

Syntax

[C#]
public static int VerifyCert(
   string certToVerify,
   string issuerCert 
)
[VB]
Public Shared Function VerifyCert (
   certToVerify As String,
   issuerCert As String 
) As Integer

Parameters

certToVerify  String
Filename of certificate to verify
issuerCert  String
Filename of purported issuer's certificate

Return Value

Int32
Zero if the certificate's signature is valid; X509.Failure (SIGNATURE_ERROR +22) if the validation fails; otherwise a positive error code.

Remarks

This can also be used to verify that an X.509 Certificate Revocation List (CRL) or PKCS#10 Certification Signing Request (CSR) has been signed by the owner of the issuer's certificate. Just pass the name of the file (or its base64/PEM string form) as certToVerify.

See Also

VB6/C equivalent: X509_VerifyCert

[Contents] [Index]

[PREV: X509.ValidatePath Method...]   [Contents]   [Index]   
   [NEXT: Xof.Bytes Method...]

Copyright © 2004-26 D.I. Management Services Pty Ltd t/a CryptoSys. All rights reserved. Generated 2026-09-21T05:59:39Z.