NPKIT_VerifyIssuerSubjectNameMatch
Verifies whether the subjectCerfificate's issuer name matches the issuerCertificate's subject name.
#include "NPKIT_Verify.h"
NWRCODE NPKIT_VerifyIssuerSubjectNameMatch
(
const pnuint8 issuerCertificate,
const nuint32 issuerCertificateLen,
const pnuint8 subjectCertificate,
const nuint32 subjectCertificateLen
);
Returns 0 if names match, PKI_E_SUBJECT_NAME_COMPARISON_FAILURE if the names do not match, or a NICI or other PKI error code if not successful. For a listing of NPKIT error codes, see Certificate Server Error Code Constants.
This is a lightweight function that can be used to construct and sort a certificate chain.