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::CRYPTO::BACKEND::OPENSSL::XS (3)

.ds Aq ’

Name

OpenXPKI::Crypto::Backend::OpenSSL::XS

CONTENTS

Description

This is the basic XS class to provide OpenXPKI with an OpenSSL based library.

Functions

    new

is the constructor. It requires no parameters.

    set_config

sets the file name of the OpenSSL configuration. This is necessary if you want to use a special engine for the parsing of the crypto objects.

    get_object

is used to get access to a cryptographic object. The following objects are supported today:
o SPKAC
o PKCS10
o X509
o CRL
You must specify the type of the object in the parameter TYPE. Additionally you must specify the format if several different formats are supported. If you do not do this then PEM is assumed. The most important parameter is DATA which contains the plain object data which must be parsed.

The returned value can be a scalar or a reference. You must not use this value directly. You have to use the functions get_object_function or free_object to access the object.

    get_object_function

is used to execute functions on the object. The function expects two parameters the OBJECT and the FUNCTION which should be called. All functions have no parameters. The result of the function will be returned.

When parsing an X.509 certificate the NotBefore and NotAfter dates are returned as hash references containing the following keys:
raw => date as returned by the OpenSSL parser
epoch => seconds since the epoch
object => blessed DateTime object with TimeZone set to UTC
iso8601 => string containing the ISO8601 formatted date (UTC)
openssltime => string containing an OpenSSL compatible date string (UTC)

    free_object

frees the object internally. The only parameter is the object which was returned by get_object.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 OPENXPKI::CRYPTO::BACKEND::OPENSSL::XS (3) 2016-04-03

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