public class EzySimpleSslContextFactory extends com.tvd12.ezyfox.util.EzyLoggable implements EzySslContextFactory
| Modifier and Type | Field and Description |
|---|---|
protected SecureRandom |
secureRandom |
protected TrustManager[] |
trustManagers |
| Constructor and Description |
|---|
EzySimpleSslContextFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getAlgorithm(EzySslConfig config) |
protected String |
getKeyStoreType() |
protected char[] |
getPassword(String file) |
protected String |
getProtocol() |
protected void |
initKeyManagerFactory(KeyManagerFactory factory,
KeyStore keyStore,
char[] password) |
protected void |
loadKeyStore(KeyStore keyStore,
InputStream stream,
char[] password) |
protected InputStream |
loadKeyStoreStream(String file) |
protected com.tvd12.ezyfox.stream.EzyInputStreamLoader |
newInputStreamLoader() |
protected com.tvd12.ezyfox.stream.EzyInputStreamReader |
newInputStreamReader() |
protected KeyManagerFactory |
newKeyManagerFactory(EzySslConfig config) |
protected KeyStore |
newKeyStore(EzySslConfig config) |
SSLContext |
newSslContext(EzySslConfig config) |
protected SSLContext |
tryNewSslContext(EzySslConfig config) |
protected SecureRandom secureRandom
protected TrustManager[] trustManagers
public SSLContext newSslContext(EzySslConfig config) throws Exception
newSslContext in interface EzySslContextFactoryExceptionprotected SSLContext tryNewSslContext(EzySslConfig config) throws Exception
Exceptionprotected void initKeyManagerFactory(KeyManagerFactory factory, KeyStore keyStore, char[] password) throws Exception
Exceptionprotected KeyManagerFactory newKeyManagerFactory(EzySslConfig config) throws Exception
Exceptionprotected void loadKeyStore(KeyStore keyStore, InputStream stream, char[] password) throws Exception
Exceptionprotected InputStream loadKeyStoreStream(String file)
protected KeyStore newKeyStore(EzySslConfig config) throws KeyStoreException
KeyStoreExceptionprotected String getKeyStoreType()
protected String getProtocol()
protected String getAlgorithm(EzySslConfig config)
protected com.tvd12.ezyfox.stream.EzyInputStreamLoader newInputStreamLoader()
protected com.tvd12.ezyfox.stream.EzyInputStreamReader newInputStreamReader()
Copyright © 2021 Young Monkeys. All rights reserved.