MAN page from OpenSuSE perl-OpenXPKI-Core-0.9.1389-6.362.CS.i586.rpm
OpenXPKI::Crypto::API
Section: User Contributed Perl Documentation (3)
Updated: 2008-09-30
Index Name
OpenXPKI::Crypto::API -
API for cryptographic functions - abstract superclass.
Description
This is the
ABSTRACT superclass for crypto APIs, such asOpenXPKI::Crypto::Backend::API, OpenXPKI::Crypto::Tool::SCEP::API, ...As an abstract superclass, it just implements basic command validation,more functionality has to be implemented in the specific subclasses.Note that it can not be instantiated.
Functions
START
This constructor (see Class::Std) tries to create an instance of the classpassed by the named parameter '
CLASS'. This is supposed to be the correspondingBackend or Tool class, e.g. OpenXPKI::Backend::OpenSSL
command
This checks whether valid command parameters are present and then excutes acommand on the instance mentioned above.
__init_command_params
This method is empty here, it has to be implemented by the thecorresponding
API sub-classes. It fills the command_params hashwith the appropriate content, i.e. allowed functions and theirparameters.
__check_command_param
This private method checks the validity of the command parameters. It onlychecks keys, not values, i.e. the content of a passed parameter might stillbe inapropriate for the requested operation.
See also:
OpenXPKI::Crypto::Backend::API -
API for generic crypto backendsOpenXPKI::Tool::SCEP::API -
API for the
SCEP tool
Index
- Name
- Description
- Functions
- START
- command
- __init_command_params
- __check_command_param
- See also:
This document was created byman2html,using the manual pages.