NPKIImportServerKey
Imports a server’s private key and corresponding certificates from a PFX format (also known as PKCS #12) to a KMO (formerly NWPKIImportServerKey).
#include "npki.h"
void NPKIImportServerKey(
const NPKIContext context,
const unicode *serverDN,
const unicode *certificateName,
const unicode *password,
const nuint32 flags,
const nuint32 pfxSize,
const nuint8 *pfx);
Returns 0 if successful, or an eDirectory, NICI, or a PKI error code if not successful.
0x2222 93 10 Write Key