/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
H A D | ServerHandshakeImplTest.java | 38 private SSLParameters sslParameters; field in class:ServerHandshakeImplTest 52 sslParameters = new SSLParameters(kmf.getKeyManagers(), tmf 56 server = new ServerHandshakeImpl(new SSLEngineImpl(sslParameters)); 126 assertSame(server.parameters.getKeyManager(), sslParameters 128 assertSame(server.parameters.getTrustManager(), sslParameters
|
/external/apache-harmony/x-net/src/test/support/common/java/org/apache/harmony/xnet/provider/jsse/ |
H A D | JSSETestData.java | 42 private static SSLParameters sslParameters; field in class:JSSETestData 59 sslParameters = new SSLParameters(kmf.getKeyManagers(), tmf 83 return sslParameters;
|
/external/conscrypt/src/main/java/org/conscrypt/ |
H A D | OpenSSLServerSocketFactoryImpl.java | 26 private SSLParametersImpl sslParameters; field in class:OpenSSLServerSocketFactoryImpl 31 this.sslParameters = SSLParametersImpl.getDefault(); 32 this.sslParameters.setUseClientMode(false); 40 public OpenSSLServerSocketFactoryImpl(SSLParametersImpl sslParameters) { argument 41 this.sslParameters = (SSLParametersImpl) sslParameters.clone(); 42 this.sslParameters.setUseClientMode(false); 47 return sslParameters.getEnabledCipherSuites(); 57 return new OpenSSLServerSocketImpl((SSLParametersImpl) sslParameters.clone()); 62 return new OpenSSLServerSocketImpl(port, (SSLParametersImpl) sslParameters [all...] |
H A D | OpenSSLSocketFactoryImpl.java | 27 private final SSLParametersImpl sslParameters; field in class:OpenSSLSocketFactoryImpl 39 this.sslParameters = sslParametersLocal; 43 public OpenSSLSocketFactoryImpl(SSLParametersImpl sslParameters) { argument 44 this.sslParameters = sslParameters; 50 return sslParameters.getEnabledCipherSuites(); 63 return new OpenSSLSocketImpl((SSLParametersImpl) sslParameters.clone()); 68 return new OpenSSLSocketImpl(hostname, port, (SSLParametersImpl) sslParameters.clone()); 78 (SSLParametersImpl) sslParameters.clone()); 83 return new OpenSSLSocketImpl(address, port, (SSLParametersImpl) sslParameters [all...] |
H A D | OpenSSLContextImpl.java | 47 protected SSLParametersImpl sslParameters; field in class:OpenSSLContextImpl 70 sslParameters = new SSLParametersImpl(DEFAULT_SSL_CONTEXT_IMPL.getKeyManagers(), 91 sslParameters = new SSLParametersImpl(kms, tms, sr, 97 if (sslParameters == null) { 100 return new OpenSSLSocketFactoryImpl(sslParameters); 105 if (sslParameters == null) { 108 return new OpenSSLServerSocketFactoryImpl(sslParameters); 113 if (sslParameters == null) { 116 SSLParametersImpl p = (SSLParametersImpl) sslParameters.clone(); 123 if (sslParameters [all...] |
H A D | OpenSSLServerSocketImpl.java | 27 private final SSLParametersImpl sslParameters; field in class:OpenSSLServerSocketImpl 30 protected OpenSSLServerSocketImpl(SSLParametersImpl sslParameters) throws IOException { argument 31 this.sslParameters = sslParameters; 34 protected OpenSSLServerSocketImpl(int port, SSLParametersImpl sslParameters) argument 37 this.sslParameters = sslParameters; 40 protected OpenSSLServerSocketImpl(int port, int backlog, SSLParametersImpl sslParameters) argument 43 this.sslParameters = sslParameters; 46 OpenSSLServerSocketImpl(int port, int backlog, InetAddress iAddress, SSLParametersImpl sslParameters) argument [all...] |
H A D | OpenSSLSocketImplWrapper.java | 34 boolean autoClose, SSLParametersImpl sslParameters) throws IOException { 35 super(socket, hostname, port, autoClose, sslParameters); 33 OpenSSLSocketImplWrapper(Socket socket, String hostname, int port, boolean autoClose, SSLParametersImpl sslParameters) argument
|
H A D | OpenSSLEngineImpl.java | 43 private final SSLParametersImpl sslParameters; field in class:OpenSSLEngineImpl 122 public OpenSSLEngineImpl(SSLParametersImpl sslParameters) { argument 123 this.sslParameters = sslParameters; 126 public OpenSSLEngineImpl(String host, int port, SSLParametersImpl sslParameters) { argument 128 this.sslParameters = sslParameters; 153 final AbstractSessionContext sessionContext = sslParameters.getSessionContext(); 156 sslSession = sslParameters.getSessionToReuse( 158 sslParameters [all...] |
H A D | OpenSSLSocketImpl.java | 148 private final SSLParametersImpl sslParameters; field in class:OpenSSLSocketImpl 176 protected OpenSSLSocketImpl(SSLParametersImpl sslParameters) throws IOException { argument 181 this.sslParameters = sslParameters; 184 protected OpenSSLSocketImpl(String hostname, int port, SSLParametersImpl sslParameters) argument 191 this.sslParameters = sslParameters; 194 protected OpenSSLSocketImpl(InetAddress address, int port, SSLParametersImpl sslParameters) argument 201 this.sslParameters = sslParameters; 205 OpenSSLSocketImpl(String hostname, int port, InetAddress clientAddress, int clientPort, SSLParametersImpl sslParameters) argument 216 OpenSSLSocketImpl(InetAddress address, int port, InetAddress clientAddress, int clientPort, SSLParametersImpl sslParameters) argument 231 OpenSSLSocketImpl(Socket socket, String hostname, int port, boolean autoClose, SSLParametersImpl sslParameters) argument [all...] |