summaryrefslogtreecommitdiff
path: root/src/certtool-cfg.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-07-11 11:43:10 +0200
committerGitLab <gitlab@gitlab.com>2016-07-13 12:28:11 +0000
commitac51009cc237141c8787a49b75226a2f87f124f5 (patch)
tree1620dabbd2615585df97c32abf118031eec66088 /src/certtool-cfg.h
parent2f88e2b5b4b27ad67d68d6d4ad872a2b2fb93f9e (diff)
downloadgnutls-ac51009cc237141c8787a49b75226a2f87f124f5.tar.gz
certtool: added options to set arbitrary extensions to certificates and requests
This allows setting arbitrary extensions using the following new template options: add_extension = "5.6.7.8 0x0001020304050607AAABCD" add_critical_extension = "9.10.11.12.13.14.15.16.17.1.5 0xCAFE" The "0x" prefix can be omitted.
Diffstat (limited to 'src/certtool-cfg.h')
-rw-r--r--src/certtool-cfg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/certtool-cfg.h b/src/certtool-cfg.h
index 2c54d7f1af..8d1daadca9 100644
--- a/src/certtool-cfg.h
+++ b/src/certtool-cfg.h
@@ -75,6 +75,7 @@ int get_sign_status(int server);
void get_ip_addr_set(int type, void *crt);
void get_dns_name_set(int type, void *crt);
void get_other_name_set(int type, void *crt);
+void get_extensions_crt_set(int type, void *crt);
void get_policy_set(gnutls_x509_crt_t);
void get_uri_set(int type, void *crt);
void get_email_set(int type, void *crt);