diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2004-06-12 12:13:18 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2004-06-12 12:13:18 +0000 |
commit | 6229d490f47b0aa2529bfb0472bb7ae04318f722 (patch) | |
tree | 865b7ffa33f521870df630f210d91ca26d3a54b7 /lib | |
parent | 4dc757081f769948813a6612aa6ef4ba50ba1bc2 (diff) | |
download | gnutls-6229d490f47b0aa2529bfb0472bb7ae04318f722.tar.gz |
*** empty log message ***
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gnutls_ui.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/gnutls_ui.c b/lib/gnutls_ui.c index 462aec6de3..d65011df4f 100644 --- a/lib/gnutls_ui.c +++ b/lib/gnutls_ui.c @@ -377,12 +377,15 @@ const gnutls_datum *gnutls_certificate_get_ours(gnutls_session session) * @session: is a gnutls session * @list_size: is the length of the certificate list * - * This function will return the peer's raw certificate (list) as - * sent by the peer. - * These certificates are in raw format (DER encoded for X.509). - * In case of a X.509 then a certificate list may be present. + * This function will return the peer's raw certificate (chain) as + * sent by the peer. These certificates are in raw format (DER encoded + * for X.509). In case of a X.509 then a certificate list may be present. * The first certificate in the list is the peer's certificate, * following the issuer's certificate, then the issuer's issuer etc. + * + * In case of OpenPGP keys a single key will be returned + * in raw format. + * * Returns NULL in case of an error, or if no certificate was sent. * **/ |