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::Template::Plugin::PKCS10(3) User Contributed Perl Documentation OpenXPKI::Template::Plugin::PKCS10(3)

Plugin for Template::Toolkit to retrieve properties of a certificate request from the PKCS10 PEM formatted request. All methods require the PEM encoded request as first argument.

You need to load the plugin into your template before using it. As we do not export the methods, you need to address them with the plugin name, e.g.

    [% USE PKCS10 %]

    Your request with the key [% PKCS10.subject_key_identifier(context.pkcs10) %]...

Will result in

    Your request with the key AB:CD...:2A

Internal method used to parse the request. Does some caching based on the SHA1 hash of the incoming data so multiple requests on the same data blob do not cause multiple calls to the parser.

Print the PEM encoded PKCS10 container

Print the raw binary data of the container

Return the public key identifier as defined in RFC 5280 (hash of DER encoded public key). Result is in hex notation, uppercased with colon.

Return the transaction id which is the sha1 hash on the DER encoded request given in hexadecimal format.

Return the digest of the raw request which is the sha1 hash on the DER encoded "inner" request without the signature parts given in hexadecimal format.

Returns the DN of the request as parsed hash, if second parameter is given returns the named part as string. Note: In case the named property has more than one item, only the first one is returned!
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.