summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-11-14 11:42:47 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-11-14 11:42:47 +0000
commit28daa8ede423d6d2eb40aad778fb629173e8fcb6 (patch)
treec7a240872e9ead762f231b3a534b3a143db169b2 /includes
parentc59d3397e626b355b3e892eff7970efcf21c9824 (diff)
downloadgnutls-28daa8ede423d6d2eb40aad778fb629173e8fcb6.tar.gz
added gnutls_x509_oid_known() to report known OIDs.
Diffstat (limited to 'includes')
-rw-r--r--includes/gnutls/x509.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/gnutls/x509.h b/includes/gnutls/x509.h
index 3c89aef986..59db880077 100644
--- a/includes/gnutls/x509.h
+++ b/includes/gnutls/x509.h
@@ -82,6 +82,8 @@ 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);
+
/* key_usage will be an OR of the following values:
*/
#define GNUTLS_KEY_DIGITAL_SIGNATURE 256