ipsec pki --issue suports --flag authServer option

This commit is contained in:
Andreas Steffen
2009-10-05 22:44:01 +02:00
parent ce40bf5def
commit 408e46a324
6 changed files with 46 additions and 19 deletions
@@ -20,6 +20,7 @@ ENUM(x509_flag_names, X509_NONE, X509_SELF_SIGNED,
"X509_CA",
"X509_AA",
"X509_OCSP_SIGNER",
"X509_SERVER_AUTH",
"X509_SELF_SIGNED",
);
@@ -39,8 +39,10 @@ enum x509_flag_t {
X509_AA = (1<<1),
/** cert has OCSP signer constraint */
X509_OCSP_SIGNER = (1<<2),
/** cert has serverAuth constraint */
X509_SERVER_AUTH = (1<<3),
/** cert is self-signed */
X509_SELF_SIGNED = (1<<3),
X509_SELF_SIGNED = (1<<4),
};
/**