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::ACTIVITY::TOOLS::RETRIEVECERTIFICATE (3)

.ds Aq ’

Name

OpenXPKI::Server::Workflow::Activity::Tools::RetrieveCertificate

CONTENTS

Description

Searches certificate database for certificate with the matching criteria.

Activity configuration: certificateoutcontextkey context parameter to use for output certificate
(default: certificate) certidentifieroutcontextkey context parameter to use for output certificate
identifier
(default: none, do not write to context)

certstatus Only match certificates with the specified
status. May be one of the following:
ISSUED: certificate is not revoked (DEFAULT)
CRL_ISSUANCE_PENDING: certificate is revoked,
but does not yet appear on any CRL
REVOKED:
certificate is revoked
ANY: matches any certificate state

Operation mode 1: search for certificate identifier

If no activity options are specified this activity expects to find the a context parameter cert_identifier. Its value is used to query the database and search the corresponding certificate.

Sets context parameter ’certificate’ to PEM encoded certificate with the matching certificate identifier.

Operation mode 2: search for particular certificate with specified criteria

This operation mode is enabled if at least one of the following activity parameters are defined in the activity definition. The parameter cert_identifier is IGNORED if any of these parameters are defined.

cert_profile: filter certificates with this profile (required) cert_subject: filter certificates with specified subject min_remaining_validity: filter certificates with a minimum of the specified
number of days remaining before expiration valid_at: filter certificates which are valid at specified
time (allowed: Unix timestamp or YYYYMMDD,
distinguished by value length)

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

The first certificate with the matching criteria is exported via the context parameter ’certificate’ (PEM encoded).

Only if explicitly set in the activity configuration via identifieroutcontextkey the specified context entry is set by the activity to contain the retrieved certificate identifier.

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


perl v5.20.3 OPENXPKI::SERVER::WORKFLOW::ACTIVITY::TOOLS::RETRIEVECERTIFICATE (3) 2016-04-03

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