org.eparapher.core.crypto
Class EPKeystoreManager
java.lang.Object
org.eparapher.core.crypto.EPKeystoreManager
public class EPKeystoreManager
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MSCAPI_CONFIGNAME
public static final String MSCAPI_CONFIGNAME
- See Also:
- Constant Field Values
PKCS11_CONFIGNAME
public static final String PKCS11_CONFIGNAME
- See Also:
- Constant Field Values
JKS_CONFIGNAME
public static final String JKS_CONFIGNAME
- See Also:
- Constant Field Values
JCEKS_CONFIGNAME
public static final String JCEKS_CONFIGNAME
- See Also:
- Constant Field Values
PKCS12_CONFIGNAME
public static final String PKCS12_CONFIGNAME
- See Also:
- Constant Field Values
BC_CONFIGNAME
public static final String BC_CONFIGNAME
- See Also:
- Constant Field Values
UBER_CONFIGNAME
public static final String UBER_CONFIGNAME
- See Also:
- Constant Field Values
KDB_CONFIGNAME
public static final String KDB_CONFIGNAME
- See Also:
- Constant Field Values
KSFILEFORMAT
public static final String[] KSFILEFORMAT
certStoreFamilies
public static String[][] certStoreFamilies
EPKeystoreManager
public EPKeystoreManager()
getInstance
public static EPKeystoreManager getInstance()
getCertStoreFamilies
public String[][] getCertStoreFamilies()
getUserkeystore
public IUserKeystore getUserkeystore()
getTrustStore
public ITrustStore getTrustStore()
initTrustKeystore
public boolean initTrustKeystore()
- initialize the Trust store that contains the CA certificate.
It's using the JRE Truststore (${java.home}/lib/security) or the CAPICOM root keystore
- Returns:
- true if loaded
initUserKeystore
public boolean initUserKeystore()
- Initialize the User Keystore, that contains user cryptographic informations : keys (private) and certificates (public).
Manage PKCS11, Windows store and File Keystore
- Returns:
startTrackingThread
public void startTrackingThread()
- Start the thread that track the token status (accessible/removed)
Only started if PKCS11 is used.
isPKCS11Used
public static boolean isPKCS11Used()
isPKCS12Used
public static boolean isPKCS12Used()
isBCUsed
public static boolean isBCUsed()
isUBERUsed
public static boolean isUBERUsed()
isJKSUsed
public static boolean isJKSUsed()
isJCEKSUsed
public static boolean isJCEKSUsed()
isCMSKSUsed
public static boolean isCMSKSUsed()
isCAPICOMUsed
public static boolean isCAPICOMUsed()
Copyright © 2009 eParapher Software Foundation. All Rights Reserved.