Create credentials (certificate signing request / private key) for user.
PRL_HANDLE PrlApi_CreateCredentials( PRL_CONST_STR userId, PRL_CONST_STR certRole, PRL_EVENT_HANDLER_PTR handler, PRL_VOID_PTR userData, PRL_UINT32 flags );
PrlApiSecurity.h
A handle of type PHT_JOB containing the results of this asynchronous operation or PRL_INVALID_HANDLE if there's not enough memory to instantiate the job object.
To get the results from the PHT_JOB object:
3 Use the PrlResult_GetParamByIndexAsString function to obtain a string containing user private key from second param.
PrlSrv_SignCertificate
|
What do you think about this topic?
Send feedback!
|