/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 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.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);
|
SSLSocket.java | 26 * The extension of {@code Socket} providing secure protocols like SSL (Secure 33 * <h4>Protocols</h4> 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); 1027 String[] protocols = p.getProtocols(); local [all...] |
SSLEngine.java | 24 * protocols. It includes the setup, handshake, and encrypt/decrypt 31 * <h4>Protocols</h4> 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); 1117 String[] protocols = p.getProtocols(); local [all...] |
/external/smack/src/org/xbill/DNS/ |
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...] |
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...] |
/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/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Address.java | 46 final List<Protocol> protocols; field in class:Address 50 OkAuthenticator authenticator, Proxy proxy, List<Protocol> protocols) 55 if (protocols == null) throw new IllegalArgumentException("protocols == null"); 63 this.protocols = Util.immutableList(protocols); 109 * Returns the protocols the client supports. This method always returns a 114 return protocols; 134 && equal(this.protocols, that.protocols); [all...] |
OkHttpClient.java | 60 private List<Protocol> protocols; field in class:OkHttpClient 311 * protocols} that can be selected. Please switch to {@link 316 List<Protocol> protocols = new ArrayList<Protocol>(transports.size()); local 320 protocols.add(protocol); 325 return setProtocols(protocols); 329 * Configure the protocols used by this client to communicate with remote 331 * available, falling back to more ubiquitous protocols. Applications should 335 * <p>The following protocols are currently supported: 337 * <li><a href="http://www.w3.org/Protocols/rfc2616/rfc2616.html">http/1.1</a> 343 * support for transitional protocols (like spdy/3.1), in favor of thei [all...] |
/external/chromium_org/third_party/WebKit/public/platform/ |
WebSocketHandle.h | 62 virtual void connect(const WebURL& /* url */, const WebVector<WebString>& protocols, const WebSerializedOrigin& /* origin */, WebSocketHandleClient*) = 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()));
|
SSLServerSocketTest.java | 52 String[] protocols = new String[] {socket.getSupportedProtocols()[0]}; local 53 socket.setEnabledProtocols(protocols); 54 assertEquals(Arrays.asList(protocols), Arrays.asList(socket.getEnabledProtocols()));
|
/external/okhttp/android/main/java/com/squareup/okhttp/internal/ |
Platform.java | 141 * Sets client-supported protocols on a socket to send to a server. The 142 * protocols are only sent if the socket implementation supports NPN. 151 byte[] protocols = concatLengthPrefixed(npnProtocols); 154 socket, new Object[] { protocols }); 158 socket, new Object[] { protocols }); 187 static byte[] concatLengthPrefixed(List<Protocol> protocols) { 189 for (Protocol protocol : protocols) { 194 for (Protocol protocol : protocols) {
|
/external/chromium_org/ppapi/thunk/ |
ppb_websocket_api.h | 27 // Connects to the specified WebSocket server with |protocols| argument 31 const PP_Var protocols[],
|
/external/chromium_org/ppapi/utility/websocket/ |
websocket_api.cc | 32 int32_t Connect(const Var& url, const Var protocols[], 37 WebSocket::Connect(url, protocols, protocol_count, callback); 114 int32_t WebSocketAPI::Connect(const Var& url, const Var protocols[], 116 return impl_->Connect(url, protocols, protocol_count);
|
websocket_api.h | 33 /// @param[in] protocols A pointer to an array of string type 34 /// <code>Var</code> specifying sub-protocols. Each <code>Var</code> 38 /// @param[in] protocol_count The number of sub-protocols in 39 /// <code>protocols</code>. 44 int32_t Connect(const Var& url, const Var protocols[],
|
/external/okhttp/android/test/java/com/squareup/okhttp/internal/ |
PlatformTest.java | 80 List<Protocol> protocols = Arrays.asList(Protocol.SPDY_3); local 84 platform.setNpnProtocols(arbitrarySocketImpl, protocols); 87 platform.setNpnProtocols(npnOnlySSLSocketImpl, protocols); 91 platform.setNpnProtocols(openSslSocket, protocols); 178 public void setEnabledProtocols(String[] protocols) {
|
/libcore/support/src/test/java/libcore/java/security/ |
StandardNames.java | 42 * This class defines expected string names for protocols, key types, [all...] |
/external/chromium_org/chromeos/dbus/ |
fake_nfc_adapter_client.cc | 89 std::vector<std::string> protocols; local 90 protocols.push_back(nfc_common::kProtocolFelica); 91 protocols.push_back(nfc_common::kProtocolMifare); 92 protocols.push_back(nfc_common::kProtocolJewel); 93 protocols.push_back(nfc_common::kProtocolIsoDep); 94 protocols.push_back(nfc_common::kProtocolNfcDep); 100 properties_->protocols.ReplaceValue(protocols); 106 second_properties_->protocols.ReplaceValue(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/chromium_org/third_party/webrtc/base/ |
nethelpers.cc | 120 scoped_ptr<char[]> protocols; 126 // Check for protocols in a do-while loop until we provide a buffer large 130 protocols.reset(new char[protbuff_size]); 131 protocol_infos = reinterpret_cast<LPWSAPROTOCOL_INFOW>(protocols.get());
|
/external/chromium_org/mojo/services/html_viewer/ |
websockethandle_impl.h | 30 const blink::WebVector<blink::WebString>& protocols,
|
/external/chromium_org/mojo/services/network/ |
web_socket_impl.h | 31 Array<String> protocols,
|
/external/chromium_org/ppapi/cpp/ |
websocket.h | 45 /// @param[in] protocols A pointer to an array of <code>Var</code> of string 46 /// type specifying sub-protocols. Each <code>Var</code> represents one 50 /// @param[in] protocol_count The number of sub-protocols in 51 /// <code>protocols</code>. 60 /// or <code>protocols</code> contains invalid string as defined in 72 int32_t Connect(const Var& url, const Var protocols[],
|