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

Plugin for Template::Toolkit providing some string manipulation functions.

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 Utils %]
    [% Utils.ascii_to_hex(value) %]

Will output the converted string.

uuid

Generate a UUID v3 string (e.g. 4162F712-1DD2-11B2-B17E-C09EFE1DC403)

This is simply a wrapper around Data::UUID->gen_str.

ascii_to_hex

Convert a ascii string to its hexadecimal representation, e.g. "OpenXPKI" becomes 4f70656e58504b49.

to_base64 ( text )

Encode the given (binary) data using Base64 encoding, output is without linebreaks or spaces.

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.