summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2004-06-06 16:24:49 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2004-06-06 16:24:49 +0000
commitc80e4f4bdba5a4c5b70c817662b3478e57d74f91 (patch)
tree0279b035a1d70919a461abc01dc48d4a43cc5455 /includes
parentb47cfda584ab752608d9ffbc6aa88b1150649686 (diff)
downloadgnutls-c80e4f4bdba5a4c5b70c817662b3478e57d74f91.tar.gz
Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
Diffstat (limited to 'includes')
-rw-r--r--includes/gnutls/x509.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/includes/gnutls/x509.h b/includes/gnutls/x509.h
index c97832508a..0d8cfbd5c5 100644
--- a/includes/gnutls/x509.h
+++ b/includes/gnutls/x509.h
@@ -132,6 +132,12 @@ time_t gnutls_x509_crt_get_expiration_time(gnutls_x509_crt cert);
int gnutls_x509_crt_get_serial(gnutls_x509_crt cert, void* result, size_t* result_size);
int gnutls_x509_crt_get_pk_algorithm( gnutls_x509_crt cert, unsigned int* bits);
+int gnutls_x509_crt_get_pk_rsa_raw(gnutls_x509_crt crt,
+ gnutls_datum * m, gnutls_datum *e);
+int gnutls_x509_crt_get_pk_dsa_raw(gnutls_x509_crt crt,
+ gnutls_datum * p, gnutls_datum *q,
+ gnutls_datum *g, gnutls_datum *y);
+
int gnutls_x509_crt_get_subject_alt_name(gnutls_x509_crt cert,
unsigned int seq, void *ret, size_t *ret_size, unsigned int* critical);
int gnutls_x509_crt_get_ca_status(gnutls_x509_crt cert, unsigned int* critical);