]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
*** empty log message ***
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sun, 16 Nov 2003 10:11:11 +0000 (10:11 +0000)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sun, 16 Nov 2003 10:11:11 +0000 (10:11 +0000)
includes/gnutls/x509.h
lib/x509/common.c
lib/x509/crl.c
lib/x509/crq.c
lib/x509/x509.c
lib/x509/x509_write.c

index 66697e4db74cdf993abaf907db5b36b9d18cad28..35dd87dce364c4e0288449f8caaffa9310f871d9 100644 (file)
@@ -87,7 +87,7 @@ int gnutls_x509_crt_get_ca_status(gnutls_x509_crt cert, unsigned int* critical);
 int gnutls_x509_crt_get_key_usage( gnutls_x509_crt cert, unsigned int* key_usage,
        unsigned int* critical);
 
-int gnutls_x509_oid_known(const char* oid);
+int gnutls_x509_dn_oid_known(const char* oid);
 
 /* key_usage will be an OR of the following values:
  */
index ef592bf84dcb995165a8fd363625dba78928b51a..f719670e775334461ed13de91bda8c07e8b68623 100644 (file)
@@ -78,10 +78,10 @@ int i = 0;
 }
 
 /**
-  * gnutls_x509_oid_known - This function will return true if the given OID is known
+  * gnutls_x509_dn_oid_known - This function will return true if the given OID is known
   * @oid: holds an Object Identifier in a null terminated string
   *
-  * This function will inform about known OIDs. This is useful since functions
+  * This function will inform about known DN OIDs. This is useful since functions
   * like gnutls_x509_crt_set_dn_by_oid() use the information on known
   * OIDs to properly encode their input. Object Identifiers that are not
   * known are not encoded by these functions, and their input is stored directly
@@ -91,7 +91,7 @@ int i = 0;
   * Returns 1 on known OIDs and 0 otherwise.
   *
   **/
-int gnutls_x509_oid_known( const char* oid) 
+int gnutls_x509_dn_oid_known( const char* oid) 
 {
 int i = 0;
 
index dd8f10e671f70ad2095c37fd77567ad8f49dbcf9..a6d8df8ac197f4b696b468bb2ddaf7c9db490abd 100644 (file)
@@ -192,6 +192,9 @@ int gnutls_x509_crl_get_issuer_dn(gnutls_x509_crl crl, char *buf,
   * by the given OID. The output will be encoded as described in RFC2253.
   *
   * Some helper macros with popular OIDs can be found in gnutls/x509.h
+  * If raw flag is zero, 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 using gnutls_x509_dn_oid_known().
   *
   * If buf is null then only the size will be filled.
   *
index 1c8fb58c378cbb9bc7bbe87a9e0bc25ef96724d1..081bab1482337bf03d33527379d40bd00653d0d6 100644 (file)
@@ -198,9 +198,9 @@ int gnutls_x509_crq_get_dn(gnutls_x509_crq crq, char *buf,
   * by the given OID. The output will be encoded as described in RFC2253.
   *
   * Some helper macros with popular OIDs can be found in gnutls/x509.h
-  * This function will only return known OIDs as text. For other OIDs the output
+  * If raw flag is zero, 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 using gnutls_x509_oid_known().
+  * You can check about known OIDs using gnutls_x509_dn_oid_known().
   *
   * If buf is null then only the size will be filled.
   *
@@ -426,7 +426,7 @@ int gnutls_x509_crq_get_challenge_password(gnutls_x509_crq crq,
   *
   * Some helper macros with popular OIDs can be found in gnutls/x509.h
   * With this function you can only set the known OIDs. You can test
-  * for known OIDs using gnutls_x509_oid_known(). For OIDs that are
+  * for known OIDs using gnutls_x509_dn_oid_known(). For OIDs that are
   * not known (by gnutls) you should properly DER encode your data, and
   * call this function with raw_flag set.
   *
index a125647c08dfa7986ba6646cc7d5c686e5eb5fce..a5970da1b7787f169765b31635d18c81c380759a 100644 (file)
@@ -250,9 +250,9 @@ int gnutls_x509_crt_get_issuer_dn(gnutls_x509_crt cert, char *buf,
   * by the given OID. The output will be encoded as described in RFC2253.
   *
   * Some helper macros with popular OIDs can be found in gnutls/x509.h
-  * This function will only return known OIDs as text. For other OIDs the output
+  * If raw flag is zero, 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 using gnutls_x509_oid_known().
+  * You can check about known OIDs using gnutls_x509_dn_oid_known().
   *
   * If buf is null then only the size will be filled.
   *
@@ -343,9 +343,9 @@ int gnutls_x509_crt_get_dn(gnutls_x509_crt cert, char *buf,
   * by the given OID.
   *
   * Some helper macros with popular OIDs can be found in gnutls/x509.h
-  * This function will only return known OIDs as text. For other OIDs the output
+  * If raw flag is zero, 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 using gnutls_x509_oid_known().
+  * You can check about known OIDs using gnutls_x509_dn_oid_known().
   *
   * If buf is null then only the size will be filled.
   *
index 56f70680c84991076d535ec327cb819fcb46b30c..33008ca330cac62cbe88951b4a404719e1f73f47 100644 (file)
@@ -55,7 +55,7 @@ static void disable_optional_stuff( gnutls_x509_crt cert);
   *
   * Some helper macros with popular OIDs can be found in gnutls/x509.h
   * With this function you can only set the known OIDs. You can test
-  * for known OIDs using gnutls_x509_oid_known(). For OIDs that are
+  * for known OIDs using gnutls_x509_dn_oid_known(). For OIDs that are
   * not known (by gnutls) you should properly DER encode your data, and
   * call this function with raw_flag set.
   *
@@ -86,7 +86,7 @@ int gnutls_x509_crt_set_dn_by_oid(gnutls_x509_crt crt, const char* oid,
   *
   * Some helper macros with popular OIDs can be found in gnutls/x509.h
   * With this function you can only set the known OIDs. You can test
-  * for known OIDs using gnutls_x509_oid_known(). For OIDs that are
+  * for known OIDs using gnutls_x509_dn_oid_known(). For OIDs that are
   * not known (by gnutls) you should properly DER encode your data, and
   * call this function with raw_flag set.
   *