NPKIExportServerKey
Exports a server’s private key and corresponding certificates in Personal Information Exchange Syntax (PFX) format (formerly NWPKIExportServerKey).
#include "npki.h"
void NPKIExportServerKey(
const NPKIContext context,
const unicode *serverDN,
const unicode *certificateName,
const unicode *password,
const nuint32 flags,
pnuint32 const pfxSize,
nuint8 const **pfx);
Returns 0 if successful, or an eDirectory, NICI, or PKI error code if not successful.
0x2222 93 09 Read Key
The key and certificate are encrypted using the input password as specified in the Public Key Cryptography Standards (PKCS) #12.