org.hardtokenmgmt.ui.activatecard
Interface ActivateCardCertSelector

All Known Implementing Classes:
DefaultActivateCardCertSelector

public interface ActivateCardCertSelector

Interface used to select which certificate placed on a card that should be used for activation, i.e republishing in EJBCA

Version:
$Id$
Author:
Philip Vendil 2007 maj 10

Method Summary
 java.security.cert.X509Certificate getActivationCertificate(org.hardtokenmgmt.ws.gen.HardTokenDataWS hardToken)
          Method that should return the certificate on the token that should be used for republishing in EJBCA.
 java.security.cert.X509Certificate getActivationCertificate(IToken token)
          Method that should return the certificate on the token that should be used for republishing in EJBCA.
 

Method Detail

getActivationCertificate

java.security.cert.X509Certificate getActivationCertificate(IToken token)
Method that should return the certificate on the token that should be used for republishing in EJBCA.

Parameters:
token - that is going to be activated.
Returns:
the certificate used or null if it couldn't be found.

getActivationCertificate

java.security.cert.X509Certificate getActivationCertificate(org.hardtokenmgmt.ws.gen.HardTokenDataWS hardToken)
Method that should return the certificate on the token that should be used for republishing in EJBCA.

Parameters:
hardToken - that is going to be activated.
Returns:
the certificate used or null if it couldn't be found.