Home
last modified time | relevance | path

Searched refs:session (Results 1 – 25 of 4422) sorted by relevance

12345678910>>...177

/external/boringssl/src/ssl/
Dssl_session.cc164 static void SSL_SESSION_list_remove(SSL_CTX *ctx, SSL_SESSION *session);
165 static void SSL_SESSION_list_add(SSL_CTX *ctx, SSL_SESSION *session);
166 static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *session, int lock);
192 UniquePtr<SSL_SESSION> SSL_SESSION_dup(SSL_SESSION *session, int dup_flags) { in SSL_SESSION_dup() argument
193 UniquePtr<SSL_SESSION> new_session = ssl_session_new(session->x509_method); in SSL_SESSION_dup()
198 new_session->is_server = session->is_server; in SSL_SESSION_dup()
199 new_session->ssl_version = session->ssl_version; in SSL_SESSION_dup()
200 new_session->is_quic = session->is_quic; in SSL_SESSION_dup()
201 new_session->sid_ctx_length = session->sid_ctx_length; in SSL_SESSION_dup()
202 OPENSSL_memcpy(new_session->sid_ctx, session->sid_ctx, session->sid_ctx_length); in SSL_SESSION_dup()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/ssl/
Dssl_session.cc164 static void SSL_SESSION_list_remove(SSL_CTX *ctx, SSL_SESSION *session);
165 static void SSL_SESSION_list_add(SSL_CTX *ctx, SSL_SESSION *session);
166 static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *session, int lock);
192 UniquePtr<SSL_SESSION> SSL_SESSION_dup(SSL_SESSION *session, int dup_flags) { in SSL_SESSION_dup() argument
193 UniquePtr<SSL_SESSION> new_session = ssl_session_new(session->x509_method); in SSL_SESSION_dup()
198 new_session->is_server = session->is_server; in SSL_SESSION_dup()
199 new_session->ssl_version = session->ssl_version; in SSL_SESSION_dup()
200 new_session->is_quic = session->is_quic; in SSL_SESSION_dup()
201 new_session->sid_ctx_length = session->sid_ctx_length; in SSL_SESSION_dup()
202 OPENSSL_memcpy(new_session->sid_ctx, session->sid_ctx, session->sid_ctx_length); in SSL_SESSION_dup()
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/tls/
DHostnameVerifierTest.java62 FakeSSLSession session = new FakeSSLSession(); in verify() local
63 assertFalse(verifier.verify("localhost", session)); in verify()
68 SSLSession session = session("" in verifyCn() local
96 assertFalse(verifier.verify("foo.com", session)); in verifyCn()
97 assertFalse(verifier.verify("a.foo.com", session)); in verifyCn()
98 assertFalse(verifier.verify("bar.com", session)); in verifyCn()
103 SSLSession session = session("" in verifyNonAsciiCn() local
131 assertFalse(verifier.verify("\u82b1\u5b50.co.jp", session)); in verifyNonAsciiCn()
132 assertFalse(verifier.verify("a.\u82b1\u5b50.co.jp", session)); in verifyNonAsciiCn()
137 SSLSession session = session("" in verifySubjectAlt() local
[all …]
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/
DHostnameVerifierTest.java88 FakeSSLSession session = new FakeSSLSession(); in verify() local
90 assertFalse(verifier.verify(certs,"localhost", session)); in verify()
95 SSLSession session = session("" in verifyCn() local
124 assertFalse(verifier.verify(certs, "foo.com", session)); in verifyCn()
125 assertFalse(verifier.verify(certs, "a.foo.com", session)); in verifyCn()
126 assertFalse(verifier.verify(certs, "bar.com", session)); in verifyCn()
131 SSLSession session = session("" in verifyNonAsciiCn() local
160 assertFalse(verifier.verify(certs, "\u82b1\u5b50.co.jp", session)); in verifyNonAsciiCn()
161 assertFalse(verifier.verify(certs, "a.\u82b1\u5b50.co.jp", session)); in verifyNonAsciiCn()
166 SSLSession session = session("" in verifySubjectAlt() local
[all …]
/external/conscrypt/common/src/test/java/org/conscrypt/
DHostnameVerifierTest.java83 FakeSSLSession session = new FakeSSLSession(); in verify() local
85 assertFalse(verifier.verify(certs,"localhost", session)); in verify()
90 SSLSession session = session("" in verifyCn() local
119 assertFalse(verifier.verify(certs, "foo.com", session)); in verifyCn()
120 assertFalse(verifier.verify(certs, "a.foo.com", session)); in verifyCn()
121 assertFalse(verifier.verify(certs, "bar.com", session)); in verifyCn()
126 SSLSession session = session("" in verifyNonAsciiCn() local
155 assertFalse(verifier.verify(certs, "\u82b1\u5b50.co.jp", session)); in verifyNonAsciiCn()
156 assertFalse(verifier.verify(certs, "a.\u82b1\u5b50.co.jp", session)); in verifyNonAsciiCn()
161 SSLSession session = session("" in verifySubjectAlt() local
[all …]
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
55 private DefaultSession session; field in DefaultSessionTest
71 session = createDefaultSession(""); in setUp()
114 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
115 session.setClientDataPort(PORT); in testSetClientDataPort()
116 session.setClientDataHost(clientHost); in testSetClientDataPort()
117 session.openDataConnection(); in testSetClientDataPort()
127 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
129 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
131 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/tags/2.3/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
54 private DefaultSession session; field in DefaultSessionTest
70 session = createDefaultSession(""); in setUp()
113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
114 session.setClientDataPort(PORT); in testSetClientDataPort()
115 session.setClientDataHost(clientHost); in testSetClientDataPort()
116 session.openDataConnection(); in testSetClientDataPort()
126 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
128 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
130 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/tags/2.5/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
55 private DefaultSession session; field in DefaultSessionTest
71 session = createDefaultSession(""); in setUp()
114 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
115 session.setClientDataPort(PORT); in testSetClientDataPort()
116 session.setClientDataHost(clientHost); in testSetClientDataPort()
117 session.openDataConnection(); in testSetClientDataPort()
127 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
129 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
131 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/tags/2.4/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
55 private DefaultSession session; field in DefaultSessionTest
71 session = createDefaultSession(""); in setUp()
114 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
115 session.setClientDataPort(PORT); in testSetClientDataPort()
116 session.setClientDataHost(clientHost); in testSetClientDataPort()
117 session.openDataConnection(); in testSetClientDataPort()
127 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
129 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
131 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/tags/2.0-rc1/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
54 private DefaultSession session; field in DefaultSessionTest
70 session = createDefaultSession(""); in setUp()
113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
114 session.setClientDataPort(PORT); in testSetClientDataPort()
115 session.setClientDataHost(clientHost); in testSetClientDataPort()
116 session.openDataConnection(); in testSetClientDataPort()
126 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
128 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
130 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/tags/1.2/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
54 private DefaultSession session; field in DefaultSessionTest
70 session = createDefaultSession(""); in setUp()
113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
114 session.setClientDataPort(PORT); in testSetClientDataPort()
115 session.setClientDataHost(clientHost); in testSetClientDataPort()
116 session.openDataConnection(); in testSetClientDataPort()
126 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
128 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
130 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/tags/2.1/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
54 private DefaultSession session; field in DefaultSessionTest
70 session = createDefaultSession(""); in setUp()
113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
114 session.setClientDataPort(PORT); in testSetClientDataPort()
115 session.setClientDataHost(clientHost); in testSetClientDataPort()
116 session.openDataConnection(); in testSetClientDataPort()
126 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
128 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
130 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/tags/2.2/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
54 private DefaultSession session; field in DefaultSessionTest
70 session = createDefaultSession(""); in setUp()
113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
114 session.setClientDataPort(PORT); in testSetClientDataPort()
115 session.setClientDataHost(clientHost); in testSetClientDataPort()
116 session.openDataConnection(); in testSetClientDataPort()
126 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
128 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
130 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
54 private DefaultSession session; field in DefaultSessionTest
70 session = createDefaultSession(""); in setUp()
113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
114 session.setClientDataPort(PORT); in testSetClientDataPort()
115 session.setClientDataHost(clientHost); in testSetClientDataPort()
116 session.openDataConnection(); in testSetClientDataPort()
126 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
128 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
130 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/tags/1.2.2/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
54 private DefaultSession session; field in DefaultSessionTest
70 session = createDefaultSession(""); in setUp()
113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
114 session.setClientDataPort(PORT); in testSetClientDataPort()
115 session.setClientDataHost(clientHost); in testSetClientDataPort()
116 session.openDataConnection(); in testSetClientDataPort()
126 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
128 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
130 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
54 private DefaultSession session; field in DefaultSessionTest
70 session = createDefaultSession(""); in setUp()
113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
114 session.setClientDataPort(PORT); in testSetClientDataPort()
115 session.setClientDataHost(clientHost); in testSetClientDataPort()
116 session.openDataConnection(); in testSetClientDataPort()
126 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
128 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
130 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/tags/1.1/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
54 private DefaultSession session; field in DefaultSessionTest
70 session = createDefaultSession(""); in setUp()
113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
114 session.setClientDataPort(PORT); in testSetClientDataPort()
115 session.setClientDataHost(clientHost); in testSetClientDataPort()
116 session.openDataConnection(); in testSetClientDataPort()
126 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
128 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
130 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
54 private DefaultSession session; field in DefaultSessionTest
70 session = createDefaultSession(""); in setUp()
113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
114 session.setClientDataPort(PORT); in testSetClientDataPort()
115 session.setClientDataHost(clientHost); in testSetClientDataPort()
116 session.openDataConnection(); in testSetClientDataPort()
126 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
128 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
130 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/tags/1.2.4/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
54 private DefaultSession session; field in DefaultSessionTest
70 session = createDefaultSession(""); in setUp()
113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
114 session.setClientDataPort(PORT); in testSetClientDataPort()
115 session.setClientDataHost(clientHost); in testSetClientDataPort()
116 session.openDataConnection(); in testSetClientDataPort()
126 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
128 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
130 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/tags/1.0/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
54 private DefaultSession session; field in DefaultSessionTest
70 session = createDefaultSession(""); in setUp()
113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
114 session.setClientDataPort(PORT); in testSetClientDataPort()
115 session.setClientDataHost(clientHost); in testSetClientDataPort()
116 session.openDataConnection(); in testSetClientDataPort()
126 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
128 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
130 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/tags/1.2.3/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
54 private DefaultSession session; field in DefaultSessionTest
70 session = createDefaultSession(""); in setUp()
113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
114 session.setClientDataPort(PORT); in testSetClientDataPort()
115 session.setClientDataHost(clientHost); in testSetClientDataPort()
116 session.openDataConnection(); in testSetClientDataPort()
126 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
128 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
130 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
54 private DefaultSession session; field in DefaultSessionTest
70 session = createDefaultSession(""); in setUp()
113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
114 session.setClientDataPort(PORT); in testSetClientDataPort()
115 session.setClientDataHost(clientHost); in testSetClientDataPort()
116 session.openDataConnection(); in testSetClientDataPort()
126 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
128 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
130 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/tags/2.0.1/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
54 private DefaultSession session; field in DefaultSessionTest
70 session = createDefaultSession(""); in setUp()
113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
114 session.setClientDataPort(PORT); in testSetClientDataPort()
115 session.setClientDataHost(clientHost); in testSetClientDataPort()
116 session.openDataConnection(); in testSetClientDataPort()
126 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
128 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
130 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/tags/1.2.1/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
54 private DefaultSession session; field in DefaultSessionTest
70 session = createDefaultSession(""); in setUp()
113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
114 session.setClientDataPort(PORT); in testSetClientDataPort()
115 session.setClientDataHost(clientHost); in testSetClientDataPort()
116 session.openDataConnection(); in testSetClientDataPort()
126 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
128 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
130 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/tags/2.0.2/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
54 private DefaultSession session; field in DefaultSessionTest
70 session = createDefaultSession(""); in setUp()
113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
114 session.setClientDataPort(PORT); in testSetClientDataPort()
115 session.setClientDataHost(clientHost); in testSetClientDataPort()
116 session.openDataConnection(); in testSetClientDataPort()
126 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
128 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
130 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]

12345678910>>...177