HomeSort by relevance Sort by last modified time
    Searched defs:protocols (Results 1 - 25 of 47) sorted by null

1 2

  /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 113 * protocols, and client authentication.
126 * supported cipher suites and protocols.
142 String[] protocols; local
145 protocols = s.getSupportedProtocols();
148 protocols = s.getEnabledProtocols();
151 p.setProtocols(protocols);
SSLEngine.java 24 * protocols. It includes the setup, handshake, and encrypt/decrypt
176 * protocols can be enables using {@link #setEnabledProtocols(String[])}.
230 * instance. Only protocols listed by {@code getSupportedProtocols()} are
233 * @param protocols
237 * {@code protocols} is {@code null}.
239 public abstract void setEnabledProtocols(String[] protocols);
467 * cipher suites, protocols, and client authentication settings.
484 * sets the enabled protocols. If the parameters specify the want
494 String[] protocols = p.getProtocols(); local
495 if (protocols != null)
    [all...]
SSLSocket.java 26 * The extension of {@code Socket} providing secure protocols like SSL (Secure
160 * Returns the names of the supported protocols.
165 * Returns the names of the enabled protocols.
170 * Sets the names of the protocols to be enabled. Only
171 * protocols returned by {@link #getSupportedProtocols()} are allowed.
173 * @param protocols
174 * the names of the to be enabled protocols.
176 * if one of the protocols is not supported.
178 public abstract void setEnabledProtocols(String[] protocols);
293 * cipher suites, protocols, and client authentication settings
320 String[] protocols = p.getProtocols(); local
    [all...]
  /external/chromium_org/ppapi/proxy/
websocket_resource_unittest.cc 64 PP_Var protocols[] = { MakeStringVar(protocol0), MakeStringVar(protocol1) }; local
68 int32_t result = websocket_iface->Connect(res.get(), url_var, protocols, 2,
  /external/chromium_org/third_party/WebKit/Source/modules/navigatorcontentutils/
NavigatorContentUtils.cpp 47 static const char* protocols[] = { local
68 for (size_t i = 0; i < WTF_ARRAY_LENGTH(protocols); ++i)
69 protocolWhitelist->add(protocols[i]);
  /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 261 String[] protocols = p.getProtocols(); local
262 assertNotNull(protocols);
263 StandardNames.assertValidCipherSuites(StandardNames.SSL_SOCKET_PROTOCOLS, protocols);
284 String[] protocols = p.getProtocols(); local
285 assertNotNull(protocols);
287 protocols);
SSLEngineTest.java 168 String[] protocols = e.getSupportedProtocols(); local
170 protocols);
171 assertNotSame(protocols, e.getSupportedProtocols());
178 String[] protocols = e.getEnabledProtocols(); local
179 StandardNames.assertValidProtocols(StandardNames.SSL_SOCKET_PROTOCOLS, protocols);
180 assertNotSame(protocols, e.getEnabledProtocols());
437 String[] protocols = p.getProtocols();
438 StandardNames.assertValidProtocols(StandardNames.SSL_SOCKET_PROTOCOLS, protocols);
439 assertNotSame(protocols, e.getEnabledProtocols());
440 assertEquals(Arrays.asList(protocols), Arrays.asList(e.getEnabledProtocols()))
    [all...]
  /external/chromium_org/chrome/browser/ui/webui/options/
handler_options_handler.cc 117 std::vector<std::string> protocols; local
118 registry->GetRegisteredProtocols(&protocols);
121 for (std::vector<std::string>::iterator protocol = protocols.begin();
122 protocol != protocols.end(); protocol++) {
  /external/libppp/src/
hdlc.c 177 } protocols[] = { variable in typeref:struct:__anon22811
285 #define NPROTOCOLS (sizeof protocols/sizeof protocols[0])
293 if (proto >= protocols[f].from && proto <= protocols[f].to)
294 return protocols[f].name;
295 else if (proto < protocols[f].from)
  /external/mtpd/
mtpd.c 43 static struct protocol *protocols[] = {&l2tp, &pptp, NULL}; variable in typeref:struct:protocol
63 for (i = 0; protocols[i]; ++i) {
64 struct protocol *p = protocols[i];
74 for (i = 0; protocols[i]; ++i) {
75 struct protocol *p = protocols[i];
  /external/smack/src/org/xbill/DNS/
KEYRecord.java 46 private static Mnemonic protocols = new Mnemonic("KEY protocol", field in class:KEYRecord.Protocol
50 protocols.setMaximum(0xFF);
51 protocols.setNumericAllowed(true);
53 protocols.add(NONE, "NONE");
54 protocols.add(TLS, "TLS");
55 protocols.add(EMAIL, "EMAIL");
56 protocols.add(DNSSEC, "DNSSEC");
57 protocols.add(IPSEC, "IPSEC");
58 protocols.add(ANY, "ANY");
66 return protocols.getText(type)
    [all...]
WKSRecord.java 152 private static Mnemonic protocols = new Mnemonic("IP protocol", field in class:WKSRecord.Protocol
156 protocols.setMaximum(0xFF);
157 protocols.setNumericAllowed(true);
159 protocols.add(ICMP, "icmp");
160 protocols.add(IGMP, "igmp");
161 protocols.add(GGP, "ggp");
162 protocols.add(ST, "st");
163 protocols.add(TCP, "tcp");
164 protocols.add(UCL, "ucl");
165 protocols.add(EGP, "egp")
    [all...]
  /external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
SSLSocketFunctionalTest.java 141 String[] protocols = {"SSLv3", "TLSv1"}; local
150 ssocket.setEnabledProtocols(new String[] {protocols[j]});
157 csocket.setEnabledProtocols(new String[] {protocols[j]});
SSLEngineImplTest.java 67 String[] protocols = {"SSLv3", "TLSv1"}; local
323 + "of supported protocols: " + enabled[i]);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/websockets/
WebSocket.cpp 160 Vector<String> protocols; local
161 return WebSocket::create(context, url, protocols, es);
164 PassRefPtr<WebSocket> WebSocket::create(ScriptExecutionContext* context, const String& url, const Vector<String>& protocols, ExceptionState& es)
174 webSocket->connect(context->completeURL(url), protocols, es);
183 Vector<String> protocols; local
184 protocols.append(protocol);
185 return WebSocket::create(context, url, protocols, es);
190 Vector<String> protocols; local
191 connect(url, protocols, es);
196 Vector<String> protocols; local
    [all...]
  /external/chromium_org/chrome/browser/custom_handlers/
protocol_handler_registry_unittest.cc 664 std::vector<std::string> protocols; local
665 registry()->GetRegisteredProtocols(&protocols);
666 ASSERT_EQ(static_cast<size_t>(0), protocols.size());
670 protocols.clear();
671 registry()->GetRegisteredProtocols(&protocols);
672 ASSERT_EQ(static_cast<size_t>(0), protocols.size());
925 std::vector<std::string> protocols; local
    [all...]
  /external/okhttp/src/main/java/com/squareup/okhttp/internal/
Platform.java 102 * Sets client-supported protocols on a socket to send to a server. The
103 * protocols are only sent if the socket implementation supports NPN.
386 private final List<String> protocols; field in class:Platform.JettyNpnProvider
390 public JettyNpnProvider(List<String> protocols) {
391 this.protocols = protocols;
405 } else if (methodName.equals("protocols") && args.length == 0) {
406 return protocols;
413 this.selected = protocols.get(0);
  /external/smack/src/org/jivesoftware/smackx/filetransfer/
FileTransferNegotiator.java 192 * Returns a collection of the supported transfer protocols.
194 * @return Returns a collection of the supported transfer protocols.
197 List<String> protocols = new ArrayList<String>(); local
198 protocols.add(InBandBytestreamManager.NAMESPACE);
200 protocols.add(Socks5BytestreamManager.NAMESPACE);
202 return Collections.unmodifiableList(protocols);
  /libcore/support/src/test/java/libcore/java/security/
StandardNames.java 42 * This class defines expected string names for protocols, key types,
    [all...]
  /external/strace/
net.c 453 falls into "protocols" array below!!!! This is intended!!! ***/
454 static const struct xlat protocols[] = { variable in typeref:struct:xlat
    [all...]
  /external/chromium_org/ppapi/tests/
test_websocket.cc 210 RUN_TEST_WITH_REFERENCE_CHECK(Protocols, filter);
304 PP_Var protocols[] = { PP_MakeUndefined() }; local
312 protocols[0] = CreateVarString(protocol);
316 ws, url_var, protocols, protocol_count,
320 ReleaseVar(protocols[0]);
389 PP_Var protocols[] = { PP_MakeUndefined() }; local
396 ws, PP_MakeUndefined(), protocols, 1U,
401 ws, PP_MakeUndefined(), protocols, 1U,
573 PP_Var protocols[] = { PP_MakeUndefined() }; local
616 ws, url, protocols, 0U, callback.GetCallback().pp_completion_callback())
1237 const pp::Var protocols[] = { pp::Var() }; local
1300 const pp::Var protocols[] = { pp::Var() }; local
1324 const pp::Var protocols[] = { pp::Var() }; local
1440 const pp::Var protocols[] = { pp::Var(protocol) }; local
1462 const pp::Var protocols[] = { pp::Var() }; local
1496 const pp::Var protocols[] = { pp::Var() }; local
1528 const pp::Var protocols[] = { pp::Var() }; local
    [all...]
  /external/chromium_org/ui/aura/
root_window_host_x11.cc 419 ::Atom protocols[2]; local
420 protocols[0] = atom_cache_.GetAtom("WM_DELETE_WINDOW");
421 protocols[1] = atom_cache_.GetAtom("_NET_WM_PING");
422 XSetWMProtocols(xdisplay_, xwindow_, protocols, 2);
    [all...]
  /external/chromium_org/ui/views/widget/desktop_aura/
desktop_root_window_host_x11.cc 836 ::Atom protocols[2]; local
837 protocols[0] = atom_cache_.GetAtom("WM_DELETE_WINDOW");
838 protocols[1] = atom_cache_.GetAtom("_NET_WM_PING");
839 XSetWMProtocols(xdisplay_, xwindow_, protocols, 2);
    [all...]

Completed in 877 milliseconds

1 2