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
OpenXPKI::Server::API2::Plugin::Cert::get_cert(3) User Contributed Perl Documentation OpenXPKI::Server::API2::Plugin::Cert::get_cert(3)

OpenXPKI::Server::API2::Plugin::Cert::get_cert

returns the requested certificate.

Parameters

  • identifier
  • format
  • PEM
  • DER
  • PKCS7
  • TXT
  • TXTPEM
  • HASH - the default value
  • DBINFO - information from the certificate and attributes table
attribute - expression for attributes to add, see get_cert_attributes

Changes compared to API v1:

The output of HASH has changed dramatically! The full content of BODY is no longer part of the output, keys are all lowercased and relevant data from the body was moved to keys on the first level.

When called with "format => "DBINFO"" the returned HashRef contains lowercase keys. Additionally the following keys changed:

    CERTIFICATE_SERIAL      --> cert_key
    CERTIFICATE_SERIAL_HEX  --> cert_key_hex
    PUBKEY                  --> removed in v2.5
    CSR_SERIAL              --> req_key

To get attributes for the certificate back with DBINFO you MUST pass the name or "LIKE" "expression for the attributes keys as defined in get_cert_attributes.

2022-05-14 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

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