Searched defs:protocols (Results 1 - 9 of 9) sorted by relevance
/libcore/luni/src/main/java/javax/net/ssl/ |
H A D | SSLParameters.java | 20 * SSL handshake parameters that include protocols, cipher suites, and 27 private String[] protocols; field in class:SSLParameters 34 * protocols are initialized to null and client authentication 53 * cipher suites and protocols arrays to be provided. Other values 58 * @param protocols An array of protocol names that is cloned for 62 String[] protocols) { 64 setProtocols(protocols); 88 * Returns a copy of the protocols, or null if none have been 92 if (protocols == null) { 95 return protocols 61 SSLParameters(String[] cipherSuites, String[] protocols) argument 101 setProtocols(String[] protocols) argument [all...] |
H A D | SSLServerSocket.java | 26 * based on protocols like SSL, TLS, or others. 122 * Returns the names of the supported protocols. 124 * @return the names of the supported protocols. 129 * Returns the names of the enabled protocols to be used for new 132 * @return the names of the enabled protocols to be used for new 138 * Sets the names of the protocols to be enabled for new connections. Only 139 * protocols returned by {@link #getSupportedProtocols()} are allowed. 141 * @param protocols 142 * the names of the to be enabled protocols. 144 * if one of the protocols i 146 setEnabledProtocols(String[] protocols) argument [all...] |
H A D | SSLSocket.java | 26 * The extension of {@code Socket} providing secure protocols like SSL (Secure 869 * Returns the names of the supported protocols. 874 * Returns the names of the enabled protocols. 879 * Sets the names of the protocols to be enabled. Only 880 * protocols returned by {@link #getSupportedProtocols()} are allowed. 882 * @param protocols 883 * the names of the to be enabled protocols. 885 * if one of the protocols is not supported. 887 public abstract void setEnabledProtocols(String[] protocols); argument 1000 * cipher suites, protocols, an [all...] |
H A D | SSLEngine.java | 24 * protocols. It includes the setup, handshake, and encrypt/decrypt 799 * protocols can be enables using {@link #setEnabledProtocols(String[])}. 853 * instance. Only protocols listed by {@code getSupportedProtocols()} are 856 * @param protocols 860 * {@code protocols} is {@code null}. 862 public abstract void setEnabledProtocols(String[] protocols); argument 1090 * cipher suites, protocols, and client authentication settings. 1107 * sets the enabled protocols. If the parameters specify the want 1117 String[] protocols = p.getProtocols(); 1118 if (protocols ! [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
H A D | SSLServerSocketTest.java | 82 public void setEnabledProtocols(String[] protocols) { argument 243 assertTrue("no supported protocols available.", res.length > 0); 249 * javax.net.ssl.SSLServerSocket#setEnabledProtocols(String[] protocols) 265 assertTrue("No supported protocols", count > 0); 269 assertTrue("no enabled protocols.", res.length == count);
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
H A D | MySSLContextSpi.java | 143 public void setEnabledProtocols(String[] protocols) { } argument
|
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
H A D | MySSLContextSpi.java | 141 public void setEnabledProtocols(String[] protocols) { } argument
|
/libcore/support/src/test/java/libcore/java/security/ |
H A D | StandardNames.java | 42 * This class defines expected string names for protocols, key types, 975 * Asserts that the protocols array is non-null and that it all of 976 * its contents are protocols known to this implementation. As a 977 * convenience, returns any unenabled protocols in a test for 978 * those that want to verify separately that all protocols were 981 public static Set<String> assertValidProtocols(Set<String> expected, String[] protocols) { argument 982 assertNotNull(protocols); 983 assertTrue(protocols.length != 0); 985 // Make sure all protocols names are expected 988 for (String protocol : protocols) { 1002 assertSupportedProtocols(Set<String> expected, String[] protocols) argument 1012 assertValidProtocols(String[] protocols) argument 1019 assertSupportedProtocols(String[] protocols) argument 1027 assertDefaultProtocolsClient(String[] protocols) argument 1036 assertDefaultProtocolsServer(String[] protocols) argument 1045 assertSSLEngineDefaultProtocols(String[] protocols) argument [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | URLConnectionTest.java | 2534 * An SSLSocketFactory that delegates calls but limits the enabled protocols for any created 2539 private final String[] protocols; field in class:URLConnectionTest.LimitedProtocolsSocketFactory 2541 private LimitedProtocolsSocketFactory(SSLSocketFactory delegate, String... protocols) { argument 2543 this.protocols = protocols; 2550 socket.setEnabledProtocols(protocols); 2557 socket.setEnabledProtocols(protocols); 2564 socket.setEnabledProtocols(protocols); 2572 socket.setEnabledProtocols(protocols); 2579 socket.setEnabledProtocols(protocols); [all...] |
Completed in 334 milliseconds