Package com.avoka.core.util
Class JMKeyStoreUtil
java.lang.Object
com.avoka.core.util.JMKeyStoreUtil
Provides utility methods to read password from JM Key store
- Since:
- 23.10.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getPasswordFromCredentialStore
(String maskedStorePassword, String alias) Return password from JM keystore by receiving maskedPassword and alias.
-
Constructor Details
-
JMKeyStoreUtil
public JMKeyStoreUtil()
-
-
Method Details
-
getPasswordFromCredentialStore
public static String getPasswordFromCredentialStore(String maskedStorePassword, String alias) throws GeneralSecurityException, DestroyFailedException Return password from JM keystore by receiving maskedPassword and alias. It will unmask keystore password and get the actual password by alias.- Parameters:
maskedStorePassword
- the key store masked passwordalias
- the alias- Returns:
- the password
- Throws:
GeneralSecurityException
- if an error occursDestroyFailedException
- if an error occurs
-