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

1 2 3 4 5

  /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);
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...]
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...]
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 is not supported
    [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...]
  /libcore/crypto/src/main/java/org/conscrypt/
ProtocolVersion.java 27 * Protocols supported by this provider implementation
88 * @param protocols
91 public static ProtocolVersion getLatestVersion(String[] protocols) {
92 if (protocols == null || protocols.length == 0) {
95 ProtocolVersion latest = getByName(protocols[0]);
97 for (int i = 1; i < protocols.length; i++) {
98 current = getByName(protocols[i]);
SSLServerSocketImpl.java 32 // about supported and enabled cipher suites and protocols,
150 public void setEnabledProtocols(String[] protocols) {
151 sslParameters.setEnabledProtocols(protocols);
SSLParametersImpl.java 36 * about enabled cipher suites and protocols,
71 // protocols available for SSL connection
245 * @return the set of enabled protocols
252 * Sets the set of available protocols for use in SSL connection.
253 * @param protocols String[]
255 protected void setEnabledProtocols(String[] protocols) {
256 if (protocols == null) {
257 throw new IllegalArgumentException("protocols == null");
259 for (int i=0; i<protocols.length; i++) {
260 String protocol = protocols[i]
    [all...]
  /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);
  /external/chromium_org/third_party/libjingle/source/talk/base/
nethelpers.cc 112 scoped_array<char> protocols;
118 // Check for protocols in a do-while loop until we provide a buffer large
122 protocols.reset(new char[protbuff_size]);
123 protocol_infos = reinterpret_cast<LPWSAPROTOCOL_INFOW>(protocols.get());
  /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/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...]
WebSocket.h 58 static PassRefPtr<WebSocket> create(ScriptExecutionContext*, const String& url, const Vector<String>& protocols, ExceptionState&);
70 void connect(const String& url, const Vector<String>& protocols, ExceptionState&);
WebSocket.idl 36 Constructor(DOMString url, sequence<DOMString> protocols),
  /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/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[],
websocket.cc 35 int32_t WebSocket::Connect(const Var& url, const Var protocols[],
40 // Convert protocols to C interface.
48 c_protocols[i] = protocols[i].pp_var();
  /external/chromium_org/third_party/tlslite/test/
twistedserver.py 4 from twisted.protocols.policies import WrappingFactory
5 from twisted.protocols.basic import LineReceiver
  /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]);

Completed in 5446 milliseconds

1 2 3 4 5