org.hardtokenmgmt.keyceremony.tolima
Interface IGenCATokenInfo

All Known Implementing Classes:
AutoSenseGenCATokenInfo, PrimeCardHSMGenCATokenInfo, SoftGenCATokenInfo

public interface IGenCATokenInfo

Interface used by all CATokenInfo generators used in key ceremony setup.

Version:
$Id$
Author:
Philip Vendil 2008-jan-24

Method Summary
 org.ejbca.core.model.ca.catoken.CATokenInfo getCATokenInfo(java.lang.String cAName)
          Method that should generate a CATokenInfo used by the CA.
 void init(java.util.Properties props, java.io.Console console, java.io.PrintStream out)
          Method that should initialize this implementation.
 

Method Detail

init

void init(java.util.Properties props,
          java.io.Console console,
          java.io.PrintStream out)
Method that should initialize this implementation.

Parameters:
props - containing the keyceremony.properties file

getCATokenInfo

org.ejbca.core.model.ca.catoken.CATokenInfo getCATokenInfo(java.lang.String cAName)
                                                           throws java.io.IOException
Method that should generate a CATokenInfo used by the CA. This could be a soft or hard CA Token Info.

Parameters:
cAName - The name of the ca about to generate
Returns:
a CATokenInfo, never null
Throws:
java.io.IOException