SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

BotDetect - Real-Time Bot Detection API
 
 

MAN page from OpenSuSE perl-OpenXPKI-Core-0.9.1389-6.362.CS.i586.rpm

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

Section: User Contributed Perl Documentation (3)
Updated: 2008-09-30
Index 

Name

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

Description

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

Functions

 

new

is the constructor. It requires no parameters. 

set_config

sets the file name of the OpenSSL configuration. This is necessaryif you want to use a special engine for the parsing of the cryptoobjects. 

get_object

is used to get access to a cryptographic object. The following objectsare supported today:
*
SPKAC
*
PKCS10
*
X509
*
CRL

You must specify the type of the object in the parameter TYPE. Additionallyyou must specify the format if several different formats are supported. Ifyou do not do this then PEM is assumed. The most important parameter isDATA 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 valuedirectly. You have to use the functions get_object_function or free_objectto access the object. 

get_object_function

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

When parsing an X.509 certificate the NotBefore and NotAfter dates arereturned 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 whichwas returned by get_object.


 

Index

Name
Description
Functions
new
set_config
get_object
get_object_function
free_object

This document was created byman2html,using the manual pages.
 
ICM Bot detect detector