/libcore/luni/src/main/java/javax/net/ssl/ |
SSLParameters.java | 20 * SSL handshake parameters that include protocols, cipher suites, and 27 private String[] protocols; field in class:SSLParameters 33 * protocols are initialized to null and client authentication 52 * cipher suites and protocols arrays to be provided. Other values 57 * @param protocols An array of protocol names that is cloned for 61 String[] protocols) { 63 setProtocols(protocols); 87 * Returns a copy of the protocols, or null if none have been 91 if (protocols == null) { 94 return protocols.clone() [all...] |
SSLContextSpi.java | 114 * protocols, and client authentication. 127 * supported cipher suites and protocols. 143 String[] protocols; local 146 protocols = s.getSupportedProtocols(); 149 protocols = s.getEnabledProtocols(); 152 p.setProtocols(protocols);
|
SSLSocket.java | 26 * The extension of {@code Socket} providing secure protocols like SSL (Secure 149 * Returns the names of the supported protocols. 151 * @return the names of the supported protocols. 156 * Returns the names of the enabled protocols. 158 * @return the names of the enabled protocols. 163 * Sets the names of the protocols to be enabled. Only 164 * protocols returned by {@link #getSupportedProtocols()} are allowed. 166 * @param protocols 167 * the names of the to be enabled protocols. 169 * if one of the protocols is not supported 328 String[] protocols = p.getProtocols(); local [all...] |
SSLEngine.java | 24 * protocols. It includes the setup, handshake, and encrypt/decrypt 178 * protocols can be enables using {@link #setEnabledProtocols(String[])}. 232 * instance. Only protocols listed by {@code getSupportedProtocols()} are 235 * @param protocols 239 * {@code protocols} is {@code null}. 241 public abstract void setEnabledProtocols(String[] protocols); 469 * cipher suites, protocols, and client authentication settings. 486 * sets the enabled protocols. If the parameters specify the want 496 String[] protocols = p.getProtocols(); local 497 if (protocols != null) [all...] |
/external/chromium/net/base/ |
ssl_config_service_win.cc | 70 DWORD protocols; local 71 if (!internet_settings.ReadValueDW(kProtocolsValueName, &protocols)) 72 protocols = PROTOCOLS_DEFAULT; 75 config->ssl2_enabled = ((protocols & SSL2) != 0); 76 config->ssl3_enabled = ((protocols & SSL3) != 0); 77 config->tls1_enabled = ((protocols & TLS1) != 0);
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
SSLParametersTest.java | 46 String[] protocols = new String[] { "baz", null, "qux" }; local 47 SSLParameters p = new SSLParameters(cipherSuites, protocols); 51 assertNotSame(protocols, p.getProtocols()); 53 assertEquals(Arrays.asList(protocols), Arrays.asList(p.getProtocols())); 78 String[] protocols = new String[] { "fnord" }; local 79 String[] copy = protocols.clone(); 82 assertEquals(Arrays.asList(protocols), Arrays.asList(p.getProtocols()));
|
SSLContextTest.java | 259 String[] protocols = p.getProtocols(); local 260 assertNotNull(protocols); 261 StandardNames.assertValidCipherSuites(StandardNames.SSL_SOCKET_PROTOCOLS, protocols); 282 String[] protocols = p.getProtocols(); local 283 assertNotNull(protocols); 285 protocols);
|
SSLEngineTest.java | 137 String[] protocols = e.getSupportedProtocols(); local 138 StandardNames.assertSupportedProtocols(StandardNames.SSL_SOCKET_PROTOCOLS, protocols); 139 assertNotSame(protocols, e.getSupportedProtocols()); 145 String[] protocols = e.getEnabledProtocols(); local 146 StandardNames.assertValidProtocols(StandardNames.SSL_SOCKET_PROTOCOLS, protocols); 147 assertNotSame(protocols, e.getEnabledProtocols()); 353 String[] protocols = p.getProtocols(); 354 StandardNames.assertValidProtocols(StandardNames.SSL_SOCKET_PROTOCOLS, protocols); 355 assertNotSame(protocols, e.getEnabledProtocols()); 356 assertEquals(Arrays.asList(protocols), Arrays.asList(e.getEnabledProtocols())) [all...] |
SSLSocketTest.java | 162 String[] protocols = ssl.getSupportedProtocols(); local 163 StandardNames.assertSupportedProtocols(StandardNames.SSL_SOCKET_PROTOCOLS, protocols); 164 assertNotSame(protocols, ssl.getSupportedProtocols()); 170 String[] protocols = ssl.getEnabledProtocols(); local 171 StandardNames.assertValidProtocols(StandardNames.SSL_SOCKET_PROTOCOLS, protocols); 172 assertNotSame(protocols, ssl.getEnabledProtocols()); 630 String[] protocols = p.getProtocols(); local 631 StandardNames.assertValidProtocols(StandardNames.SSL_SOCKET_PROTOCOLS, protocols); 632 assertNotSame(protocols, ssl.getEnabledProtocols()); 633 assertEquals(Arrays.asList(protocols), Arrays.asList(ssl.getEnabledProtocols())) [all...] |
/external/mtpd/ |
mtpd.c | 44 static struct protocol *protocols[] = {&l2tp, &pptp, NULL}; variable in typeref:struct:protocol 74 for (i = 0; protocols[i]; ++i) { 75 if (!strcmp(argv[1], protocols[i]->name)) { 76 log_print(INFO, "Using protocol %s", protocols[i]->name); 77 the_protocol = protocols[i]; 87 for (i = 0; protocols[i]; ++i) { 88 printf(" %s %s\n", protocols[i]->name, protocols[i]->usage);
|
/external/webkit/WebCore/platform/graphics/gtk/ |
DataSourceGStreamer.cpp | 167 static gchar* protocols[] = {(gchar*) "data", 0 }; local 169 return protocols;
|
WebKitWebSourceGStreamer.cpp | 455 static gchar* protocols[] = {(gchar*) "http", (gchar*) "https", 0 }; local 457 return protocols;
|
/libcore/support/src/test/java/libcore/java/security/ |
StandardNames.java | 29 * This class defines expected string names for protocols, key types, 572 * Asserts that the protocols array is non-null and that it all of 573 * its contents are protocols known to this implementation. As a 574 * convenience, returns any unenabled protocols in a test for 575 * those that want to verify separately that all protocols were 578 public static Set<String> assertValidProtocols(Set<String> expected, String[] protocols) { 579 assertNotNull(protocols); 580 assertTrue(protocols.length != 0); 582 // Make sure all protocols names are expected 585 for (String protocol : protocols) { [all...] |
/external/strace/ |
net.c | 395 falls into "protocols" array below!!!! This is intended!!! ***/ 396 static const struct xlat protocols[] = { variable in typeref:struct:xlat 1181 printxval(protocols, tcp->u_arg[2], "IPPROTO_???"); 1486 printxval(protocols, tcp->u_arg[2], "IPPROTO_???"); [all...] |
/external/nist-sip/java/gov/nist/javax/sip/ |
SipStackImpl.java | 400 * Comma-separated list of protocols to use when creating outgoing TLS connections. 480 // Supported protocols for TLS client: can be overridden by application 981 String[] protocols = new String[st.countTokens()]; local [all...] |
/external/ppp/pppd/ |
main.c | 281 struct protent *protocols[] = { variable in typeref:struct:protent 347 * Initialize magic number generator now so that protocols may 355 for (i = 0; (protp = protocols[i]) != NULL; ++i) 451 for (i = 0; (protp = protocols[i]) != NULL; ++i) 1069 for (i = 0; (protp = protocols[i]) != NULL; ++i) { [all...] |