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::CRYPTO::BACKEND::OPENSSL::COMMAND (3)

.ds Aq ’

Name

OpenXPKI::Crypto::Backend::OpenSSL::Command

CONTENTS

Description

This function is the base class for all available OpenSSL commands from the OpenSSL command line interface. All commands are executed inside of the OpenSSL shell.

Functions

    new

is the constructor. The ENGINE and the TMP parameter must be always present. All other parameters will be passed without any checks to the hash of the class instance. The real checks must be implemented by the commands itself.

    set_tmpfile

expects a hash with prefix infront of FILE and the filename which is a tmpfile. Example:

$self->set_tmpfile (IN => /tmp/example.txt)

mapped to

$self->{INFILE} = /tmp/example.txt;

All temporary file are cleaned up automatically.

    get_tmpfile

If called without arguments this method creates a temporary file and returns its filename:



  my $tmpfile = $self->get_tmpfile();



If called with one or more arguments, the method creates a temporary file for each argument specified and calls $self->set_tmpfile() for this argument.

Calling



  $self->get_tmpfile(IN, OUT);



is equivalent to



  $self->set_tmpfile( IN  => $self->get_tmpfile(),
                      OUT => $self->get_tmpfile() );



All temporary file are set to mode 0600 and are cleaned up automatically.

    set_env

This function works exactly like set_tmpfile but without any automatical prefixes or suffixes. The environment is also cleaned up automatically.

    cleanup

performs the cleanup of any temporary stuff like files from set_tmpfile and environment variables from set_env.

    get_openssl_dn

expects a RFC2253 compliant DN and returns an OpenSSL DN.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 OPENXPKI::CRYPTO::BACKEND::OPENSSL::COMMAND (3) 2016-04-03

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