public abstract class SSLManagerFactory extends Object
Constructor and Description |
---|
SSLManagerFactory() |
Modifier and Type | Method and Description |
---|---|
static KeyManager |
createKeyManager(KeyStore ks,
char[] password) |
static KeyManager |
createKeyManager(KeyStore ks,
String password) |
static KeyManager |
createKeyManager(String type,
String url,
char[] storePassword,
char[] keyPassword) |
static KeyManager |
createKeyManager(String type,
String url,
String storePassword,
String keyPassword) |
static KeyStore |
createKeyStore(X509Certificate... certs) |
static TrustManager |
createTrustManager(KeyStore ks) |
static TrustManager |
createTrustManager(String type,
String url,
char[] password) |
static TrustManager |
createTrustManager(String type,
String url,
String password) |
static TrustManager |
createTrustManager(X509Certificate... certs) |
static KeyStore |
loadKeyStore(String type,
String url,
char[] password) |
static KeyStore |
loadKeyStore(String type,
String url,
String password) |
public SSLManagerFactory()
public static KeyStore createKeyStore(X509Certificate... certs) throws KeyStoreException
KeyStoreException
public static KeyStore loadKeyStore(String type, String url, String password) throws IOException, KeyStoreException, NoSuchAlgorithmException, CertificateException
public static KeyStore loadKeyStore(String type, String url, char[] password) throws IOException, KeyStoreException, NoSuchAlgorithmException, CertificateException
public static KeyManager createKeyManager(String type, String url, char[] storePassword, char[] keyPassword) throws UnrecoverableKeyException, KeyStoreException, NoSuchAlgorithmException, CertificateException, IOException
public static KeyManager createKeyManager(String type, String url, String storePassword, String keyPassword) throws UnrecoverableKeyException, KeyStoreException, NoSuchAlgorithmException, CertificateException, IOException
public static KeyManager createKeyManager(KeyStore ks, String password) throws UnrecoverableKeyException, KeyStoreException
public static KeyManager createKeyManager(KeyStore ks, char[] password) throws UnrecoverableKeyException, KeyStoreException
public static TrustManager createTrustManager(KeyStore ks) throws KeyStoreException
KeyStoreException
public static TrustManager createTrustManager(X509Certificate... certs) throws KeyStoreException
KeyStoreException
public static TrustManager createTrustManager(String type, String url, char[] password) throws KeyStoreException, NoSuchAlgorithmException, CertificateException, IOException
public static TrustManager createTrustManager(String type, String url, String password) throws KeyStoreException, NoSuchAlgorithmException, CertificateException, IOException
Copyright © 2017 dcm4che.org. All rights reserved.