public class DefaultIRCSSLSupport extends Object implements IRCSSLSupport
IRCSSLSupport with KeyManagers,
TrustManagers and SecureRandom configurable at creation time.| Modifier and Type | Field and Description |
|---|---|
protected static X509Certificate[] |
EMPTY_X509_CERTIFICATES |
static IRCSSLSupport |
INSECURE
An insecure
IRCSSLSupport instance affirming all trust requests. |
static X509TrustManager |
INSECURE_TRUST_MANAGER
An insecure
X509TrustManager instance affirming all trust
requests. |
| Constructor and Description |
|---|
DefaultIRCSSLSupport(IRCSSLSupport sslSupport) |
DefaultIRCSSLSupport(KeyManager[] keyManagers,
TrustManager[] trustManagers,
SecureRandom secureRandom) |
| Modifier and Type | Method and Description |
|---|---|
KeyManager[] |
getKeyManagers() |
SecureRandom |
getSecureRandom() |
TrustManager[] |
getTrustManagers() |
protected static final X509Certificate[] EMPTY_X509_CERTIFICATES
public static IRCSSLSupport INSECURE
IRCSSLSupport instance affirming all trust requests.public static final X509TrustManager INSECURE_TRUST_MANAGER
X509TrustManager instance affirming all trust
requests.public DefaultIRCSSLSupport(IRCSSLSupport sslSupport)
public DefaultIRCSSLSupport(KeyManager[] keyManagers, TrustManager[] trustManagers, SecureRandom secureRandom)
keyManagers - the KeyManagerstrustManagers - the TrustManagerssecureRandom - the SecureRandompublic KeyManager[] getKeyManagers()
getKeyManagers in interface IRCSSLSupportKeyManagers to initialize SSLContext with.IRCSSLSupport.getKeyManagers()public SecureRandom getSecureRandom()
getSecureRandom in interface IRCSSLSupportSecureRandom to initialize SSLContext with.IRCSSLSupport.getSecureRandom()public TrustManager[] getTrustManagers()
getTrustManagers in interface IRCSSLSupportTrustManagers to initialize SSLContext with.IRCSSLSupport.getTrustManagers()Copyright © 2006–2015. All rights reserved.