OpenXPKI::Server::Workflow::Condition::KeyParams
Validate the given key parameters against the definitions read from the profile
or from the key_rules parameter.
is_key_param_valid:
class: OpenXPKI::Server::Workflow::Condition::KeyParams
param:
_map_cert_profile: $cert_profile
_map_key_params: $csr_key_params
_map_key_alg: $csr_key_alg
- key_alg
- The algorithm of the key, must match a key on the top level of the
key_rules.
- key_params
- The parameters of the key to validate as hashref.
- key_rules
- Ruleset to validate against, if not given the paramter cert_profile
is mandatory and the rules are read from the profile definition.
- cert_profile
- Name of the certificate profile, only used if key_rules is not
set.