]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Doc fix.
authorSimon Josefsson <simon@josefsson.org>
Mon, 12 Feb 2007 13:20:45 +0000 (13:20 +0000)
committerSimon Josefsson <simon@josefsson.org>
Mon, 12 Feb 2007 13:20:45 +0000 (13:20 +0000)
lib/x509/x509.c

index b4a9686d1eaa7e641fc13cf194361aae04df4e5d..0b5096ca7ce8cb358afc43c5b318c1fd1d9ffd9d 100644 (file)
@@ -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