Package com.arcadedb.server.http.ssl
Class SslUtils
- java.lang.Object
-
- com.arcadedb.server.http.ssl.SslUtils
-
public class SslUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getDefaultKeystoreTypeForKeystore(Supplier<KeystoreType> defaultSupplier)
static String
getDefaultKeystoreTypeForTruststore(Supplier<KeystoreType> defaultSupplier)
static KeyStore
loadKeystoreFromStream(InputStream keystoreInputStream, String keystorePassword, String keystoreType)
-
-
-
Method Detail
-
loadKeystoreFromStream
public static KeyStore loadKeystoreFromStream(InputStream keystoreInputStream, String keystorePassword, String keystoreType) throws IOException, KeyStoreException, CertificateException, NoSuchAlgorithmException
-
getDefaultKeystoreTypeForKeystore
public static String getDefaultKeystoreTypeForKeystore(Supplier<KeystoreType> defaultSupplier)
-
getDefaultKeystoreTypeForTruststore
public static String getDefaultKeystoreTypeForTruststore(Supplier<KeystoreType> defaultSupplier)
-
-