summaryrefslogtreecommitdiff
path: root/lib/x509
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-01-10 00:38:54 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-01-10 00:38:54 +0100
commit009593680ab18c42bc6b80766285ddacde10c01a (patch)
tree2c4da45ea61581861b76edaef9d46aedba24cdf8 /lib/x509
parentaea85eb5bf997f03c896b01b3839f6eb33ae41e6 (diff)
downloadgnutls-009593680ab18c42bc6b80766285ddacde10c01a.tar.gz
Added discussion of distinguished names.
Diffstat (limited to 'lib/x509')
-rw-r--r--lib/x509/crl.c8
-rw-r--r--lib/x509/dn.c6
-rw-r--r--lib/x509/x509.c16
3 files changed, 15 insertions, 15 deletions
diff --git a/lib/x509/crl.c b/lib/x509/crl.c
index d8056d3cf6..895addd5cf 100644
--- a/lib/x509/crl.c
+++ b/lib/x509/crl.c
@@ -168,7 +168,7 @@ cleanup:
*
* This function will copy the name of the CRL issuer in the provided
* buffer. The name will be in the form "C=xxxx,O=yyyy,CN=zzzz" as
- * described in RFC2253. The output string will be ASCII or UTF-8
+ * described in RFC4514. The output string will be ASCII or UTF-8
* encoded, depending on the certificate data.
*
* If buf is %NULL then only the size will be filled.
@@ -204,13 +204,13 @@ gnutls_x509_crl_get_issuer_dn (const gnutls_x509_crl_t crl, char *buf,
*
* This function will extract the part of the name of the CRL issuer
* specified by the given OID. The output will be encoded as described
- * in RFC2253. The output string will be ASCII or UTF-8 encoded,
+ * in RFC4514. The output string will be ASCII or UTF-8 encoded,
* depending on the certificate data.
*
* Some helper macros with popular OIDs can be found in gnutls/x509.h
* If raw flag is (0), this function will only return known OIDs as
- * text. Other OIDs will be DER encoded, as described in RFC2253 -- in
- * hex format with a '\#' prefix. You can check about known OIDs
+ * text. Other OIDs will be DER encoded, as described in RFC4514 -- in
+ * hex format with a '#' prefix. You can check about known OIDs
* using gnutls_x509_dn_oid_known().
*
* If buf is null then only the size will be filled.
diff --git a/lib/x509/dn.c b/lib/x509/dn.c
index fd9052ea4b..32f52ba4e9 100644
--- a/lib/x509/dn.c
+++ b/lib/x509/dn.c
@@ -50,7 +50,7 @@ oid2ldap_string (const char *oid)
return oid;
}
-/* Escapes a string following the rules from RFC2253.
+/* Escapes a string following the rules from RFC4514.
*/
static char *
str_escape (char *str, char *buffer, unsigned int buffer_size)
@@ -1030,7 +1030,7 @@ gnutls_x509_dn_deinit (gnutls_x509_dn_t dn)
*
* This function will return the name of the given RDN sequence. The
* name will be in the form "C=xxxx,O=yyyy,CN=zzzz" as described in
- * RFC2253.
+ * RFC4514.
*
* Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, or
* %GNUTLS_E_SHORT_MEMORY_BUFFER is returned and *@sizeof_buf is
@@ -1090,7 +1090,7 @@ gnutls_x509_rdn_get (const gnutls_datum_t * idn,
*
* This function will return the name of the given Object identifier,
* of the RDN sequence. The name will be encoded using the rules
- * from RFC2253.
+ * from RFC4514.
*
* Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, or
* %GNUTLS_E_SHORT_MEMORY_BUFFER is returned and *@sizeof_buf is
diff --git a/lib/x509/x509.c b/lib/x509/x509.c
index 9ed1764871..0d61c1a29d 100644
--- a/lib/x509/x509.c
+++ b/lib/x509/x509.c
@@ -254,7 +254,7 @@ cleanup:
*
* This function will copy the name of the Certificate issuer in the
* provided buffer. The name will be in the form
- * "C=xxxx,O=yyyy,CN=zzzz" as described in RFC2253. The output string
+ * "C=xxxx,O=yyyy,CN=zzzz" as described in RFC4514. The output string
* will be ASCII or UTF-8 encoded, depending on the certificate data.
*
* If @buf is null then only the size will be filled.
@@ -289,13 +289,13 @@ gnutls_x509_crt_get_issuer_dn (gnutls_x509_crt_t cert, char *buf,
*
* This function will extract the part of the name of the Certificate
* issuer specified by the given OID. The output, if the raw flag is not
- * used, will be encoded as described in RFC2253. Thus a string that is
+ * used, will be encoded as described in RFC4514. Thus a string that is
* ASCII or UTF-8 encoded, depending on the certificate data.
*
* Some helper macros with popular OIDs can be found in gnutls/x509.h
* If raw flag is (0), this function will only return known OIDs as
- * text. Other OIDs will be DER encoded, as described in RFC2253 --
- * in hex format with a '\#' prefix. You can check about known OIDs
+ * text. Other OIDs will be DER encoded, as described in RFC4514 --
+ * in hex format with a '#' prefix. You can check about known OIDs
* using gnutls_x509_dn_oid_known().
*
* If @buf is null then only the size will be filled. If the @raw_flag
@@ -364,7 +364,7 @@ gnutls_x509_crt_get_issuer_dn_oid (gnutls_x509_crt_t cert,
*
* This function will copy the name of the Certificate in the provided
* buffer. The name will be in the form "C=xxxx,O=yyyy,CN=zzzz" as
- * described in RFC2253. The output string will be ASCII or UTF-8
+ * described in RFC4514. The output string will be ASCII or UTF-8
* encoded, depending on the certificate data.
*
* If @buf is null then only the size will be filled.
@@ -399,13 +399,13 @@ gnutls_x509_crt_get_dn (gnutls_x509_crt_t cert, char *buf,
*
* This function will extract the part of the name of the Certificate
* subject specified by the given OID. The output, if the raw flag is
- * not used, will be encoded as described in RFC2253. Thus a string
+ * not used, will be encoded as described in RFC4514. Thus a string
* that is ASCII or UTF-8 encoded, depending on the certificate data.
*
* Some helper macros with popular OIDs can be found in gnutls/x509.h
* If raw flag is (0), this function will only return known OIDs as
- * text. Other OIDs will be DER encoded, as described in RFC2253 --
- * in hex format with a '\#' prefix. You can check about known OIDs
+ * text. Other OIDs will be DER encoded, as described in RFC4514 --
+ * in hex format with a '#' prefix. You can check about known OIDs
* using gnutls_x509_dn_oid_known().
*
* If @buf is null then only the size will be filled. If the @raw_flag