NSAPI_PUBLIC
int ldapu_get_cert_der (void *cert,
unsigned char **derCert, unsigned int *len);
Name | Description |
---|---|
cert | Certificate from which you want to extract the original DER data. |
derCert | The original DER encoded certificate. |
len |
The length of the derCert argument.
|
LDAPU_SUCCESS
, if the function was successful.
ldapu_err2string()
to get more information on the problem.)
ldapu_free()
function to free the value from memory.
ldapu_free()
.