Home
last modified time | relevance | path

Searched refs:protocols (Results 1 – 9 of 9) sorted by relevance

/libcore/ojluni/src/main/java/javax/net/ssl/
DSSLParameters.java69 private String[] protocols; field in SSLParameters
116 public SSLParameters(String[] cipherSuites, String[] protocols) { in SSLParameters() argument
118 setProtocols(protocols); in SSLParameters()
153 return clone(protocols); in getProtocols()
161 public void setProtocols(String[] protocols) { in setProtocols() argument
162 this.protocols = clone(protocols); in setProtocols()
527 public void setApplicationProtocols(String[] protocols) { in setApplicationProtocols() argument
528 if (protocols == null) { in setApplicationProtocols()
532 String[] tempProtocols = protocols.clone(); in setApplicationProtocols()
DSSLServerSocket.java304 public abstract void setEnabledProtocols(String protocols[]); in setEnabledProtocols() argument
DSSLSocket.java1123 public abstract void setEnabledProtocols(String protocols[]); in setEnabledProtocols() argument
DSSLEngine.java1628 public abstract void setEnabledProtocols(String protocols[]); in setEnabledProtocols() argument
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLParametersTest.java62 String[] protocols = new String[] {"h2"}; in applicationProtocols() local
63 params.setApplicationProtocols(protocols); in applicationProtocols()
65 protocols[0] = "bad"; in applicationProtocols()
67 protocols = params.getApplicationProtocols(); in applicationProtocols()
68 protocols[0] = "bad"; in applicationProtocols()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLContextSpiTest.java229 String[] protocols = defaultParams.getProtocols(); in getSslParameters() local
230 assertNotNull(protocols); in getSslParameters()
231 assertTrue(protocols.length > 0); in getSslParameters()
238 protocols = supportedParams.getProtocols(); in getSslParameters()
239 assertNotNull(protocols); in getSslParameters()
240 assertTrue(protocols.length > 0); in getSslParameters()
DSSLServerSocketTest.java84 public void setEnabledProtocols(String[] protocols) { in setEnabledProtocols() argument
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
DMySSLContextSpi.java141 public void setEnabledProtocols(String[] protocols) { } in setEnabledProtocols() argument
/libcore/luni/src/test/java/libcore/java/net/
DURLConnectionTest.java3553 private final String[] protocols;
3555 private LimitedProtocolsSocketFactory(SSLSocketFactory delegate, String... protocols) {
3557 this.protocols = protocols;
3564 socket.setEnabledProtocols(protocols);
3571 socket.setEnabledProtocols(protocols);
3579 socket.setEnabledProtocols(protocols);
3587 socket.setEnabledProtocols(protocols);
3594 socket.setEnabledProtocols(protocols);
3603 socket.setEnabledProtocols(protocols);
3704 @Override public void setEnabledProtocols(String[] protocols) {
[all …]