OpenXPKI::Server::Workflow::Condition::CertificateHasStatus
The condition checks if the certificate identified by cert_identifier has the
status given in the parameter expected_status. Only certs in the current realm
are checked, if the certificate is not found, the condition behaves as the
status does not match but sends another verbose error.
is_certificate_issued:
class: OpenXPKI::Server::Workflow::Condition::CertificateHasStatus
param:
expected_status: ISSUED
- expected_status
- The status to check against, expects a single status word, possible values
are ISSUED, REVOKED, CRL_ISSUANCE_PENDING, EXPIRED, VALID
- cert_identifier
- The certificate to check, if not present as explicit parameter the context
value with same key will be used.
- empty_ok
- Boolean, if true the condition will silently be false if cert_identifier
is not set. If not set, a configuration_error is thrown (which is also
false but creates a log message).