public final class Java13 extends JavaImpl
Modifier | Constructor and Description |
---|---|
private |
Java13() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
buildKeyManagerFactory(java.security.KeyStore ks,
char[] password) |
protected java.lang.RuntimeException |
buildRuntimeException(java.lang.Exception cause) |
protected javax.net.ssl.SSLServerSocket |
buildServerSocket(SSL ssl) |
protected javax.net.ssl.SSLSocket |
buildSocket(SSL ssl) |
protected javax.net.ssl.SSLSocket |
buildSocket(SSL ssl,
java.lang.String remoteHost,
int remotePort,
java.net.InetAddress localHost,
int localPort,
int connectTimeout) |
protected javax.net.ssl.SSLServerSocketFactory |
buildSSLServerSocketFactory(java.lang.Object ssl) |
protected javax.net.ssl.SSLSocketFactory |
buildSSLSocketFactory(java.lang.Object ssl) |
protected java.lang.Object |
buildTrustManagerFactory(java.security.KeyStore ks) |
protected void |
checkTrusted(java.lang.Object trustManager,
java.security.cert.X509Certificate[] chain,
java.lang.String authType) |
protected java.net.Socket |
connectSocket(java.net.Socket s,
javax.net.SocketFactory sf,
java.lang.String remoteHost,
int remotePort,
java.net.InetAddress localHost,
int localPort,
int timeout) |
protected void |
enabledProtocols(java.lang.Object o,
java.lang.String[] enabledProtocols) |
static Java13 |
getInstance() |
java.lang.String |
getVersion() |
protected java.lang.Object |
initSSL(SSL ssl,
TrustChain tc,
KeyMaterial k) |
protected java.lang.String |
retrieveIssuerX500(java.security.cert.X509Certificate cert) |
protected java.lang.Object[] |
retrieveKeyManagers(java.lang.Object keyManagerFactory) |
protected java.security.cert.Certificate[] |
retrievePeerCerts(javax.net.ssl.SSLSession sslSession) |
protected java.lang.String |
retrieveSubjectX500(java.security.cert.X509Certificate cert) |
protected java.lang.Object[] |
retrieveTrustManagers(java.lang.Object trustManagerFactory) |
protected void |
wantClientAuth(java.lang.Object o,
boolean wantClientAuth) |
connect, createServerSocket, createSocket, createSocket, downgrade, getIssuerX500, getKeyManagers, getPeerCertificates, getSSLServerSocketFactory, getSSLSocketFactory, getSubjectX500, getTrustManagers, init, isJava13, load, newKeyManagerFactory, newRuntimeException, newTrustManagerFactory, setEnabledProtocols, setWantClientAuth, testTrust, uprade
private Java13()
public static Java13 getInstance()
public final java.lang.String getVersion()
getVersion
in class JavaImpl
protected final java.lang.String retrieveSubjectX500(java.security.cert.X509Certificate cert)
retrieveSubjectX500
in class JavaImpl
protected final java.lang.String retrieveIssuerX500(java.security.cert.X509Certificate cert)
retrieveIssuerX500
in class JavaImpl
protected final java.security.cert.Certificate[] retrievePeerCerts(javax.net.ssl.SSLSession sslSession) throws javax.net.ssl.SSLPeerUnverifiedException
retrievePeerCerts
in class JavaImpl
javax.net.ssl.SSLPeerUnverifiedException
protected final java.lang.Object buildKeyManagerFactory(java.security.KeyStore ks, char[] password) throws java.security.NoSuchAlgorithmException, java.security.KeyStoreException, java.security.UnrecoverableKeyException
buildKeyManagerFactory
in class JavaImpl
java.security.NoSuchAlgorithmException
java.security.KeyStoreException
java.security.UnrecoverableKeyException
protected final java.lang.Object buildTrustManagerFactory(java.security.KeyStore ks) throws java.security.NoSuchAlgorithmException, java.security.KeyStoreException
buildTrustManagerFactory
in class JavaImpl
java.security.NoSuchAlgorithmException
java.security.KeyStoreException
protected final java.lang.Object[] retrieveKeyManagers(java.lang.Object keyManagerFactory)
retrieveKeyManagers
in class JavaImpl
protected final java.lang.Object[] retrieveTrustManagers(java.lang.Object trustManagerFactory)
retrieveTrustManagers
in class JavaImpl
protected final javax.net.ssl.SSLSocketFactory buildSSLSocketFactory(java.lang.Object ssl)
buildSSLSocketFactory
in class JavaImpl
protected final javax.net.ssl.SSLServerSocketFactory buildSSLServerSocketFactory(java.lang.Object ssl)
buildSSLServerSocketFactory
in class JavaImpl
protected final java.lang.RuntimeException buildRuntimeException(java.lang.Exception cause)
buildRuntimeException
in class JavaImpl
protected final javax.net.ssl.SSLSocket buildSocket(SSL ssl)
buildSocket
in class JavaImpl
protected final javax.net.ssl.SSLSocket buildSocket(SSL ssl, java.lang.String remoteHost, int remotePort, java.net.InetAddress localHost, int localPort, int connectTimeout) throws java.io.IOException
buildSocket
in class JavaImpl
java.io.IOException
protected final java.net.Socket connectSocket(java.net.Socket s, javax.net.SocketFactory sf, java.lang.String remoteHost, int remotePort, java.net.InetAddress localHost, int localPort, int timeout) throws java.io.IOException
connectSocket
in class JavaImpl
java.io.IOException
protected final javax.net.ssl.SSLServerSocket buildServerSocket(SSL ssl)
buildServerSocket
in class JavaImpl
protected final void wantClientAuth(java.lang.Object o, boolean wantClientAuth)
wantClientAuth
in class JavaImpl
protected final void enabledProtocols(java.lang.Object o, java.lang.String[] enabledProtocols)
enabledProtocols
in class JavaImpl
protected void checkTrusted(java.lang.Object trustManager, java.security.cert.X509Certificate[] chain, java.lang.String authType) throws java.security.cert.CertificateException
checkTrusted
in class JavaImpl
java.security.cert.CertificateException
protected final java.lang.Object initSSL(SSL ssl, TrustChain tc, KeyMaterial k) throws java.security.NoSuchAlgorithmException, java.security.KeyStoreException, java.security.cert.CertificateException, java.security.KeyManagementException, java.io.IOException