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

OpenXPKI::Server::API2::Plugin::Cert::set_cert_metadata

Update the metadata of a certificate stored in the certificate_attributes table.

Parameters

  • "identifier" Str - OpenXPKI identifier
  • "mode" Str

    Set conflict handling mode when data for a key already exists

If the used key is already present, an exception is thrown. This is the default.
The new value is discarded, the old one will remain in the table.
The old value should be replaced by the new one.

If the existing data is multivalued, the incoming data must also be an array and all items that are no longer present in the new list will be removed, new ones will be appended. Passing an empty array will remove all existing entries. Passing a, non-empty, scalar will cause an exception.

Add the new value(s) if they does not already exists, will work with scalars and arrays regardless of the existing data.
  • "attribute" HashRef

    A hashref holding the attributes to set. Each key is the name of an attribute, the prefix meta_ is prepended internally and must not be passed. The value can be either scalar or list and represents the value(s) to set.

    Empty or undef scalars as value are ignored, to delete a key when in overwrite mode, pass an empty array:

        {
            attribute => {
                key_to_delete => []
            },
            mode => overwrite
        }
        
  • "tenant" Str
2025-07-15 perl v5.40.2

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.