GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
OpenXPKI::Server::Workflow::Validator::CertIdentifierExists(3) User Contributed Perl Documentation OpenXPKI::Server::Workflow::Validator::CertIdentifierExists(3)

OpenXPKI::Server::Workflow::Validator::CertIdentifierExists

    class: OpenXPKI::Server::Workflow::Validator::CertIdentifierExists
    param:
        entity_only: 1
        pki_realm: _any
    arg:
      - $cert_identifier

This validator checks whether a given certificate identifier exists. Based on the parameters it can check weather the certificate is in a given realm and if it is an entity certificate. Both parameters are optional. Note that there is no check on the validity of the certificate.

To check if the certificate identifier is an register alias, you can set is_token or in_alias_group. This requires that an entry in the alias table exists with the given properties. Note that those flags expect the alias to be registered in the current session realm and do not check the realm of the certificate itself, any value given to pki_realm is ignored.

$cert_identifier
The certificate identifier

empty_ok
Silently pass if no cert_identifier was given, useful when a workflow has an alternative way to pass the identifier, e.g. via PEM block.
pki_realm
Can be the name of a realm or the special word _any. If not given, default ist to check in the session realm only!
entity_only
If set, the certificate must be an entity certificate.
is_token
Expects the name of a token type as defined in crypto.type and checks if the certificate has an registered alias matching this token type in the current realm.
in_alias_group
Expects the name of an alias group and checks if the certificate has an registered alias in this group.
2022-05-14 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.