Converting APIs from PKIAPI to NPKIAPI is relatively easy. Old functions in PKIAPI that were prefaced with NWPKI are now prefaced in NPKIAPI with NPKI. The NWx509 calls have been removed from NPKIAPI and their functionality is now part of NPKIT.
NWPKIVerifyCertificate and NWPKIIssuerSubjectNameMatch have been moved to NPKIT. Since NPKIAPI no longer requires the Novell Client, NWPKISetIdentity could not be ported to the newer APIs. (To reference documentation on these NWPKI functions, download the deprecated documentation at Novell Certificate Server Version 1.)
Certificate Server header files also have changed, as shown in the chart below:
The verify functions that were in PKIAPI have been ported to NPKIT. These versions of the APIs are eDirectory independent do not require a context.These functions are preceded with NPKIT_Verify.
The certificate revocation list (CRL) functions in NPKIT are preceded with NPKIT_CRL. The other NWx509 functions in NPKIT are now preceded with NPKIT_x509. The NPKIT CRL and NPKIT_x509 functions each require their own context. Below is a conversion table for quick reference.
NOTE:See the NPKIAPI or NPKIT documentation links for proper usage.
The follow conversion table shows the quick references for x509 functions:
NOTE:* indicates new functionality; function not yet documented. ** indicates that functionality is not available.