Class SSLLayeringStrategy

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.apache.http.conn.ssl.X509HostnameVerifier hostnameVerifier
      Deprecated.
       
      static java.lang.String SSL
      Deprecated.
       
      private javax.net.ssl.SSLContext sslContext
      Deprecated.
       
      static java.lang.String SSLV2
      Deprecated.
       
      static java.lang.String TLS
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      SSLLayeringStrategy​(java.lang.String algorithm, java.security.KeyStore keystore, java.lang.String keystorePassword, java.security.KeyStore truststore, java.security.SecureRandom random, org.apache.http.conn.ssl.TrustStrategy trustStrategy, org.apache.http.conn.ssl.X509HostnameVerifier hostnameVerifier)
      Deprecated.
       
      SSLLayeringStrategy​(java.lang.String algorithm, java.security.KeyStore keystore, java.lang.String keystorePassword, java.security.KeyStore truststore, java.security.SecureRandom random, org.apache.http.conn.ssl.X509HostnameVerifier hostnameVerifier)
      Deprecated.
       
      SSLLayeringStrategy​(java.security.KeyStore truststore)
      Deprecated.
       
      SSLLayeringStrategy​(java.security.KeyStore keystore, java.lang.String keystorePassword)
      Deprecated.
       
      SSLLayeringStrategy​(java.security.KeyStore keystore, java.lang.String keystorePassword, java.security.KeyStore truststore)
      Deprecated.
       
      SSLLayeringStrategy​(javax.net.ssl.SSLContext sslContext)
      Deprecated.
       
      SSLLayeringStrategy​(javax.net.ssl.SSLContext sslContext, org.apache.http.conn.ssl.X509HostnameVerifier hostnameVerifier)
      Deprecated.
       
      SSLLayeringStrategy​(org.apache.http.conn.ssl.TrustStrategy trustStrategy)
      Deprecated.
       
      SSLLayeringStrategy​(org.apache.http.conn.ssl.TrustStrategy trustStrategy, org.apache.http.conn.ssl.X509HostnameVerifier hostnameVerifier)
      Deprecated.
       
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      private static javax.net.ssl.SSLContext createSSLContext​(java.lang.String algorithm, java.security.KeyStore keystore, java.lang.String keystorePassword, java.security.KeyStore truststore, java.security.SecureRandom random, org.apache.http.conn.ssl.TrustStrategy trustStrategy)
      Deprecated.
       
      static SSLLayeringStrategy getDefaultStrategy()
      Deprecated.
       
      static SSLLayeringStrategy getSystemDefaultStrategy()
      Deprecated.
       
      protected void initializeEngine​(javax.net.ssl.SSLEngine engine)
      Deprecated.
       
      boolean isSecure()
      Deprecated.
       
      org.apache.http.nio.reactor.ssl.SSLIOSession layer​(org.apache.http.nio.reactor.IOSession iosession)
      Deprecated.
       
      protected void verifySession​(org.apache.http.nio.reactor.IOSession iosession, javax.net.ssl.SSLSession sslsession)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • sslContext

        private final javax.net.ssl.SSLContext sslContext
        Deprecated.
      • hostnameVerifier

        private final org.apache.http.conn.ssl.X509HostnameVerifier hostnameVerifier
        Deprecated.
    • Constructor Detail

      • SSLLayeringStrategy

        public SSLLayeringStrategy​(java.lang.String algorithm,
                                   java.security.KeyStore keystore,
                                   java.lang.String keystorePassword,
                                   java.security.KeyStore truststore,
                                   java.security.SecureRandom random,
                                   org.apache.http.conn.ssl.X509HostnameVerifier hostnameVerifier)
                            throws java.security.NoSuchAlgorithmException,
                                   java.security.KeyManagementException,
                                   java.security.KeyStoreException,
                                   java.security.UnrecoverableKeyException
        Deprecated.
        Throws:
        java.security.NoSuchAlgorithmException
        java.security.KeyManagementException
        java.security.KeyStoreException
        java.security.UnrecoverableKeyException
      • SSLLayeringStrategy

        public SSLLayeringStrategy​(java.lang.String algorithm,
                                   java.security.KeyStore keystore,
                                   java.lang.String keystorePassword,
                                   java.security.KeyStore truststore,
                                   java.security.SecureRandom random,
                                   org.apache.http.conn.ssl.TrustStrategy trustStrategy,
                                   org.apache.http.conn.ssl.X509HostnameVerifier hostnameVerifier)
                            throws java.security.NoSuchAlgorithmException,
                                   java.security.KeyManagementException,
                                   java.security.KeyStoreException,
                                   java.security.UnrecoverableKeyException
        Deprecated.
        Throws:
        java.security.NoSuchAlgorithmException
        java.security.KeyManagementException
        java.security.KeyStoreException
        java.security.UnrecoverableKeyException
      • SSLLayeringStrategy

        public SSLLayeringStrategy​(java.security.KeyStore keystore,
                                   java.lang.String keystorePassword,
                                   java.security.KeyStore truststore)
                            throws java.security.NoSuchAlgorithmException,
                                   java.security.KeyManagementException,
                                   java.security.KeyStoreException,
                                   java.security.UnrecoverableKeyException
        Deprecated.
        Throws:
        java.security.NoSuchAlgorithmException
        java.security.KeyManagementException
        java.security.KeyStoreException
        java.security.UnrecoverableKeyException
      • SSLLayeringStrategy

        public SSLLayeringStrategy​(java.security.KeyStore keystore,
                                   java.lang.String keystorePassword)
                            throws java.security.NoSuchAlgorithmException,
                                   java.security.KeyManagementException,
                                   java.security.KeyStoreException,
                                   java.security.UnrecoverableKeyException
        Deprecated.
        Throws:
        java.security.NoSuchAlgorithmException
        java.security.KeyManagementException
        java.security.KeyStoreException
        java.security.UnrecoverableKeyException
      • SSLLayeringStrategy

        public SSLLayeringStrategy​(java.security.KeyStore truststore)
                            throws java.security.NoSuchAlgorithmException,
                                   java.security.KeyManagementException,
                                   java.security.KeyStoreException,
                                   java.security.UnrecoverableKeyException
        Deprecated.
        Throws:
        java.security.NoSuchAlgorithmException
        java.security.KeyManagementException
        java.security.KeyStoreException
        java.security.UnrecoverableKeyException
      • SSLLayeringStrategy

        public SSLLayeringStrategy​(org.apache.http.conn.ssl.TrustStrategy trustStrategy,
                                   org.apache.http.conn.ssl.X509HostnameVerifier hostnameVerifier)
                            throws java.security.NoSuchAlgorithmException,
                                   java.security.KeyManagementException,
                                   java.security.KeyStoreException,
                                   java.security.UnrecoverableKeyException
        Deprecated.
        Throws:
        java.security.NoSuchAlgorithmException
        java.security.KeyManagementException
        java.security.KeyStoreException
        java.security.UnrecoverableKeyException
      • SSLLayeringStrategy

        public SSLLayeringStrategy​(org.apache.http.conn.ssl.TrustStrategy trustStrategy)
                            throws java.security.NoSuchAlgorithmException,
                                   java.security.KeyManagementException,
                                   java.security.KeyStoreException,
                                   java.security.UnrecoverableKeyException
        Deprecated.
        Throws:
        java.security.NoSuchAlgorithmException
        java.security.KeyManagementException
        java.security.KeyStoreException
        java.security.UnrecoverableKeyException
      • SSLLayeringStrategy

        public SSLLayeringStrategy​(javax.net.ssl.SSLContext sslContext,
                                   org.apache.http.conn.ssl.X509HostnameVerifier hostnameVerifier)
        Deprecated.
      • SSLLayeringStrategy

        public SSLLayeringStrategy​(javax.net.ssl.SSLContext sslContext)
        Deprecated.
    • Method Detail

      • getSystemDefaultStrategy

        public static SSLLayeringStrategy getSystemDefaultStrategy()
        Deprecated.
      • createSSLContext

        private static javax.net.ssl.SSLContext createSSLContext​(java.lang.String algorithm,
                                                                 java.security.KeyStore keystore,
                                                                 java.lang.String keystorePassword,
                                                                 java.security.KeyStore truststore,
                                                                 java.security.SecureRandom random,
                                                                 org.apache.http.conn.ssl.TrustStrategy trustStrategy)
                                                          throws java.security.NoSuchAlgorithmException,
                                                                 java.security.KeyStoreException,
                                                                 java.security.UnrecoverableKeyException,
                                                                 java.security.KeyManagementException
        Deprecated.
        Throws:
        java.security.NoSuchAlgorithmException
        java.security.KeyStoreException
        java.security.UnrecoverableKeyException
        java.security.KeyManagementException
      • layer

        public org.apache.http.nio.reactor.ssl.SSLIOSession layer​(org.apache.http.nio.reactor.IOSession iosession)
        Deprecated.
        Specified by:
        layer in interface LayeringStrategy
      • initializeEngine

        protected void initializeEngine​(javax.net.ssl.SSLEngine engine)
        Deprecated.
      • verifySession

        protected void verifySession​(org.apache.http.nio.reactor.IOSession iosession,
                                     javax.net.ssl.SSLSession sslsession)
                              throws javax.net.ssl.SSLException
        Deprecated.
        Throws:
        javax.net.ssl.SSLException