summaryrefslogtreecommitdiff
path: root/includes/gnutls
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-02-07 21:03:28 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-02-07 21:03:28 +0000
commit29909c3ecbcd8f6e042550bffd67aa0777bedefe (patch)
tree8090cf5feaacd013dccaea168f0a7da7d002fa1b /includes/gnutls
parent542ed9ae7641c328ee6dc928c3ef964ad8b025e5 (diff)
downloadgnutls-29909c3ecbcd8f6e042550bffd67aa0777bedefe.tar.gz
Criticality of an X.509 extension can now be extracted.
Diffstat (limited to 'includes/gnutls')
-rw-r--r--includes/gnutls/x509.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/includes/gnutls/x509.h b/includes/gnutls/x509.h
index 95fd84a84c..6acc72748d 100644
--- a/includes/gnutls/x509.h
+++ b/includes/gnutls/x509.h
@@ -73,10 +73,11 @@ int gnutls_x509_certificate_get_serial(gnutls_x509_certificate cert, char* resul
int gnutls_x509_certificate_get_pk_algorithm( gnutls_x509_certificate cert, int* bits);
int gnutls_x509_certificate_get_subject_alt_name(gnutls_x509_certificate cert,
- int seq, char *ret, int *ret_size);
-int gnutls_x509_certificate_get_ca_status(gnutls_x509_certificate cert);
+ int seq, char *ret, int *ret_size, int* critical);
+int gnutls_x509_certificate_get_ca_status(gnutls_x509_certificate cert, int* critical);
-int gnutls_x509_certificate_get_key_usage( gnutls_x509_certificate cert, unsigned int* key_usage);
+int gnutls_x509_certificate_get_key_usage( gnutls_x509_certificate cert, unsigned int* key_usage,
+ int* critical);
/* key_usage will be an OR of the following values:
*/
@@ -91,7 +92,7 @@ int gnutls_x509_certificate_get_key_usage( gnutls_x509_certificate cert, unsigne
#define GNUTLS_KEY_DECIPHER_ONLY 1
int gnutls_x509_certificate_get_extension_by_oid(gnutls_x509_certificate cert, const char* oid,
- unsigned char* buf, int * sizeof_buf);
+ unsigned char* buf, int * sizeof_buf, int * critical);
int gnutls_x509_certificate_to_xml(gnutls_x509_certificate cert, gnutls_datum* res, int detail);