Home
last modified time | relevance | path

Searched refs:sslSession (Results 1 – 12 of 12) sorted by relevance

/external/conscrypt/common/src/main/java/org/conscrypt/
DConscryptFileDescriptorSocket.java105 private final ActiveSession sslSession; field in ConscryptFileDescriptorSocket
113 sslSession = new ActiveSession(ssl, sslParameters.getSessionContext()); in ConscryptFileDescriptorSocket()
121 sslSession = new ActiveSession(ssl, sslParameters.getSessionContext()); in ConscryptFileDescriptorSocket()
129 sslSession = new ActiveSession(ssl, sslParameters.getSessionContext()); in ConscryptFileDescriptorSocket()
137 sslSession = new ActiveSession(ssl, sslParameters.getSessionContext()); in ConscryptFileDescriptorSocket()
145 sslSession = new ActiveSession(ssl, sslParameters.getSessionContext()); in ConscryptFileDescriptorSocket()
153 sslSession = new ActiveSession(ssl, sslParameters.getSessionContext()); in ConscryptFileDescriptorSocket()
329 sslSession.onSessionEstablished(getHostnameOrIP(), getPort()); in onSSLStateChange()
364 SslSessionWrapper sessionWrapper = SslSessionWrapper.newInstance(ref, sslSession); in onNewSessionEstablished()
396 sslSession.onPeerCertificatesReceived(getHostnameOrIP(), getPort(), peerCertChain); in verifyCertificateChain()
[all …]
DConscryptEngine.java152 private final ActiveSession sslSession; field in ConscryptEngine
175 sslSession = new ActiveSession(ssl, sslParameters.getSessionContext()); in ConscryptEngine()
183 sslSession = new ActiveSession(ssl, sslParameters.getSessionContext()); in ConscryptEngine()
191 sslSession = new ActiveSession(ssl, sslParameters.getSessionContext()); in ConscryptEngine()
548 return state == STATE_HANDSHAKE_STARTED ? sslSession : null; in handshakeSession()
559 return Platform.wrapSSLSession(sslSession); in getSession()
950 sslSession.onSessionEstablished(getPeerHost(), getPeerPort()); in handshake()
1544 SslSessionWrapper sessionWrapper = SslSessionWrapper.newInstance(ref, sslSession); in onNewSessionEstablished()
1575 sslSession.onPeerCertificatesReceived(getPeerHost(), getPeerPort(), peerCertChain); in verifyCertificateChain()
/external/conscrypt/platform/src/main/java/org/conscrypt/
DPlatform.java337 static SSLSession wrapSSLSession(ActiveSession sslSession) { in wrapSSLSession() argument
338 return new DelegatingExtendedSSLSession(sslSession); in wrapSSLSession()
341 static SSLSession unwrapSSLSession(SSLSession sslSession) { in unwrapSSLSession() argument
342 if (sslSession instanceof DelegatingExtendedSSLSession) { in unwrapSSLSession()
343 return ((DelegatingExtendedSSLSession) sslSession).getDelegate(); in unwrapSSLSession()
346 return sslSession; in unwrapSSLSession()
/external/conscrypt/openjdk/src/main/java/org/conscrypt/
DPlatform.java365 static SSLSession wrapSSLSession(ActiveSession sslSession) { in wrapSSLSession() argument
366 return new DelegatingExtendedSSLSession(sslSession); in wrapSSLSession()
370 static SSLSession unwrapSSLSession(SSLSession sslSession) { in unwrapSSLSession() argument
371 if (sslSession instanceof DelegatingExtendedSSLSession) { in unwrapSSLSession()
372 return ((DelegatingExtendedSSLSession) sslSession).getDelegate(); in unwrapSSLSession()
375 return sslSession; in unwrapSSLSession()
/external/conscrypt/android/src/main/java/org/conscrypt/
DPlatform.java699 public static SSLSession wrapSSLSession(ActiveSession sslSession) { in wrapSSLSession() argument
701 return sslSession; in wrapSSLSession()
704 return new DelegatingExtendedSSLSession(sslSession); in wrapSSLSession()
707 public static SSLSession unwrapSSLSession(SSLSession sslSession) { in unwrapSSLSession() argument
709 return sslSession; in unwrapSSLSession()
712 if (sslSession instanceof DelegatingExtendedSSLSession) { in unwrapSSLSession()
713 return ((DelegatingExtendedSSLSession) sslSession).getDelegate(); in unwrapSSLSession()
716 return sslSession; in unwrapSSLSession()
/external/apache-http/android/src/android/net/http/
DCertificateChainValidator.java113 SSLSession sslSession = sslSocket.getSession(); in doHandshakeAndValidateServerCertificates() local
114 if (!sslSession.isValid()) { in doHandshakeAndValidateServerCertificates()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DExternalSpdyExample.java42 @Override public boolean verify(String s, SSLSession sslSession) { in main()
DExternalHttp2Example.java42 @Override public boolean verify(String s, SSLSession sslSession) { in main()
/external/okhttp/okcurl/src/main/java/com/squareup/okhttp/curl/
DMain.java270 @Override public boolean verify(String s, SSLSession sslSession) { in createInsecureHostnameVerifier()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DNativeCryptoTest.java2351 public abstract void run(long sslSession) throws Exception; in run() argument
2370 public void run(long sslSession) throws Exception { in SSL_shutdown_withNullFdShouldSucceed()
2371 NativeCrypto.SSL_shutdown(sslSession, null, DUMMY_CB); in SSL_shutdown_withNullFdShouldSucceed()
2380 public void run(long sslSession) throws Exception { in SSL_shutdown_withNullCallbacksShouldThrow()
2381 NativeCrypto.SSL_shutdown(sslSession, INVALID_FD, null); in SSL_shutdown_withNullCallbacksShouldThrow()
2397 public void run(long sslSession) throws Exception { in SSL_shutdown_beforeHandshakeShouldThrow()
2398 NativeCrypto.SSL_shutdown(sslSession, INVALID_FD, DUMMY_CB); in SSL_shutdown_beforeHandshakeShouldThrow()
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/
DUrlConnectionCacheTest.java76 @Override public boolean verify(String s, SSLSession sslSession) {
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DCacheTest.java71 @Override public boolean verify(String s, SSLSession sslSession) {