NPKIDeleteUserCertificate
Deletes a user’s certificate (formerly NWPKIDeleteUserCertificate).
#include "npki.h" NWRCODE NPKIDeleteUserCertificate( const NPKIContext context, const unicode *userDN, const unicode *nickName, const nuint32 flags, const pnuit8 certificate, const nuit32 certificateLength);
Returns 0 if successful, or an eDirectory or PKI error code if not successful.
The certificate and certificateLength variables are used if there is no nickname for the user certificate. This can happen if the certificate was added through LDAP. If the nickname field has a value, certificate and certificateLength can be NULL.
WARNING:Deleting a certificate can have severe consequences such as the inability to read encrypted email or encrypted files.