From 9b401257823b3a618fe6a9e3588f2d78619ed2ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sun, 14 Jan 2007 18:19:27 +0000 Subject: [PATCH] Add template flags. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19898 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hx509/hx509.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/hx509/hx509.h b/lib/hx509/hx509.h index 97443a2fd..e9c11bd28 100644 --- a/lib/hx509/hx509.h +++ b/lib/hx509/hx509.h @@ -109,4 +109,13 @@ typedef enum { #define HX509_SELECT_PUBLIC_SIG 2 #define HX509_SELECT_PUBLIC_ENC 3 +/* flags to hx509_ca_tbs_set_template */ +#define HX509_CA_TEMPLATE_SUBJECT 1 +#define HX509_CA_TEMPLATE_SERIAL 2 +#define HX509_CA_TEMPLATE_NOTBEFORE 4 +#define HX509_CA_TEMPLATE_NOTAFTER 8 +#define HX509_CA_TEMPLATE_SPKI 16 +#define HX509_CA_TEMPLATE_KU 32 +#define HX509_CA_TEMPLATE_EKU 64 + #include