Class KeyStoreUtils
java.lang.Object
io.trino.plugin.jdbc.credential.keystore.KeyStoreUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic KeyStoreloadKeyStore(String keyStoreType, String keyStorePath, String keyStorePassword) static StringreadEntity(KeyStore keyStore, String entityAlias, String entityPassword)
-
Method Details
-
loadKeyStore
public static KeyStore loadKeyStore(String keyStoreType, String keyStorePath, String keyStorePassword) throws IOException, GeneralSecurityException - Throws:
IOExceptionGeneralSecurityException
-
readEntity
public static String readEntity(KeyStore keyStore, String entityAlias, String entityPassword) throws GeneralSecurityException - Throws:
GeneralSecurityException
-