summaryrefslogtreecommitdiff
path: root/lib/includes/gnutls/x509.h
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-12-11 08:33:04 +0100
committerSimon Josefsson <simon@josefsson.org>2008-12-11 08:33:04 +0100
commite311252bf0dd32fb2ca52e327763ae856e54e3f7 (patch)
tree5f98439ab77ad684171cca7460c3add494938a44 /lib/includes/gnutls/x509.h
parent894e7471ab51c30f67f379f9b80530b9a9d22b11 (diff)
downloadgnutls-e311252bf0dd32fb2ca52e327763ae856e54e3f7.tar.gz
gnutls: New interface to get key id for certificate requests.
Patch from David Marín Carreño <davefx@gmail.com> in <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3321>.
Diffstat (limited to 'lib/includes/gnutls/x509.h')
-rw-r--r--lib/includes/gnutls/x509.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/includes/gnutls/x509.h b/lib/includes/gnutls/x509.h
index 63da3201cb..00c62a609b 100644
--- a/lib/includes/gnutls/x509.h
+++ b/lib/includes/gnutls/x509.h
@@ -738,6 +738,9 @@ extern "C"
int gnutls_x509_crq_get_pk_algorithm (gnutls_x509_crq_t crq,
unsigned int *bits);
+ int gnutls_x509_crq_get_key_id (gnutls_x509_crq_t crq, unsigned int flags,
+ unsigned char *output_data,
+ size_t * output_data_size);
int gnutls_x509_crq_get_key_rsa_raw (gnutls_x509_crq_t crq,
gnutls_datum_t * m,
gnutls_datum_t * e);