Mercurial > pidgin
diff libpurple/certificate.h @ 18931:e634122cec47
- purple_ssl_get_peer_certificates
author | William Ehlhardt <williamehlhardt@gmail.com> |
---|---|
date | Thu, 21 Jun 2007 20:56:54 +0000 |
parents | 299022c9b32d |
children | d0d88bd477c1 |
line wrap: on
line diff
--- a/libpurple/certificate.h Thu Jun 21 20:53:03 2007 +0000 +++ b/libpurple/certificate.h Thu Jun 21 20:56:54 2007 +0000 @@ -131,9 +131,16 @@ /** Reference to the verification logic used */ PurpleCertificateVerifier *verifier; - /** List of certificates in the chain to be verified. + /** Certificate subject's name. + * + * For X.509 certificates, this is the Common Name + */ + gchar *subject_name; + + /** List of certificates in the chain to be verified (such as that returned by purple_ssl_get_peer_certificates ) * * This is most relevant for X.509 certificates used in SSL sessions. + * The list order should be: certificate, issuer, issuer's issuer, etc. */ GList *cert_chain;