summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-11-15 23:59:09 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-11-15 23:59:09 +0000
commita078579a3b4f9a8fea38c2b32481a37b74675501 (patch)
treed359d0a9d2bc92dc86aa992eaa13cb9a25a2205b /includes
parent682c0a1b1b94d3bff3e9a1c9c6dff9eab06d9997 (diff)
downloadgnutls-a078579a3b4f9a8fea38c2b32481a37b74675501.tar.gz
gnutls_x509_*_get_*_dn_by_oid() functions have a raw_flag parameter added.
Several other fixes.
Diffstat (limited to 'includes')
-rw-r--r--includes/gnutls/x509.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/includes/gnutls/x509.h b/includes/gnutls/x509.h
index 0f1d33671f..9633c80b20 100644
--- a/includes/gnutls/x509.h
+++ b/includes/gnutls/x509.h
@@ -56,11 +56,12 @@ int gnutls_x509_crt_export( gnutls_x509_crt cert,
int gnutls_x509_crt_get_issuer_dn(gnutls_x509_crt cert, char *buf,
size_t *sizeof_buf);
int gnutls_x509_crt_get_issuer_dn_by_oid(gnutls_x509_crt cert,
- const char* oid, int indx, void *buf, size_t *sizeof_buf);
+ const char* oid, int indx, unsigned int raw_flag,
+ void *buf, size_t *sizeof_buf);
int gnutls_x509_crt_get_dn(gnutls_x509_crt cert, char *buf,
size_t *sizeof_buf);
int gnutls_x509_crt_get_dn_by_oid(gnutls_x509_crt cert, const char* oid,
- int indx, void *buf, size_t *sizeof_buf);
+ int indx, unsigned int raw_flag, void *buf, size_t *sizeof_buf);
int gnutls_x509_crt_check_hostname(gnutls_x509_crt cert,
const char *hostname);
@@ -132,7 +133,7 @@ int gnutls_x509_rdn_get(const gnutls_datum * idn,
char *buf, size_t *sizeof_buf);
int gnutls_x509_rdn_get_by_oid(const gnutls_datum * idn, const char* oid,
- int indx, char *buf, size_t *sizeof_buf);
+ int indx, unsigned int raw_flag, void *buf, size_t *sizeof_buf);
/* CRL handling functions */
@@ -149,7 +150,8 @@ int gnutls_x509_crl_export( gnutls_x509_crl crl,
int gnutls_x509_crl_get_issuer_dn(const gnutls_x509_crl crl,
char *buf, size_t *sizeof_buf);
int gnutls_x509_crl_get_issuer_dn_by_oid(gnutls_x509_crl crl,
- const char* oid, int indx, void *buf, size_t *sizeof_buf);
+ const char* oid, int indx,
+ unsigned int raw_flag, void *buf, size_t *sizeof_buf);
int gnutls_x509_crl_get_signature_algorithm(gnutls_x509_crl crl);
int gnutls_x509_crl_get_version(gnutls_x509_crl crl);
@@ -292,7 +294,7 @@ int gnutls_x509_crq_get_pk_algorithm( gnutls_x509_crq crq, unsigned int* bits);
int gnutls_x509_crq_get_dn(gnutls_x509_crq crq, char *buf,
size_t *sizeof_buf);
int gnutls_x509_crq_get_dn_by_oid(gnutls_x509_crq crq, const char* oid,
- int indx, void *buf, size_t *sizeof_buf);
+ int indx, unsigned int raw_flag, void *buf, size_t *sizeof_buf);
int gnutls_x509_crq_set_dn_by_oid(gnutls_x509_crq crq, const char* oid,
unsigned int raw_flag, const void *name, unsigned int sizeof_name);
int gnutls_x509_crq_set_version(gnutls_x509_crq crq, unsigned int version);