com.netscape.certsrv.security
Interface IToken

All Known Subinterfaces:
IEncryptionUnit, IStorageKeyUnit, ITransportKeyUnit

public interface IToken

An interface represents a generic token unit.

Version:
$Revision: 1211 $, $Date: 2010-08-18 10:15:37 -0700 (Wed, 18 Aug 2010) $

Method Summary
 void login(java.lang.String pin)
          Logins to the token unit.
 void logout()
          Logouts token.
 

Method Detail

login

void login(java.lang.String pin)
           throws EBaseException
Logins to the token unit.

Parameters:
pin - password to access the token
Throws:
EBaseException - failed to login to this token

logout

void logout()
Logouts token.