diff options
author | Simon Josefsson <simon@josefsson.org> | 2007-02-12 13:20:45 +0000 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2007-02-12 13:20:45 +0000 |
commit | 946dce1d8b0ea2a29dffa29f78de2d0cbec1b5ad (patch) | |
tree | a0f3670eafa796a79020d0b6b2dea484bc4bb63e /lib | |
parent | 80aeed102f1a2ca1618b4150187a978de4a9db55 (diff) | |
download | gnutls-946dce1d8b0ea2a29dffa29f78de2d0cbec1b5ad.tar.gz |
Doc fix.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/x509/x509.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/x509/x509.c b/lib/x509/x509.c index b4a9686d1e..0b5096ca7c 100644 --- a/lib/x509/x509.c +++ b/lib/x509/x509.c @@ -1122,6 +1122,11 @@ get_subject_alt_name (gnutls_x509_crt_t cert, * the corresponding OID and the "virtual" SAN types (e.g., * %GNUTLS_SAN_OTHERNAME_XMPP). * + * If an otherName OID is known, the data will be decoded. Otherwise + * the returned data will be DER encoded, and you will have to decode + * it yourself. Currently, only the RFC 3920 id-on-xmppAddr SAN is + * recognized. + * * Returns the alternative subject name type on success. The type is * one of the enumerated gnutls_x509_subject_alt_name_t. It will * return %GNUTLS_E_SHORT_MEMORY_BUFFER if @ret_size is not large |