OpenXPKI::Server::Workflow::Activity::Tools::DetermineSubjectStyle
Determine a subject style to use during renewal of a certificate. The activity
first tries to find the initial CSR workflow of the given certificate and to
load the value of cert_subject_style from the context. If found, it
checks if this value exists and has a "UI" section in the given
profile.
If no subject style can be found this way, it takes the first
subject style from the given profile that has an UI section. See
fallback_policy to fine tune this behaviour.
- cert_identifier
- cert_profile
- target_prefix (optional)
- If set, the key cert_subject_style is prepended by this prefix, default is
empty.
- fallback_policy (optional)
- Set to unique if you only want to accept a "guessed"
result if it is uambigous, which means there is only one style with an UI
section in the profile so it is the only possible option.
Set to none if you dont want any "guessing"
in case the original subject style is not found.
- cert_identifier
- Used as fallback if activity parameter is not set
- cert_profile
- Used as fallback if activity parameter is not set
- cert_subject_style
- Contains the used cert_subject_style, if found.