public class KeyStoreUtil extends Object
TrustManagerFactories
and KeyManagerFactories
.Constructor and Description |
---|
KeyStoreUtil() |
Modifier and Type | Method and Description |
---|---|
static @NotNull KeyManagerFactory |
keyManagerFromKeystore(@NotNull File keyStoreFile,
@NotNull String keyStorePassword,
@NotNull String privateKeyPassword) |
static @NotNull TrustManagerFactory |
trustManagerFromKeystore(@NotNull File trustStoreFile,
@NotNull String trustStorePassword) |
@NotNull public static @NotNull TrustManagerFactory trustManagerFromKeystore(@NotNull @NotNull File trustStoreFile, @NotNull @NotNull String trustStorePassword) throws SSLException
SSLException
@NotNull public static @NotNull KeyManagerFactory keyManagerFromKeystore(@NotNull @NotNull File keyStoreFile, @NotNull @NotNull String keyStorePassword, @NotNull @NotNull String privateKeyPassword) throws SSLException
SSLException