[Previous] [Next]

ldapu_get_cert_issuer_dn()

Gets the distinguished name (DN) of the certificate authority (CA) who issued the certificate.

Syntax
NSAPI_PUBLIC 
int ldapu_get_cert_issuer_dn (void *cert,
      char **issuerDN);
Parameters
This function has the following parameters:
Name Description
cert
Certificate for which you want to get the CA name.

issuerDN
DN of the CA who issued the certificate.

Returns
Returns one of the following values:

Description
This function returns the distinguished name (DN) that identifies the certificate authority (CA) who signed the certificate presented to the server.

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.

See Also
ldapu_get_cert_subject_dn(), ldapu_get_cert_ava_val(), ldapu_free().


[Previous] [Next]


Copyright ⌐ 1997 Netscape Communications Corporation