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

.ds Aq ’

Name

OpenXPKI::Crypto::CSR

CONTENTS

Description

This is the module for managing CSRs. You can use this module to parse and convert CSRs. If you are missing some functions here please check OpenXPKI::Crypto::Object. OpenXPKI::Crypto::Object inherits from OpenXPKI::Crypto::Object several functions.

Functions

    new

The constructor supports three options - DATA, FORMAT and TOKEN. FORMAT is optional but can be specified. It can be set to PKCS10 or SPKAC. If the FORMAT is missing then the module tries to determine the type of the request from DATA with some REGEX. DATA is a the CSR. Please note that even PKCS#10 requests are only supported in PEM format. TOKEN is a token from the token manager (OpenXPKI::TokenManager). The token is needed to parse the requests.

    get_serial

returns the serial of the CSR. The serial will be extracted from the header.

    get_converted

The functions supports three formats - PEM, DER and TXT. All other formats create errors (or better exceptions). The CSR will be returned in the specified format on success. This functionality is only supported for PKCS#10 requests. If you try this with a SPKAC request then an exception will occur.

    get_emails

returns an array with all available email addresses. Pleae note that this include PKCS#9 emailAddress, rfc822Mailbox and the subject alternative name email extensions.

    get_info_hash

returns a hash reference with all parsed informations. Please note that this function makes a deep copy of the parsed information to protect the object. This costs time. So please only do this if you really need it.
Search for    or go to Top of page |  Section 3 |  Main Index


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

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