Class SslKeystoreUtils
- java.lang.Object
-
- com.atlassian.bamboo.agent.bootstrap.SslKeystoreUtils
-
public class SslKeystoreUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description SslKeystoreUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @Nullable String
getKeystorePassword()
static boolean
isKeyStoreConfigured()
static boolean
isTrustStoreConfigured()
static KeyStore
loadKeyStore()
static KeyStore
loadKeyStore(@NotNull String storeFile, @Nullable String password, @Nullable String keyStoreType, @Nullable String provider)
static @Nullable KeyStore
loadTrustStore()
-
-
-
Method Detail
-
loadKeyStore
public static KeyStore loadKeyStore() throws CertificateException, NoSuchAlgorithmException, KeyStoreException, IOException, NoSuchProviderException
-
loadTrustStore
@Nullable public static @Nullable KeyStore loadTrustStore() throws CertificateException, NoSuchAlgorithmException, KeyStoreException, IOException, NoSuchProviderException
-
loadKeyStore
public static KeyStore loadKeyStore(@NotNull @NotNull String storeFile, @Nullable @Nullable String password, @Nullable @Nullable String keyStoreType, @Nullable @Nullable String provider) throws IOException, KeyStoreException, CertificateException, NoSuchAlgorithmException, NoSuchProviderException
-
getKeystorePassword
@Nullable public static @Nullable String getKeystorePassword()
-
isKeyStoreConfigured
public static boolean isKeyStoreConfigured()
-
isTrustStoreConfigured
public static boolean isTrustStoreConfigured()
-
-