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::PARSECERTIFICATE (3)

.ds Aq ’

Name

OpenXPKI::Server::Workflow::Activity::Tools::ParseCertificate

CONTENTS

Description

Parse certificate and populate context entries with parsed information from the certificate.

Parameters

    cert_attrmap

Map parsed certificate attributes to context parameter names, allowing flexible access and assignment of data parsed certificates into the context. Must be defined, otherwise no output is generated in the context. Mapping keys must be specified correctly (including case), otherwise an exception is thrown.

List of (useful) mapping keys, the available values are identical to the entries in the X.509 class member variable $cert->{PARSED}->{BODY}. Some of these entries are not scalar values, but complex types. These are currently not available and referencing them cause an exception to be thrown.



    SUBJECT
    SERIAL
    SERIAL_HEX
    IS_CA
    ISSUER
    EMAILADDRESS



Less useful, but still available:



    PUBKEY_ALGORITHM
    SIGNATURE_ALGORITHM
    CA_KEYID
    EXPONENT           (hexadecimal string)
    FINGERPRINT
    KEYID
    KEYSIZE
    MODULUS            (hexadecimal string)
    OPENSSL_SUBJECT
    PLAIN_EXTENSIONS   (large text blob, unstructured)
    VERSION



Example for cert_attrmap:

SUBJECT -> cert_subject, ISSUER -> cert_issuer

Writes the certificate subject to the context entry ’cert_subject’, the certificate issuer to ’cert_issuer’.

    certificateincontextkey

Context parameter to use for input certificate (default: certificate)
Search for    or go to Top of page |  Section 3 |  Main Index


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

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