Package com.soffid.iam.ssl
Class SeyconKeyStore
java.lang.Object
com.soffid.iam.ssl.SeyconKeyStore
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Filestatic Passwordstatic Stringstatic Filestatic KeyStoreloadKeyStore(File file) static voidsaveKeyStore(KeyStore ks, File file) static voidsaveKeyStore(KeyStore ks, File file, boolean reloadKeys)
-
Field Details
-
ROOT_KEY
- See Also:
-
MY_KEY
- See Also:
-
ROOT_CERT
- See Also:
-
NEXT_CERT
- See Also:
-
-
Constructor Details
-
SeyconKeyStore
public SeyconKeyStore()
-
-
Method Details
-
loadKeyStore
public static KeyStore loadKeyStore(File file) throws IOException, KeyStoreException, NoSuchAlgorithmException, CertificateException -
getKeyStorePassword
- Throws:
FileNotFoundExceptionIOException
-
getKeyStoreType
-
getKeyStoreFile
- Throws:
IOException
-
getRootKeyStoreFile
- Throws:
IOExceptionInternalErrorException
-
saveKeyStore
public static void saveKeyStore(KeyStore ks, File file) throws FileNotFoundException, IOException, KeyStoreException, NoSuchAlgorithmException, CertificateException, KeyManagementException, UnrecoverableKeyException -
saveKeyStore
public static void saveKeyStore(KeyStore ks, File file, boolean reloadKeys) throws FileNotFoundException, IOException, KeyStoreException, NoSuchAlgorithmException, CertificateException, KeyManagementException, UnrecoverableKeyException
-