diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-07-11 11:41:14 +0200 |
---|---|---|
committer | GitLab <gitlab@gitlab.com> | 2016-07-13 12:28:11 +0000 |
commit | 2f88e2b5b4b27ad67d68d6d4ad872a2b2fb93f9e (patch) | |
tree | 0169f922c265ba6a2cafc3bb363163f89b3b53ac /lib/includes/gnutls/x509.h | |
parent | 3696fbc57b4814eed10b348401a2ec94b347cba5 (diff) | |
download | gnutls-2f88e2b5b4b27ad67d68d6d4ad872a2b2fb93f9e.tar.gz |
added gnutls_x509_crq_set_extension_by_oid()
This is a function to add an arbitrary extension into a
certificate request.
Diffstat (limited to 'lib/includes/gnutls/x509.h')
-rw-r--r-- | lib/includes/gnutls/x509.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/includes/gnutls/x509.h b/lib/includes/gnutls/x509.h index 35db44b796..1b5bcbbf23 100644 --- a/lib/includes/gnutls/x509.h +++ b/lib/includes/gnutls/x509.h @@ -1238,6 +1238,12 @@ int gnutls_x509_crq_get_version(gnutls_x509_crq_t crq); int gnutls_x509_crq_set_key(gnutls_x509_crq_t crq, gnutls_x509_privkey_t key); +int +gnutls_x509_crq_set_extension_by_oid(gnutls_x509_crq_t crq, + const char *oid, const void *buf, + size_t sizeof_buf, + unsigned int critical); + int gnutls_x509_crq_set_challenge_password(gnutls_x509_crq_t crq, const char *pass); int gnutls_x509_crq_get_challenge_password(gnutls_x509_crq_t crq, |