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


Manual Reference Pages  -  OPENXPKI::SERVICE::SCEP::COMMAND (3)

.ds Aq ’

    __get_token

Get the scep token alias for the current server

    __get_token

Get the scep token from the crypto layer

Name

OpenXPKI::Service::SCEP::Command

CONTENTS

Description

SCEP service command base class. Handles command execution to distinct command implementations.

Functions

START - new()

This class derives from Class::Std. Please read the corresponding documentation concerning BUILD, START construction methods and other class-specific internals.

The new() constructor creates a new command object that is capable of executing the referenced interface command. Expects the following named parameters:
COMMAND => name of the command to execute
PARAMS => hash reference containing the command attributes

The constructor makes sure that only explicitly allowed commands are accepted and throws an exception otherwise. If the constructor returns without error (exception), the command was accepted as valid and the passed parameters have been stored internally to be processed later by the execute() method.

When attaching the implementation the class tries to ’use’ an actual Perl module which is named like the command. E. g. if command ’foo’ is requested, it tries to attach OpenXPKI::Service::SCEP::Command::foo.pm.

    execute

Executes the specified command implementation. Returns a data structure that can be serialized and directly returned to the client.

    command_response

Returns a properly formatted command response (hash reference containing the proper arguments). To be called by command implementations.

    __get_token

Return the scep token (crypto object), active group token if set in the servers configuration or the default token.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 OPENXPKI::SERVICE::SCEP::COMMAND (3) 2016-04-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.