public class SslKeystoreUtils extends Object
Constructor and Description |
---|
SslKeystoreUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
getKeystorePassword() |
static boolean |
isKeyStoreConfigured() |
static boolean |
isTrustStoreConfigured() |
static KeyStore |
loadKeyStore() |
static KeyStore |
loadKeyStore(String storeFile,
String password,
String keyStoreType,
String provider) |
static KeyStore |
loadTrustStore() |
public static KeyStore loadKeyStore() throws CertificateException, NoSuchAlgorithmException, KeyStoreException, IOException, NoSuchProviderException
@Nullable public static KeyStore loadTrustStore() throws CertificateException, NoSuchAlgorithmException, KeyStoreException, IOException, NoSuchProviderException
public static KeyStore loadKeyStore(@NotNull String storeFile, @Nullable String password, @Nullable String keyStoreType, @Nullable String provider) throws IOException, KeyStoreException, CertificateException, NoSuchAlgorithmException, NoSuchProviderException
@Nullable public static String getKeystorePassword()
public static boolean isKeyStoreConfigured()
public static boolean isTrustStoreConfigured()
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.