The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Lim::Plugin::SoftHSM::Server - Server class for SoftHSM management plugin

VERSION

See Lim::Plugin::SoftHSM for version.

SYNOPSIS

  use Lim::Plugin::SoftHSM;

  # Create a Server object
  $client = Lim::Plugin::SoftHSM->Server;

CONFIGURATION

TODO

SOFTHSM_VERSION_MIN
SOFTHSM_VERSION_MAX

INTERNAL METHODS

These are only internal methods and should not be used externally.

Init
Destroy
$server->_ScanConfig

Scan for SoftHSM configuration files and return a hash reference.

  $hash_ref->{<full path file name>} = {
      name => <full path file name>,
      write => <true if writable>,
      read => <true if readable>
  };

METHODS

These methods are called from the Lim framework and should not be used else where.

Please see Lim::Plugin::SoftHSM for full documentation of calls.

$server->ReadVersion(...)

Get the version of the plugin and version of SoftHSM found.

$server->ReadConfigs(...)

Get a list of all config files that can be managed by this plugin.

$server->CreateConfig(...)

Create a new config file.

$server->ReadConfig(...)

Returns a config file as a content.

$server->UpdateConfig(...)

Update a config file, this will overwrite the file.

$server->DeleteConfig(...)

Delete a config file.

$server->ReadShowSlots(...)

Get a list of all SoftHSM slots that are available.

$server->CreateInitToken(...)

Initialize a slot.

$server->CreateImport(...)

Import a key into a slot.

$server->ReadExport(...)

Export a key from a slot.

$server->UpdateOptimize(...)

Optimize the SoftHSM database.

$server->UpdateTrusted(...)

Update the trusted status of a key.

AUTHOR

Jerry Lundström, <lundstrom.jerry at gmail.com>

BUGS

Please report any bugs or feature requests to https://github.com/jelu/lim-plugin-softhsm/issues.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc Lim::Plugin::SoftHSM

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2012-2013 Jerry Lundström.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.