summaryrefslogtreecommitdiff
path: root/lib/includes/gnutls/x509.h
diff options
context:
space:
mode:
authorBrad Hards <bradh@frogmouth.net>2010-08-20 19:36:34 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-08-20 19:36:34 +0200
commit7826b79af04beba273a1ca15e74167281daa3575 (patch)
treeae177ce7eaa2d0c0ffd27bf22326bbfd6d02786e /lib/includes/gnutls/x509.h
parentaa5d64e9992c683bf50b92a9088adaf545a2e5a0 (diff)
downloadgnutls-7826b79af04beba273a1ca15e74167281daa3575.tar.gz
As identified in a previous mail, I've added support for accessing / displaying
the subjectUniqueID and issuerUniqueID fields within an X.509 certificate. This is provided (along with a test case) in the attached patch. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Diffstat (limited to 'lib/includes/gnutls/x509.h')
-rw-r--r--lib/includes/gnutls/x509.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/includes/gnutls/x509.h b/lib/includes/gnutls/x509.h
index 3f07ad435a..6a313df3c0 100644
--- a/lib/includes/gnutls/x509.h
+++ b/lib/includes/gnutls/x509.h
@@ -152,6 +152,12 @@ extern "C"
void *ret, size_t * ret_size,
unsigned int *critical);
+ int gnutls_x509_crt_get_subject_unique_id (gnutls_x509_crt_t crt, char *buf,
+ size_t * sizeof_buf);
+
+ int gnutls_x509_crt_get_issuer_unique_id (gnutls_x509_crt_t crt, char *buf,
+ size_t * sizeof_buf);
+
#define GNUTLS_CRL_REASON_UNUSED 128
#define GNUTLS_CRL_REASON_KEY_COMPROMISE 64
#define GNUTLS_CRL_REASON_CA_COMPROMISE 32