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

OpenXPKI::Server::API2::Plugin::Datapool::Util - Base role for datapool related plugins that provides some utility methods

If the calling code is within OpenXPKI::Server::Workflow namespace, check whether the requested PKI realm matches the current one.

Parameters

  • $caller ArrayRef - info of the API command caller as returned by Perls caller()
  • $requested_pki_realm Str - PKI realm to check

Fetches a value from the datapool DB table - hides expired items

internal worker function, accepts more parameters than the API function named attributes: encrypt => not set, undefined -> do not encrypt value 'current_symmetric_key' -> encrypt using the current symmetric key associated with the current password safe 'password_safe' -> encrypt using the current password safe (asymmetrically)

Clean up data pool (delete expired entries).

Fetches or creates a symmetric encryption key for encrypting datapool values in the given PKI realm.

Returns a HashRef directly usable by OpenXPKI::Crypto::VolatileVault's constructor:

    {
        KEY_ID    => '...',
        ALGORITHM => '...',
        IV        => '...',
        KEY       => '...',
    }

Creates a new key for the PKI realm if necessary.

Generate a new encryption key

Returns a HashRef containing an existing symmetric encryption key for encrypting datapool values either from the server cache or from the datapool.
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.