org.hardtokenmgmt.core.token
Interface ILogonCertificateSelector

All Known Implementing Classes:
DefaultLogonCertificateSelector

public interface ILogonCertificateSelector

Interface used to select which certificate on a token that should be used for logon. Default implementation is DefaultLogonCertificateSelector

Version:
$Id$
Author:
Philip Vendil 2 feb 2008

Method Summary
 java.security.cert.X509Certificate getLogonCertificate(IToken token)
          Main method that should return the certificate supposed to be used for logon or null if no admin certificate could be found.
 

Method Detail

getLogonCertificate

java.security.cert.X509Certificate getLogonCertificate(IToken token)
                                                       throws iaik.pkcs.pkcs11.TokenException
Main method that should return the certificate supposed to be used for logon or null if no admin certificate could be found.

Parameters:
token - the token to check
Throws:
iaik.pkcs.pkcs11.TokenException - if unexpected error occured during communication with the token.