summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2004-06-05 17:37:04 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2004-06-05 17:37:04 +0000
commit511efe55dd36eb5908f8019f927a7c31dde3c880 (patch)
tree3756de3d43a754c6bef0e0534d1bd29ad1852a16 /includes
parent71ba82715d8c628b745e5806a7717b28c2736772 (diff)
downloadgnutls-511efe55dd36eb5908f8019f927a7c31dde3c880.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 88b5d2a3d0..9b4c35690f 100644
--- a/includes/gnutls/x509.h
+++ b/includes/gnutls/x509.h
@@ -135,6 +135,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);