Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
OpenXPKI::Crypto::BackUser:ContributedKPerlrDoto::Backend::OpenSSL::Command(3)

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

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.

perl v5.24.1			OpenXPKI::Crypto::Backend::OpenSSL::Command(3)

Name | Description | Functions

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=OpenXPKI::Crypto::Backend::OpenSSL::Command&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help