Home
last modified time | relevance | path

Searched refs:protocols (Results 1 – 7 of 7) 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()
526 public void setApplicationProtocols(String[] protocols) { in setApplicationProtocols() argument
527 if (protocols == null) { in setApplicationProtocols()
531 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