NPKICSRInfo

Obtains a pointer to a PKCS #10 Certificate Signing Request (CSR) and its corresponding size (formerly NWPKICSRInfo).

Syntax

    #include "npki.h"
    
    NWRCODE NPKICSRInfo(
       const NPKIContext     context,
       pnuint32              csrSize, 
       nuint8 const        **csr);
    

Parameters

context
(IN) Specifies the NPKI context for the request.
csrSize
(OUT) Returns the size of the CSR.
csr
(OUT) Returns a pointer to a DER-encoded CSR.

Return Values

Returns 0 if successful, or a PKI error code if not successful.

Remarks

You must call NPKICreateServerCertificate successfully (using the external CA method) immediately before calling this function.

See Also

NPKICreateServerCertificate