Home
last modified time | relevance | path

Searched refs:cipherSuite (Results 1 – 25 of 31) sorted by relevance

12

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DHandshake.java36 private final String cipherSuite; field in Handshake
41 String cipherSuite, List<Certificate> peerCertificates, List<Certificate> localCertificates) { in Handshake() argument
42 this.cipherSuite = cipherSuite; in Handshake()
48 String cipherSuite = session.getCipherSuite(); in get() local
49 if (cipherSuite == null) throw new IllegalStateException("cipherSuite == null"); in get()
66 return new Handshake(cipherSuite, peerCertificatesList, localCertificatesList); in get()
70 String cipherSuite, List<Certificate> peerCertificates, List<Certificate> localCertificates) { in get() argument
71 if (cipherSuite == null) throw new IllegalArgumentException("cipherSuite == null"); in get()
72 return new Handshake(cipherSuite, Util.immutableList(peerCertificates), in get()
77 public String cipherSuite() { in cipherSuite() method in Handshake
[all …]
DCache.java554 String cipherSuite = source.readUtf8LineStrict(); in Entry() local
557 handshake = Handshake.get(cipherSuite, peerCertificates, localCertificates); in Entry()
606 sink.writeUtf8(handshake.cipherSuite()); in writeTo()
/external/conscrypt/testing/src/main/java/libcore/java/security/
DStandardNames.java683 private static final void addRi(String cipherSuite) { in addRi() argument
684 CIPHER_SUITES_RI.add(cipherSuite); in addRi()
687 private static final void addOpenSsl(String cipherSuite) { in addOpenSsl() argument
688 CIPHER_SUITES_OPENSSL.add(cipherSuite); in addOpenSsl()
691 private static final void addBoth(String cipherSuite) { in addBoth() argument
692 addRi(cipherSuite); in addBoth()
693 addOpenSsl(cipherSuite); in addBoth()
696 private static final void addNeither(String cipherSuite) { in addNeither() argument
697 CIPHER_SUITES_NEITHER.add(cipherSuite); in addNeither()
979 for (String cipherSuite : cipherSuites) { in assertValidCipherSuites()
[all …]
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLSessionImpl.java48 private String cipherSuite; field in OpenSSLSessionImpl
193 if (cipherSuite == null) { in getCipherSuite()
195 cipherSuite = NativeCrypto.OPENSSL_TO_STANDARD_CIPHER_SUITES.get(name); in getCipherSuite()
196 if (cipherSuite == null) { in getCipherSuite()
197 cipherSuite = name; in getCipherSuite()
200 return cipherSuite; in getCipherSuite()
DNativeCrypto.java928 String cipherSuite = cipherSuites[i]; in setEnabledCipherSuites() local
929 if (cipherSuite.equals(TLS_EMPTY_RENEGOTIATION_INFO_SCSV)) { in setEnabledCipherSuites()
932 if (cipherSuite.equals(TLS_FALLBACK_SCSV)) { in setEnabledCipherSuites()
936 String openssl = STANDARD_TO_OPENSSL_CIPHER_SUITES.get(cipherSuite); in setEnabledCipherSuites()
937 String cs = (openssl == null) ? cipherSuite : openssl; in setEnabledCipherSuites()
949 String cipherSuite = cipherSuites[i]; in checkEnabledCipherSuites() local
950 if (cipherSuite == null) { in checkEnabledCipherSuites()
953 if (cipherSuite.equals(TLS_EMPTY_RENEGOTIATION_INFO_SCSV) || in checkEnabledCipherSuites()
954 cipherSuite.equals(TLS_FALLBACK_SCSV)) { in checkEnabledCipherSuites()
957 if (SUPPORTED_CIPHER_SUITES_SET.contains(cipherSuite)) { in checkEnabledCipherSuites()
[all …]
DSSLParametersImpl.java827 String cipherSuite = session.getCipherSuite(); in getCachedClientSession() local
830 if (cipherSuite.equals(enabledCipherSuite)) { in getCachedClientSession()
/external/boringssl/src/ssl/test/runner/
Dprf.go126 func prfForVersion(version uint16, suite *cipherSuite) func(result, secret, label, seed []byte) { argument
140 func masterFromPreMasterSecret(version uint16, suite *cipherSuite, preMasterSecret, clientRandom, s… argument
152 func extendedMasterFromPreMasterSecret(version uint16, suite *cipherSuite, preMasterSecret []byte, … argument
161 func keysFromMasterSecret(version uint16, suite *cipherSuite, masterSecret, clientRandom, serverRan… argument
183 func newFinishedHash(version uint16, cipherSuite *cipherSuite) finishedHash { argument
187 ret.hash = cipherSuite.hash()
460 func deriveTrafficAEAD(version uint16, suite *cipherSuite, secret []byte, side trafficDirection) in… argument
471 func computePSKBinder(psk, label []byte, cipherSuite *cipherSuite, transcript, truncatedHello []byt… argument
472 finishedHash := newFinishedHash(VersionTLS13, cipherSuite)
Dshim_ticket.go240 tag, cipherSuite, _, ok := parseDERElement(session)
241 if !ok || tag != asn1.TagOctetString || len(cipherSuite) != 2 {
245 cipherSuite[0] = byte(id >> 8)
246 cipherSuite[1] = byte(id)
Dhandshake_server.go28 suite *cipherSuite
300 for _, cipherSuite := range hs.clientHello.cipherSuites {
301 if cipherSuite == fallbackSCSV {
304 if isGREASEValue(cipherSuite) {
413 hs.hello.cipherSuite = hs.suite.id
415 hs.hello.cipherSuite = c.config.Bugs.SendCipherSuite
469 sessionCipher := cipherSuiteFromID(sessionState.cipherSuite)
1016 c.cipherSuite = hs.suite
1101 …if c.cipherSuite != nil && len(hs.clientHello.sessionId) > 0 && c.config.Bugs.FailIfResumeOnRenego…
1180 if cert := config.Bugs.RenegotiationCertificate; c.cipherSuite != nil && cert != nil {
[all …]
Dconn.go45 cipherSuite *cipherSuite member
215 func (hc *halfConn) useTrafficSecret(version uint16, suite *cipherSuite, secret []byte, side traffi…
238 …hc.useTrafficSecret(hc.version, c.cipherSuite, updateTrafficSecret(c.cipherSuite.hash(), hc.traffi…
1428 …ocessTLS13NewSessionTicket(newSessionTicket *newSessionTicketMsg, cipherSuite *cipherSuite) error {
1448 cipherSuite: cipherSuite.id,
1489 return c.processTLS13NewSessionTicket(newSessionTicket, c.cipherSuite)
1672 state.CipherSuite = c.cipherSuite.id
1723 return hkdfExpandLabel(c.cipherSuite.hash(), c.exporterSecret, label, context, length), nil
1738 prfForVersion(c.vers, c.cipherSuite)(result, c.exporterSecret, label, seed)
1748 if c.cipherSuite == nil && c.config.Bugs.NoRenegotiationInfoInInitial {
[all …]
Dticket.go23 cipherSuite uint16 member
38 msg.addU16(s.cipherSuite)
74 s.cipherSuite = uint16(data[2])<<8 | uint16(data[3])
Dcipher_suites.go82 type cipherSuite struct { struct
96 func (cs cipherSuite) hash() crypto.Hash { argument
103 var cipherSuites = []*cipherSuite{
447 func mutualCipherSuite(have []uint16, want uint16) *cipherSuite {
456 func cipherSuiteFromID(id uint16) *cipherSuite {
Dhandshake_client.go28 suite *cipherSuite
87 if c.cipherSuite != nil {
232 if id == candidateSession.cipherSuite {
251 var pskCipherSuite *cipherSuite
266 pskCipherSuite = cipherSuiteFromID(session.cipherSuite)
553 suite := mutualCipherSuite(hello.cipherSuites, serverHello.cipherSuite)
661 c.cipherSuite = suite
687 sessionCipher := cipherSuiteFromID(hs.session.cipherSuite)
1391 if c.cipherSuite != nil && c.config.Bugs.FailIfResumeOnRenego {
1459 cipherSuite: hs.suite.id,
[all …]
Dhandshake_messages.go822 cipherSuite uint16 member
860 hello.addU16(m.cipherSuite)
927 m.cipherSuite = uint16(data[0])<<8 | uint16(data[1])
Dcommon.go245 cipherSuite uint16 // Ciphersuite negotiated for the session member
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DRecordedResponse.java90 assertNotNull(handshake.cipherSuite()); in assertHandshake()
DCacheTest.java262 String suite = response1.handshake().cipherSuite(); in secureResponseCaching()
275 assertEquals(suite, response2.handshake().cipherSuite()); in secureResponseCaching()
359 assertNotNull(response1.handshake().cipherSuite()); in secureResponseCachingAndRedirects()
364 assertNotNull(response2.handshake().cipherSuite()); in secureResponseCachingAndRedirects()
368 assertEquals(response1.handshake().cipherSuite(), response2.handshake().cipherSuite()); in secureResponseCachingAndRedirects()
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/
DDelegatingHttpsURLConnection.java60 return handshake != null ? handshake.cipherSuite() : null; in getCipherSuite()
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
DJavaApiConverterTest.java214 assertNotNullAndEquals("SuperSecure", handshake.cipherSuite()); in createOkResponseForCacheGet_secure()
572 assertEquals(handshake.cipherSuite(), javaCacheResponse.getCipherSuite()); in createJavaCacheResponse_httpsPost()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/io/
DRealConnection.java402 + (handshake != null ? handshake.cipherSuite() : "none") in toString()
/external/curl/lib/vtls/
Dnss.c752 if(SSL_GetCipherSuiteInfo(channelInfo.cipherSuite, &cipherInfo, in CanFalseStartCallback()
835 channel.cipherSuite) { in display_conn_info()
836 if(SSL_GetCipherSuiteInfo(channel.cipherSuite, in display_conn_info()
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/
DJavaApiConverter.java297 return handshake != null ? handshake.cipherSuite() : null; in createJavaCacheResponse()
/external/conscrypt/common/src/jni/main/cpp/
DNativeCrypto.cpp6587 ScopedLocalRef<jstring> cipherSuite(env, in NativeCrypto_SSL_set_cipher_lists() local
6589 ScopedUtfChars c(env, cipherSuite.get()); in NativeCrypto_SSL_set_cipher_lists()
6625 ScopedLocalRef<jstring> cipherSuite(env, in NativeCrypto_SSL_set_cipher_lists() local
6627 ScopedUtfChars c(env, cipherSuite.get()); in NativeCrypto_SSL_set_cipher_lists()
/external/guice/extensions/struts2/lib/
Djetty-6.1.0.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mortbay/ org/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.mortbay.jetty.server_6.1.23.v201004211559.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...

12