NSS doesn't appear to give an accessor function for the nickname of a
cert, so you may have to do cert->nickname until such an accessor is
provided.
Kannan Bhoopathy wrote:
> Hello,
>
> How to find the nickname of a certificate if we have a pointer to
> CERTCertificate.
>
> Actually I call SSL_PeerCertificate(fd) to obtain peer certificate. But
> how do I find the nickname
> of the peer certificate?
>
> -- Kannan.
>
>
--
Javier Delgadillo Sun / Netscape Alliance
(408) 276-3977 Software Engineer
mailto:[EMAIL PROTECTED] http://people.netscape.com/javi