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

.ds Aq ’

Name

OpenXPKI::Crypto::X509

CONTENTS

Description

This class is used for the handling of X.509v3 certificates. All functions of OpenXPKI::Crypto::Object are supported. All functions which differ from the base class OpenXPKI::Crypto::Object are described below.

Functions

    new

The constructor supports two options - TOKEN and DATA. TOKEN must be a crypto token from the token manager. This is necessary to extract some informations from the data. The parameter DATA must contain a PEM encoded certificate. This is the base of the object.

    get_converted

expects only one value - the requested format of the certificate. PEM, TXT, PKCS7 and DER are supported. TXT is a plain text representation which can be directly displayed to the user.

    get_identifier

returns the base64-encoded SHA1 hash of the DER representation of the certificate, which is used as an identifier in the database

    set_status

sets the certificate status, i.e. ISSUED, SUSPENDED, REVOKED

    get_status

gets the certificate status

    get_subject_key_id

gets the subject key identifier from the extension, if present. If not, returns undef.

    get_authority_key_id

gets the authority key identifier from the extension, if present. Returns either the key identifier as a string or a hash reference containing the ISSUER_NAME and ISSUER_SERIAL field, if the key identifier is not present. If none of the above are available, returns undef.

    to_db_hash

returns the certificate data in a format that can be inserted into the database table ’CERTIFICATE’.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 OPENXPKI::CRYPTO::X509 (3) 2016-04-03

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