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

1 2

  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
Handshake.java 36 private final String cipherSuite;
41 String cipherSuite, List<Certificate> peerCertificates, List<Certificate> localCertificates) {
42 this.cipherSuite = cipherSuite;
48 String cipherSuite = session.getCipherSuite();
49 if (cipherSuite == null) throw new IllegalStateException("cipherSuite == null");
66 return new Handshake(cipherSuite, peerCertificatesList, localCertificatesList);
70 String cipherSuite, List<Certificate> peerCertificates, List<Certificate> localCertificates) {
71 if (cipherSuite == null) throw new IllegalArgumentException("cipherSuite == null")
    [all...]
HttpResponseCache.java 468 String cipherSuite = source.readUtf8LineStrict();
471 handshake = Handshake.get(cipherSuite, peerCertificates, localCertificates);
508 writer.write(handshake.cipherSuite() + '\n');
  /external/chromium_org/third_party/tlslite/tlslite/
session.py 50 self.cipherSuite = 0
59 def create(self, masterSecret, sessionID, cipherSuite,
64 self.cipherSuite = cipherSuite
77 other.cipherSuite = self.cipherSuite
118 return CipherSuite.canonicalCipherName(self.cipherSuite)
126 return CipherSuite.canonicalMacName(self.cipherSuite)
    [all...]
tlsconnection.py 27 def __init__(self, cipherSuite, clientHello, serverHello, privateKey):
31 self.cipherSuite = cipherSuite
105 serverKeyExchange = ServerKeyExchange(self.cipherSuite)
169 anonymous Diffie Hellman ciphersuite.
516 cipherSuite = serverHello.cipher_suite
533 #If the server selected an SRP ciphersuite, the client finishes
536 if cipherSuite in CipherSuite.srpAllSuites:
538 settings, cipherSuite, serverHello.certificate_type,
    [all...]
messages.py 492 def __init__(self, cipherSuite):
494 self.cipherSuite = cipherSuite
520 if self.cipherSuite in CipherSuite.srpAllSuites:
525 if self.cipherSuite in CipherSuite.srpCertSuites:
527 elif self.cipherSuite in CipherSuite.anonSuites:
536 if self.cipherSuite in CipherSuite.srpAllSuites
    [all...]
tlsrecordlayer.py     [all...]
  /libcore/support/src/test/java/libcore/java/security/
StandardNames.java 640 private static final void addRi(String cipherSuite) {
641 CIPHER_SUITES_RI.add(cipherSuite);
644 private static final void addOpenSsl(String cipherSuite) {
645 CIPHER_SUITES_OPENSSL.add(cipherSuite);
648 private static final void addBoth(String cipherSuite) {
649 addRi(cipherSuite);
650 addOpenSsl(cipherSuite);
653 private static final void addNeither(String cipherSuite) {
654 CIPHER_SUITES_NEITHER.add(cipherSuite);
    [all...]
  /external/conscrypt/src/main/java/org/conscrypt/
OpenSSLSessionImpl.java 50 private String cipherSuite;
319 if (cipherSuite == null) {
321 cipherSuite = NativeCrypto.OPENSSL_TO_STANDARD_CIPHER_SUITES.get(name);
322 if (cipherSuite == null) {
323 cipherSuite = name;
326 return cipherSuite;
NativeCrypto.java     [all...]
SSLParametersImpl.java 747 String cipherSuite = session.getCipherSuite();
750 if (cipherSuite.equals(enabledCipherSuite)) {
    [all...]
  /libcore/luni/src/test/java/libcore/javax/net/ssl/
SSLSessionContextTest.java 177 String cipherSuite = i.next();
180 if (cipherSuite.startsWith("SSL_RSA_EXPORT_")) {
185 if (cipherSuite.startsWith("SSL_RSA_")) {
188 if (cipherSuite.startsWith("TLS_RSA_")) {
191 if (cipherSuite.startsWith("TLS_DHE_RSA_")) {
194 if (cipherSuite.startsWith("SSL_DHE_RSA_")) {
SSLEngineTest.java 175 for (String cipherSuite : cipherSuites) {
179 && StandardNames.CIPHER_SUITES_OBSOLETE_TLS12.contains(cipherSuite)) {
186 if (cipherSuite.equals(StandardNames.CIPHER_SUITE_SECURE_RENEGOTIATION)
187 || cipherSuite.equals(StandardNames.CIPHER_SUITE_FALLBACK)) {
195 if (cipherSuite.startsWith("TLS_KRB5_")) {
201 ? new String[] { cipherSuite,
203 : new String[] { cipherSuite });
218 && cipherSuite.contains("_CBC_");
230 if (cipherSuite.contains("_anon_")) {
232 } else if ((cipherSuite.startsWith("TLS_PSK_")
    [all...]
SSLSocketTest.java 119 for (String cipherSuite : cipherSuites) {
120 boolean errorExpected = StandardNames.IS_RI && cipherSuite.endsWith("_SHA256");
127 if (cipherSuite.equals(StandardNames.CIPHER_SUITE_SECURE_RENEGOTIATION)) {
135 if (cipherSuite.equals(StandardNames.CIPHER_SUITE_FALLBACK)) {
143 if (cipherSuite.startsWith("TLS_KRB5_")) {
148 cipherSuite,
188 String message = ("Problem trying to connect cipher suite " + cipherSuite);
475 String cipherSuite = event.getCipherSuite();
486 System.out.println("CipherSuite=" + cipherSuite);
    [all...]
  /external/chromium_org/net/third_party/nss/ssl/
sslt.h 119 PRUint16 cipherSuite;
143 PRUint16 cipherSuite;
sslinfo.c 51 inf.cipherSuite = ss->sec.cipherType | 0xff00;
60 inf.cipherSuite = ss->ssl3.hs.cipher_suite;
221 SECStatus SSL_GetCipherSuiteInfo(PRUint16 cipherSuite,
232 if (suiteInfo[i].cipherSuite == cipherSuite) {
254 rv = SSL_CipherPrefSetDefault(pInfo->cipherSuite, PR_FALSE);
275 rv = SSL_CipherPrefSet(fd, pInfo->cipherSuite, PR_FALSE);
286 SSL_IsExportCipherSuite(PRUint16 cipherSuite)
290 if (suiteInfo[i].cipherSuite == cipherSuite) {
    [all...]
sslsnce.c 120 /* 2 */ ssl3CipherSuite cipherSuite;
502 to->u.ssl3.cipherSuite = from->u.ssl3.cipherSuite;
515 "cipherSuite=%d",
518 to->addr.pr_s6_addr32[3], to->u.ssl3.cipherSuite));
579 to->u.ssl3.cipherSuite = from->u.ssl3.cipherSuite;
888 "cipherSuite=%d", myPid, sid->cached,
891 sid->creationTime, sid->u.ssl3.cipherSuite));
966 "cipherSuite=%d", myPid, sid->cached
    [all...]
ssl.h     [all...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
SSLSocketFactoryWrapper.java 85 for (String cipherSuite : DEPRECATED_CIPHER_SUITES_TO_ENABLE) {
86 if (baseSupportedCipherSuiteSet.contains(cipherSuite) &&
87 !baseDefaultCipherSuiteSet.contains(cipherSuite)) {
88 fullCipherSuiteList.add(cipherSuite);
240 LogUtils.d(LogUtils.TAG, "using cipherSuite %s", session.getCipherSuite());
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
RecordedResponse.java 67 assertNotNull(handshake.cipherSuite());
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
SSLSessionTest.java 97 for (String cipherSuite : StandardNames.CIPHER_SUITES_DEFAULT) {
98 if (cipherSuite.contains("_RSA_")) {
99 expectedCipherSuite = cipherSuite;
SSLEngineTest.java     [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DelegatingHttpsURLConnection.java 60 return handshake != null ? handshake.cipherSuite() : null;
JavaApiConverter.java 185 return handshake != null ? handshake.cipherSuite() : null;
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
JavaApiConverterTest.java 194 assertNotNullAndEquals(httpsURLConnection.getCipherSuite(), handshake.cipherSuite());
293 assertNotNullAndEquals("SuperSecure", handshake.cipherSuite());
647 assertEquals(handshake.cipherSuite(), javaCacheResponse.getCipherSuite());
ResponseCacheTest.java     [all...]

Completed in 575 milliseconds

1 2