NPKIT_VerifyCertificate
Determines if the specified subjectCertificate can be verified by the issuerCertificate (formerly NWPKIVerifyCertificate).
#include "NPKIT_Verify.h"
NWRCODE NPKIT_VerifyCertificate
(
const pnuint8 issuerCertificate,
const nuint32 issuerCertificateLen,
const pnuint8 subjectCertificate,
const nuint32 subjectCertificateLen,
const pnuint8 CRL,
const nuint32 CRLLen,
pnuint32 reason,
pnuint32 holdInstruction,
void *reserved1,
void *reserved2,
void *reserved3,
void *reserved4
);
Returns 0 if successful or a PKI or NICI error code if not successful. For a listing of NPKIT error codes, see Certificate Server Error Code Constants.
In this release NPKIT_VerifyCertificate (page 28) checks the following:
This function does not check for certificate revocation. Use NPKIT_VerifyCertChain for complete certificate verification