NPKINickName

Obtains a pointer to a certificate nickname (formerly NWPKINickName).

Syntax

    #include "npki.h"
    
    NWRCODE NPKINickName(
       const NPKIContext    context 
       nuint32              index,
       unicode const      **nickName);
    

Parameters

context
(IN) Specifies the NPKI context for the request.
index
(IN) Specifies which nickname is to be returned.

NOTE:index is 0 based.

nickName
(OUT) Returns the specified nickname.

Return Values

Returns 0 if successful, or an eDirectory or PKI error code if not successful.

Remarks

You must call NPKIReadAllNickNames successfully before calling NPKINickName.

See Also

NPKIFindUserCertificates, NPKIReadAllNickNames