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


Manual Reference Pages  -  OPENXPKI::SERVER::WORKFLOW::CONDITION::CHECKEXISTINGCERTIFICATE (3)

.ds Aq ’

NAME

OpenXPKI::Server::Workflow::Condition::CheckExistingCertificate

CONTENTS

SYNOPSIS <condition name=‘‘usable_encryption_certificate_already_exists’’ class=‘‘OpenXPKI::Server::Workflow::Condition::CheckExistingCertificate’’> <param name=‘‘cert_profile’’ value=‘‘I18N_OPENXPKI_PROFILE_USER_FSE’’/> <!-- minimum number of days until expiration --> <param name=‘‘min_remaining_validity’’ value=‘‘90’’/> </condition>

" -->

DESCRIPTION

First operation mode: condition parameter ’expected_cert_identifiers’ is not set. The condition checks if there is at least one valid certificate with the specified search criteria. Returns a success if at least one matching certificate was found.

Second operation mode: If the parameter ’expected_cert_identifiers’ is set, its content is deserialized. The resulting array is interpreted as a list certificate identifiers. The remaining parameters are used for a database search just as in the first operation mode. The newest match (highest NotAfter date) is checked against the list of ’expected_cert_identifiers’. If the match is found in the list the condition returns success. If the ’expected_cert_identifiers’ array is empty, the condition always fails.

Side effect on success: figures out the newest matching certificate and sets the workflow context parameter ’cert_identifier’ to its certificate identifier. Side effect on success: if ’export_notafter’ is set in the activity definition, the found NotAfter date is exported to the workflow context entry specified via ’export_notafter’ in YYYYMMDDHHMMSS format.

Parameters:

cert_profile: filter certificates with this profile cert_email: filter certificates with specified email address cert_subject: filter certificates with specified subject min_remaining_validity: filter certificates with a minimum of the specified
number of days remaining before expiration

expected_cert_identifiers: presence enables second operation mode (see
above. interpreted as serialized array of
certificate identifiers to match against
query results. export_notafter if defined, the notafter date of the certificate
is written to the specified context entry

Note: if parameters specified start with a ’$’, the corresponding workflow context parameter is referenced instead of the literal string.

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


perl v5.20.3 OPENXPKI::SERVER::WORKFLOW::CONDITION::CHECKEXISTINGCERTIFICATE (3) 2016-04-03

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