diff options
author | Martin Willi <martin@revosec.ch> | 2010-11-25 15:26:51 +0100 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2011-01-05 16:45:53 +0100 |
commit | 963b4d9477fb77a86483f07b5b51bbc859b5aef6 (patch) | |
tree | e0d2943a13c7b1c512d4dbb5a97608e284017271 /src/libstrongswan/credentials/auth_cfg.h | |
parent | 586070d2ce20881dca659b3aee9f11b8d6191d1f (diff) | |
download | strongswan-963b4d9477fb77a86483f07b5b51bbc859b5aef6.tar.bz2 strongswan-963b4d9477fb77a86483f07b5b51bbc859b5aef6.tar.xz |
Added key strength constraints for RSA or ECDSA trustchains
Diffstat (limited to 'src/libstrongswan/credentials/auth_cfg.h')
-rw-r--r-- | src/libstrongswan/credentials/auth_cfg.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstrongswan/credentials/auth_cfg.h b/src/libstrongswan/credentials/auth_cfg.h index 19624a2fe..ba92b16e0 100644 --- a/src/libstrongswan/credentials/auth_cfg.h +++ b/src/libstrongswan/credentials/auth_cfg.h @@ -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, |