Added key strength constraints for RSA or ECDSA trustchains

This commit is contained in:
Martin Willi
2011-01-05 16:45:53 +01:00
parent 586070d2ce
commit 963b4d9477
3 changed files with 97 additions and 0 deletions
+4
View File
@@ -90,6 +90,10 @@ enum auth_rule_t {
* The group membership constraint is fulfilled if the subject is member of
* one group defined in the constraints. */
AUTH_RULE_GROUP,
/** required RSA public key strength, u_int in bits */
AUTH_RULE_RSA_STRENGTH,
/** required ECDSA public key strength, u_int in bits */
AUTH_RULE_ECDSA_STRENGTH,
/** intermediate certificate, certificate_t* */
AUTH_HELPER_IM_CERT,