public final class KeyStores
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.security.KeyStore |
loadKeyStore(java.io.File keyStoreFile,
char[] keyStorePassword)
Loads and returns the given
keyStoreFile (or the JVM's default keystore file). |
public static java.security.KeyStore loadKeyStore(@Nullable java.io.File keyStoreFile, @Nullable char[] keyStorePassword) throws java.security.KeyStoreException, java.io.FileNotFoundException, java.io.IOException, java.security.NoSuchAlgorithmException, java.security.cert.CertificateException
keyStoreFile (or the JVM's default keystore file).java.security.KeyStoreExceptionjava.io.FileNotFoundExceptionjava.io.IOExceptionjava.security.NoSuchAlgorithmExceptionjava.security.cert.CertificateException