|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hardtokenmgmt.core.logon.Pkcs11LogonManager
public class Pkcs11LogonManager
Class responsible for managing the HTTPS logon communication with the WS service.
| Constructor Summary | |
|---|---|
Pkcs11LogonManager()
|
|
| Method Summary | |
|---|---|
static java.security.cert.X509Certificate |
initializeAutoLogonHTTPSContext(long slotId,
java.lang.String pkcs11Name,
java.lang.String pIN,
ILogonGUICallback logonGUICallback)
A ToLiMa specific SSL context manager, used for the autologon page especially. |
static void |
initializeHTTPSContext(IToken token,
java.lang.String pIN,
ILogonGUICallback logonGUICallback)
A ToLiMa specific SSL context manager, using the specially written ToLiMa trust and key managers. |
static boolean |
testConnection()
Method used to test if HTTPS is configured correctly. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Pkcs11LogonManager()
| Method Detail |
|---|
public static void initializeHTTPSContext(IToken token,
java.lang.String pIN,
ILogonGUICallback logonGUICallback)
token - the IToken containing the admin certificate.pIN - the PIN used to unlock the cardlogonGUICallback - link to the GUI if a confirmation must be displayed.
java.security.NoSuchAlgorithmException
java.security.KeyStoreException
java.security.UnrecoverableKeyException
java.security.KeyManagementException
public static java.security.cert.X509Certificate initializeAutoLogonHTTPSContext(long slotId,
java.lang.String pkcs11Name,
java.lang.String pIN,
ILogonGUICallback logonGUICallback)
slotId - the slot containing the admin certificate.pIN - the PIN used to unlock the card.logonGUICallback - link to the GUI if a confirmation must be displayed.
java.security.NoSuchAlgorithmException
java.security.KeyStoreException
java.security.UnrecoverableKeyException
java.security.KeyManagementExceptionpublic static boolean testConnection()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||