Apply pubkey and signature constraints in vici plugin

This commit is contained in:
Andreas Steffen
2015-12-17 17:49:48 +01:00
parent a78e1c3b11
commit cc874350b8
4 changed files with 124 additions and 115 deletions
+7
View File
@@ -181,6 +181,13 @@ struct auth_cfg_t {
*/
void (*add)(auth_cfg_t *this, auth_rule_t rule, ...);
/**
* Add public key and signature scheme constraints to the set.
*
* @param constraints constraints string (e.g. "rsa-sha384")
*/
void (*add_pubkey_constraints)(auth_cfg_t *this, char *constraints);
/**
* Get a rule value.
*