/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...] |
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
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);
|
NativeCrypto.java | 354 public static void setEnabledProtocols(int ssl, String[] protocols) { 355 checkEnabledProtocols(protocols); 356 // openssl uses negative logic letting you disable protocols. 361 for (int i = 0; i < protocols.length; i++) { 362 String protocol = protocols[i]; 379 public static String[] checkEnabledProtocols(String[] protocols) { 380 if (protocols == null) { 381 throw new IllegalArgumentException("protocols == null"); 383 for (int i = 0; i < protocols.length; i++) { 384 String protocol = protocols[i] [all...] |
SSLParametersImpl.java | 36 * about enabled cipher suites and protocols, 71 // protocols available for SSL connection 251 * @return the set of enabled protocols 258 * Sets the set of available protocols for use in SSL connection. 259 * @param protocols String[] 261 protected void setEnabledProtocols(String[] protocols) { 262 if (protocols == null) { 263 throw new IllegalArgumentException("protocols == null"); 265 for (int i=0; i<protocols.length; i++) { 266 String protocol = protocols[i] [all...] |
OpenSSLServerSocketImpl.java | 76 * The names of the protocols' versions that may be used on this SSL 78 * @return an array of protocols names 86 * The names of the protocols' versions that in use on this SSL connection. 88 * @return an array of protocols names 96 * This method enables the protocols' versions listed by 99 * @param protocols names of all the protocols to enable. 105 public void setEnabledProtocols(String[] protocols) { 106 enabledProtocols = NativeCrypto.checkEnabledProtocols(protocols);
|
/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()));
|
SSLEngineTest.java | 168 String[] protocols = e.getSupportedProtocols(); local 169 StandardNames.assertSupportedProtocols(StandardNames.SSL_SOCKET_PROTOCOLS, protocols); 170 assertNotSame(protocols, e.getSupportedProtocols()); 177 String[] protocols = e.getEnabledProtocols(); local 178 StandardNames.assertValidProtocols(StandardNames.SSL_SOCKET_PROTOCOLS, protocols); 179 assertNotSame(protocols, e.getEnabledProtocols()); 391 String[] protocols = p.getProtocols(); 392 StandardNames.assertValidProtocols(StandardNames.SSL_SOCKET_PROTOCOLS, protocols); 393 assertNotSame(protocols, e.getEnabledProtocols()); 394 assertEquals(Arrays.asList(protocols), Arrays.asList(e.getEnabledProtocols())) [all...] |
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);
|
SSLSocketTest.java | 224 String[] protocols = ssl.getSupportedProtocols(); local 225 StandardNames.assertSupportedProtocols(StandardNames.SSL_SOCKET_PROTOCOLS, protocols); 226 assertNotSame(protocols, ssl.getSupportedProtocols()); 232 String[] protocols = ssl.getEnabledProtocols(); local 233 StandardNames.assertValidProtocols(StandardNames.SSL_SOCKET_PROTOCOLS, protocols); 234 assertNotSame(protocols, ssl.getEnabledProtocols()); 849 String[] protocols = p.getProtocols(); local [all...] |
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/ |
SSLServerSocketTest.java | 124 public void setEnabledProtocols(String[] protocols) {
|
SSLSocketTest.java | 155 public void setEnabledProtocols(String[] protocols) {
|
/libcore/support/src/test/java/libcore/java/security/ |
StandardNames.java | 41 * This class defines expected string names for protocols, key types, [all...] |
/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/ppp/pppd/ |
demand.c | 109 for (i = 0; (protp = protocols[i]) != NULL; ++i) 125 for (i = 0; (protp = protocols[i]) != NULL; ++i) 142 for (i = 0; (protp = protocols[i]) != NULL; ++i) 168 for (i = 0; (protp = protocols[i]) != NULL; ++i) 351 for (i = 0; (protp = protocols[i]) != NULL; ++i) {
|
/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]});
|
/external/apache-harmony/x-net/src/test/java/javax/net/ssl/ |
MySSLContextSpi.java | 151 public void setEnabledProtocols(String[] protocols) { }
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
MySSLContextSpi.java | 143 public void setEnabledProtocols(String[] protocols) { }
|
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
MySSLContextSpi.java | 141 public void setEnabledProtocols(String[] protocols) { }
|
/external/webkit/Tools/iExploder/iexploder-1.7.2/tools/ |
update_html_tags_from_sources.sh | 36 grep -r "protocolIs" $src_dir/Source/WebCore/* | ruby -e '$stdin.readlines.join("").scan(/\"([\w-]+)"/) { |tag| puts "#{tag}:" }' > ${tmp_prefix}.protocols 61 > ${tmp_prefix}.protocols 62 grep -r 'aURI->SchemeIs("' $src_dir/* | cut -d\" -f2 | perl -ne 'chomp; print "$_:\n";' >> ${tmp_prefix}.protocols 63 grep -r 'uri->SchemeIs("' $src_dir/* | cut -d\" -f2 | perl -ne 'chomp; print "$_:\n";' >> ${tmp_prefix}.protocols 65 | xargs -I{} echo "about:{}" >> ${tmp_prefix}.protocols 67 | cut -d\" -f2 | sed s/$/:/g>> ${tmp_prefix}.protocols 91 grep -r 'URL_SCHEME.*"[a-z]' $src_dir | cut -d \" -f2 | perl -ne 'chomp; print "$_:\n";' > ${tmp_prefix}.protocols 109 types="css-properties css-values html-attrs html-tags html-values protocols headers mime-types css-pseudo css-atrules"
|
/external/chromium/chrome/common/extensions/docs/build/ |
directory.py | 286 self['protocols'] = self._parse_protocols() 521 """ Returns a list of protocols this extension requests permission for. 526 protocols = [] 530 if (len(split) == 2) and (split[0] not in protocols): 531 protocols.append(split[0] + "://") 532 return protocols
|