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::Crypto::SecretRole(3) User Contributed Perl Documentation OpenXPKI::Crypto::SecretRole(3)

OpenXPKI::Server::API2::SecretRole - Base role for all types of 'secrets'

Bool value indicating whether this secret value should be exposed outside the crypto manager.

Default: 1

This role requires the consuming class to implement the following methods:

Must sets (part of) the secret. The arguments are dependent on the type of secret.

Must return the secret if "is_complete() == 1" or "undef" otherwise.

Must delete all secret data stored in the object.

Must return the number of required parts to complete this secret.

Must return the number of parts that are already inserted / set.

Must return an ArrayRef with the current secret data of the object.

Must set the secret data of the object to the given ArrayRef.

Returns 1 if this secret value should be exposed outside the crypto manager, 0 otherwise.

Returns 1 if the secret is fully completed / known / set.

Returns the serialized data attributes of this object or "undef" if no secret data has been set yet.

Decodes the given serialized data and sets the data attributes of this object accordingly.
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.