## OpenCA - Command
## (c) 1998-2002 by Massimiliano Pala and OpenCA Group
## (c) Copyright 2003-2004 The OpenCA Project
##
##   File Name: HSMlogin
##       Brief: create a session on the hardware security module
## Description: login the hard ware security module
##  Parameters: 

use strict;

sub cmdHsmLogin {

    print startLogPage (gettext("Login to hardware security modules in daemon mode"));

    print addLogSection (gettext("Start activation via cryptographic layer ..."));
    $crypto_layer->startDaemon();
    print closeLogSection ();

    print closeLogPage ();

    return 1;
}

1;
