public final class Java14 extends JavaImpl
| Modifier | Constructor and Description |
|---|---|
private |
Java14() |
connect, createPlainSocket, createServerSocket, createSocket, createSocket, downgrade, getIssuerX500, getKeyManagers, getPeerCertificates, getSSLServerSocketFactory, getSSLSocketFactory, getSubjectX500, getTrustManagers, init, isJava13, load, newKeyManagerFactory, newRuntimeException, newTrustManagerFactory, setEnabledProtocols, setWantClientAuth, testTrust, upradeprivate Java14()
public static Java14 getInstance()
public final String getVersion()
getVersion in class JavaImplprotected final String retrieveSubjectX500(X509Certificate cert)
retrieveSubjectX500 in class JavaImplprotected final String retrieveIssuerX500(X509Certificate cert)
retrieveIssuerX500 in class JavaImplprotected final Certificate[] retrievePeerCerts(SSLSession sslSession) throws SSLPeerUnverifiedException
retrievePeerCerts in class JavaImplSSLPeerUnverifiedExceptionprotected final Object buildKeyManagerFactory(KeyStore ks, char[] password) throws NoSuchAlgorithmException, KeyStoreException, UnrecoverableKeyException
buildKeyManagerFactory in class JavaImplNoSuchAlgorithmExceptionKeyStoreExceptionUnrecoverableKeyExceptionprotected final Object buildTrustManagerFactory(KeyStore ks) throws NoSuchAlgorithmException, KeyStoreException
buildTrustManagerFactory in class JavaImplNoSuchAlgorithmExceptionKeyStoreExceptionprotected final Object[] retrieveKeyManagers(Object keyManagerFactory)
retrieveKeyManagers in class JavaImplprotected final Object[] retrieveTrustManagers(Object trustManagerFactory)
retrieveTrustManagers in class JavaImplprotected final SSLSocketFactory buildSSLSocketFactory(Object ssl)
buildSSLSocketFactory in class JavaImplprotected final SSLServerSocketFactory buildSSLServerSocketFactory(Object ssl)
buildSSLServerSocketFactory in class JavaImplprotected final RuntimeException buildRuntimeException(Exception cause)
buildRuntimeException in class JavaImplprotected final SSLSocket buildSocket(SSL ssl) throws IOException
buildSocket in class JavaImplIOExceptionprotected final SSLSocket buildSocket(SSL ssl, String remoteHost, int remotePort, InetAddress localHost, int localPort, int timeout) throws IOException
buildSocket in class JavaImplIOExceptionprotected final Socket buildPlainSocket(SSL ssl, String remoteHost, int remotePort, InetAddress localHost, int localPort, int timeout) throws IOException
buildPlainSocket in class JavaImplIOExceptionprotected final Socket connectSocket(Socket s, SocketFactory sf, String host, int remotePort, InetAddress localHost, int localPort, int timeout, SSL ssl) throws IOException
connectSocket in class JavaImplIOExceptionprivate static boolean returnsVoidTakesOneString(Method m)
public static void setHostForSNI(SSLSocket s, String host) throws IOException
IOExceptionprotected final SSLServerSocket buildServerSocket(SSL ssl) throws IOException
buildServerSocket in class JavaImplIOExceptionprotected final void wantClientAuth(Object o, boolean wantClientAuth)
wantClientAuth in class JavaImplprotected final void enabledProtocols(Object o, String[] enabledProtocols)
enabledProtocols in class JavaImplprotected void checkTrusted(Object trustManager, X509Certificate[] chain, String authType) throws CertificateException
checkTrusted in class JavaImplCertificateExceptionprotected final Object initSSL(SSL ssl, TrustChain tc, KeyMaterial k) throws NoSuchAlgorithmException, KeyStoreException, CertificateException, KeyManagementException, IOException
initSSL in class JavaImplNoSuchAlgorithmExceptionKeyStoreExceptionCertificateExceptionKeyManagementExceptionIOException