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

1 2 3 4 5 6 7 8

  /libcore/ojluni/src/main/java/sun/security/ssl/
ProtocolList.java 31 * A list of ProtocolVersions. Also maintains the list of supported protocols.
41 private final ArrayList<ProtocolVersion> protocols; field in class:ProtocolList
56 this.protocols = versions;
58 if ((protocols.size() == 1) &&
59 protocols.contains(ProtocolVersion.SSL20Hello)) {
65 if (protocols.size() != 0) {
66 Collections.sort(protocols);
67 min = protocols.get(0);
68 max = protocols.get(protocols.size() - 1)
    [all...]
  /external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/demos/experimental/wsgi/
services.py 10 protocols = wsgi_util.Protocols() variable
11 protocols.add_protocol(protobuf, 'protobuf')
12 protocols.add_protocol(protojson, 'json')
18 protocols=protocols) variable
  /external/owasp/sanitizer/src/main/org/owasp/html/
FilterUrlByProtocolAttributePolicy.java 40 * URLs with protocols must match the protocol set passed to the constructor.
41 * URLs without protocols but which specify an origin different from the
59 private final ImmutableSet<String> protocols; field in class:FilterUrlByProtocolAttributePolicy
62 Iterable<? extends String> protocols) {
63 this.protocols = ImmutableSet.copyOf(protocols);
74 // or the protocols by which HTML is normally served are OK.
81 if (!protocols.contains(protocol)) { return null; }
89 return protocols.contains("http") && protocols.contains("https")
    [all...]
  /external/libvncserver/webclients/novnc/include/
websock.js 207 init: function (protocols, ws_schema) {
235 // Default protocols if not specified
236 if (typeof(protocols) === "undefined") {
238 protocols = ['binary', 'base64'];
240 protocols = 'base64';
245 if (protocols === 'binary') {
249 if (typeof(protocols) === 'object') {
252 for (var i = 0; i < protocols.length; i++) {
253 if (protocols[i] === 'binary') {
256 new_protocols.push(protocols[i])
    [all...]
  /libcore/ojluni/src/main/java/javax/net/ssl/
SSLParameters.java 40 * the list of protocols to be allowed, the endpoint identification
69 private String[] protocols; field in class:SSLParameters
81 * The values of cipherSuites, protocols, cryptographic algorithm
105 * and protocols.
109 * <code>setCipherSuites(cipherSuites); setProtocols(protocols);</code>.
112 * @param protocols the array of protocols (or null)
114 public SSLParameters(String[] cipherSuites, String[] protocols) {
116 setProtocols(protocols);
144 * Returns a copy of the array of protocols or null if non
    [all...]
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
AddressTest.java 31 private List<Protocol> protocols = Util.immutableList(Protocol.HTTP_1_1); field in class:AddressTest
37 authenticator, null, protocols, connectionSpecs, proxySelector);
39 authenticator, null, protocols, connectionSpecs, proxySelector);
46 authenticator, null, protocols, connectionSpecs, new RecordingProxySelector());
48 authenticator, null, protocols, connectionSpecs, new RecordingProxySelector());
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
Address.java 47 final List<Protocol> protocols; field in class:Address
54 List<Protocol> protocols, List<ConnectionSpec> connectionSpecs, ProxySelector proxySelector) {
58 if (protocols == null) throw new IllegalArgumentException("protocols == null");
68 this.protocols = Util.immutableList(protocols);
115 * Returns the protocols the client supports. This method always returns a
119 return protocols;
159 && equal(this.protocols, that.protocols)
    [all...]
OkHttpClient.java 176 private List<Protocol> protocols; field in class:OkHttpClient
210 this.protocols = okHttpClient.protocols;
523 * Configure the protocols used by this client to communicate with remote
525 * available, falling back to more ubiquitous protocols. Applications should
529 * <p>The following protocols are currently supported:
531 * <li><a href="http://www.w3.org/Protocols/rfc2616/rfc2616.html">http/1.1</a>
537 * support for transitional protocols. The http/1.1 transport will never be
540 * <p>If multiple protocols are specified, <a
548 * @param protocols the protocols to use, in order of preference. The lis
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
Platform.java 83 List<Protocol> protocols) {
201 SSLSocket sslSocket, String hostname, List<Protocol> protocols) {
210 Object[] parameters = { concatLengthPrefixed(protocols) };
268 SSLSocket sslSocket, String hostname, List<Protocol> protocols) {
269 List<String> names = new ArrayList<>(protocols.size());
270 for (int i = 0, size = protocols.size(); i < size; i++) {
271 Protocol protocol = protocols.get(i);
313 /** This peer's supported protocols. */
314 private final List<String> protocols; field in class:Platform.JettyNegoProvider
320 public JettyNegoProvider(List<String> protocols) {
    [all...]
  /external/curl/src/
tool_libinfo.c 43 * CURLPROTO_* bits indicating which protocols are actually built
87 /* Build CURLPROTO_* bit pattern with libcurl's built-in protocols */
89 if(curlinfo->protocols) {
90 for(proto = curlinfo->protocols; *proto; proto++) {
tool_help.c 168 " --proto PROTOCOLS Enable/disable PROTOCOLS",
169 " --proto-redir PROTOCOLS Enable/disable PROTOCOLS on redirect",
306 if(curlinfo->protocols) {
307 printf("Protocols: ");
308 for(proto = curlinfo->protocols; *proto; ++proto) {
  /libcore/luni/src/test/java/libcore/javax/net/ssl/
SSLServerSocketTest.java 52 String[] protocols = new String[] {socket.getSupportedProtocols()[0]}; local
53 socket.setEnabledProtocols(protocols);
54 assertEquals(Arrays.asList(protocols), Arrays.asList(socket.getEnabledProtocols()));
SSLParametersTest.java 52 String[] protocols = new String[] { "baz", null, "qux" }; local
53 SSLParameters p = new SSLParameters(cipherSuites, protocols);
57 assertNotSame(protocols, p.getProtocols());
59 assertEquals(Arrays.asList(protocols), Arrays.asList(p.getProtocols()));
84 String[] protocols = new String[] { "fnord" }; local
85 String[] copy = protocols.clone();
88 assertEquals(Arrays.asList(protocols), Arrays.asList(p.getProtocols()));
  /external/okhttp/android/main/java/com/squareup/okhttp/internal/
Platform.java 71 SSLSocket sslSocket, String hostname, List<Protocol> protocols) {
84 Object[] parameters = { concatLengthPrefixed(protocols) };
125 static byte[] concatLengthPrefixed(List<Protocol> protocols) {
127 for (int i = 0, size = protocols.size(); i < size; i++) {
128 Protocol protocol = protocols.get(i);
  /external/okhttp/android/test/java/com/squareup/okhttp/internal/
PlatformTest.java 52 List<Protocol> protocols = Arrays.asList(Protocol.HTTP_1_1, Protocol.SPDY_3); local
53 platform.configureTlsExtensions(arbitrarySocketImpl, "host", protocols);
55 platform.configureTlsExtensions(npnOnlySSLSocketImpl, "host", protocols);
58 platform.configureTlsExtensions(openSslSocket, "host", protocols);
61 assertArrayEquals(Platform.concatLengthPrefixed(protocols), openSslSocket.alpnProtocols);
151 public void setEnabledProtocols(String[] protocols) {
  /external/webrtc/webrtc/examples/objc/AppRTCDemo/third_party/SocketRocket/
SRWebSocket.h 62 // Protocols should be an array of strings that turn into Sec-WebSocket-Protocol.
63 - (id)initWithURLRequest:(NSURLRequest *)request protocols:(NSArray *)protocols;
67 - (id)initWithURL:(NSURL *)url protocols:(NSArray *)protocols;
  /external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/
remote_test.py 825 self.protocols = remote.Protocols()
828 self.assertEquals((), self.protocols.names)
829 self.assertEquals((), self.protocols.content_types)
832 self.protocols.add_protocol(protojson, 'json')
833 self.assertEquals(('json',), self.protocols.names)
840 self.protocols.content_types)
846 self.protocols.add_protocol(Protocol, 'text')
847 self.assertEquals(('text',), self.protocols.names)
848 self.assertEquals(('text/plain',), self.protocols.content_types
    [all...]
  /external/nanohttpd/core/src/test/java/fi/iki/elonen/
ServerSocketFactoryTest.java 76 String[] protocols = { local
80 ServerSocketFactory ssFactory = new SecureServerSocketFactory(null, protocols);
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
pickletester.py 18 # Tests that try a number of pickle protocols should have a
19 # for proto in protocols:
22 protocols = range(pickle.HIGHEST_PROTOCOL + 1) variable
149 # DATA0 .. DATA2 are the pickles we expect under the various protocols, for
433 for proto in protocols:
453 for proto in protocols:
483 for proto in protocols:
492 for proto in protocols:
502 for proto in protocols:
511 for proto in protocols
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
pickletester.py 18 # Tests that try a number of pickle protocols should have a
19 # for proto in protocols:
22 protocols = range(pickle.HIGHEST_PROTOCOL + 1) variable
149 # DATA0 .. DATA2 are the pickles we expect under the various protocols, for
433 for proto in protocols:
453 for proto in protocols:
483 for proto in protocols:
492 for proto in protocols:
502 for proto in protocols:
511 for proto in protocols
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
pickletester.py 18 # Tests that try a number of pickle protocols should have a
19 # for proto in protocols:
22 protocols = range(pickle.HIGHEST_PROTOCOL + 1) variable
149 # DATA0 .. DATA2 are the pickles we expect under the various protocols, for
433 for proto in protocols:
453 for proto in protocols:
483 for proto in protocols:
492 for proto in protocols:
502 for proto in protocols:
511 for proto in protocols
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
pickletester.py 18 # Tests that try a number of pickle protocols should have a
19 # for proto in protocols:
22 protocols = range(pickle.HIGHEST_PROTOCOL + 1) variable
149 # DATA0 .. DATA2 are the pickles we expect under the various protocols, for
433 for proto in protocols:
453 for proto in protocols:
483 for proto in protocols:
492 for proto in protocols:
502 for proto in protocols:
511 for proto in protocols
    [all...]
  /external/webrtc/webrtc/base/
nethelpers.cc 130 scoped_ptr<char[]> protocols;
136 // Check for protocols in a do-while loop until we provide a buffer large
140 protocols.reset(new char[protbuff_size]);
141 protocol_infos = reinterpret_cast<LPWSAPROTOCOL_INFOW>(protocols.get());
  /external/conscrypt/src/main/java/org/conscrypt/
OpenSSLServerSocketImpl.java 66 * The names of the protocols' versions that may be used on this SSL
68 * @return an array of protocols names
76 * The names of the protocols' versions that in use on this SSL connection.
78 * @return an array of protocols names
86 * This method enables the protocols' versions listed by
89 * @param protocols names of all the protocols to enable.
95 public void setEnabledProtocols(String[] protocols) {
96 sslParameters.setEnabledProtocols(protocols);
  /external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/wsgi/
service_test.py 40 self.protocols = None
41 remote.Protocols.set_default(remote.Protocols.new_default())
55 protocols=self.protocols)
60 self.protocols = remote.Protocols()
61 self.protocols.add_protocol(protojson, 'altproto', 'image/png')
63 global_protocols = remote.Protocols()
65 remote.Protocols.set_default(global_protocols
    [all...]

Completed in 724 milliseconds

1 2 3 4 5 6 7 8