NSAPI_PUBLIC
int ldapu_get_cert_issuer_dn (void *cert,
char **issuerDN);
Name | Description |
---|---|
cert | Certificate for which you want to get the CA name. |
issuerDN | DN of the CA who issued the certificate. |
LDAPU_SUCCESS
, if the function was successful.
ldapu_err2string()
to get more information on the problem.)
If you want to get the value of a component of the DN (such as the value of the cn
component) rather than the entire DN, call the ldapu_get_cert_ava_val()
function instead.
After you are done working with the issuerDN
value returned by this function, you should call ldapu_free()
to free the value.
ldapu_get_cert_subject_dn()
, ldapu_get_cert_ava_val()
, ldapu_free()
.