summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2007-05-25 12:18:44 +0000
committerSimon Josefsson <simon@josefsson.org>2007-05-25 12:18:44 +0000
commit36161e84c15a5fd8c1c7b92e6fb839877eb3bcb2 (patch)
treedfccbfcfecd7b15a3f6244a6deb0a12651f4288b
parentec106a2d1c2175d8a46aadb106c51b395abb8d73 (diff)
downloadgnutls-36161e84c15a5fd8c1c7b92e6fb839877eb3bcb2.tar.gz
Backport from 1.7.x, add gnutls_x509_crt_get_raw_issuer_dn,
gnutls_x509_crt_get_raw_dn.
-rw-r--r--includes/gnutls/x509.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/includes/gnutls/x509.h b/includes/gnutls/x509.h
index 29e82eaab4..5669702a08 100644
--- a/includes/gnutls/x509.h
+++ b/includes/gnutls/x509.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003, 2004, 2005 Free Software Foundation
+ * Copyright (C) 2003, 2004, 2005, 2007 Free Software Foundation
*
* Author: Nikos Mavroyanopoulos
*
@@ -250,6 +250,12 @@ extern "C"
int gnutls_x509_crt_set_subject_key_id (gnutls_x509_crt_t cert,
const void *id, size_t id_size);
+ /* Access to internal Certificate fields.
+ */
+ int gnutls_x509_crt_get_raw_issuer_dn (gnutls_x509_crt_t cert,
+ gnutls_datum_t * start);
+ int gnutls_x509_crt_get_raw_dn (gnutls_x509_crt_t cert,
+ gnutls_datum_t * start);
/* RDN handling.
*/