public class KeyStoreUtil extends Object
| Constructor and Description |
|---|
KeyStoreUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
loadBC() |
static X509Certificate |
loadCertificateFromPEM(InputStream in,
char[] pwd) |
static KeyManager[] |
loadKeyManager(String type,
InputStream in,
String password) |
static TrustManager[] |
loadTrustManager(String type,
InputStream in,
String password) |
static TrustManager[] |
trustAllManager() |
public static void loadBC()
public static KeyManager[] loadKeyManager(String type, InputStream in, String password) throws Exception
Exceptionpublic static X509Certificate loadCertificateFromPEM(InputStream in, char[] pwd) throws Exception
Exceptionpublic static TrustManager[] loadTrustManager(String type, InputStream in, String password) throws Exception
Exceptionpublic static TrustManager[] trustAllManager()
Copyright © 2017. All rights reserved.