Searched refs:session (Results 1 - 25 of 2930) sorted by relevance

1234567891011>>

/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
H A DSSLSessionImplTest.java36 SSLSessionImpl session = new SSLSessionImpl(null, null);
37 assertEquals(session.getCipherSuite(),
40 session = new SSLSessionImpl(CipherSuite.TLS_RSA_WITH_NULL_MD5,
42 session.protocol = ProtocolVersion.TLSv1;
43 assertEquals("Incorrect protocol", "TLSv1", session.getProtocol());
44 assertEquals("Incorrect cipher suite", session.getCipherSuite(),
46 assertEquals("Incorrect id", 32, session.getId().length);
47 assertTrue("Incorrect isValid", session.isValid());
48 assertTrue("Incorrect isServer", session.isServer);
49 long time = session
[all...]
/external/conscrypt/src/main/java/org/conscrypt/
H A DServerSessionContext.java22 * Caches server sessions. Indexes by session ID. Users typically look up
35 // TODO remove SSL_CTX session cache limit so we can manage it
41 // Set a trivial session id context. OpenSSL uses this to make
53 protected void sessionRemoved(SSLSession session) {} argument
57 SSLSession session = super.getSession(sessionId);
58 if (session != null) {
59 return session;
66 session = toSession(data, null, -1);
67 if (session != null && session
78 putSession(SSLSession session) argument
[all...]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/tls/
H A DHostnameVerifierTest.java42 FakeSSLSession session = new FakeSSLSession();
43 assertFalse(verifier.verify("localhost", session));
48 SSLSession session = session(""
74 assertTrue(verifier.verify("foo.com", session));
75 assertFalse(verifier.verify("a.foo.com", session));
76 assertFalse(verifier.verify("bar.com", session));
81 SSLSession session = session(""
107 assertTrue(verifier.verify("\u82b1\u5b50.co.jp", session));
551 private SSLSession session(String certificate) throws Exception { method in class:HostnameVerifierTest
[all...]
/external/ipsec-tools/src/racoon/
H A Dsession.h1 /* $NetBSD: session.h,v 1.4 2006/09/09 16:22:10 manu Exp $ */
3 /* Id: session.h,v 1.3 2004/06/11 16:00:17 ludvigm Exp */
37 extern int session __P((void));
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/command/
H A DAborCommandHandler.java20 import org.mockftpserver.core.session.Session;
34 protected void handle(Command command, Session session) { argument
35 verifyLoggedIn(session);
36 sendReply(session, ReplyCodes.ABOR_OK, "abor");
H A DAlloCommandHandler.java20 import org.mockftpserver.core.session.Session;
34 protected void handle(Command command, Session session) { argument
35 verifyLoggedIn(session);
36 sendReply(session, ReplyCodes.ALLO_OK, "allo");
H A DModeCommandHandler.java20 import org.mockftpserver.core.session.Session;
34 protected void handle(Command command, Session session) { argument
35 verifyLoggedIn(session);
36 sendReply(session, ReplyCodes.MODE_OK, "mode");
H A DQuitCommandHandler.java20 import org.mockftpserver.core.session.Session;
23 * CommandHandler for the QUIT command. Return a reply code of 221 and close the current session.
30 protected void handle(Command command, Session session) { argument
31 sendReply(session, ReplyCodes.QUIT_OK, "quit");
32 session.close();
H A DRestCommandHandler.java20 import org.mockftpserver.core.session.Session;
34 protected void handle(Command command, Session session) { argument
35 verifyLoggedIn(session);
36 sendReply(session, ReplyCodes.REST_OK, "rest");
H A DSiteCommandHandler.java20 import org.mockftpserver.core.session.Session;
33 protected void handle(Command command, Session session) { argument
34 verifyLoggedIn(session);
35 sendReply(session, ReplyCodes.SITE_OK, "site");
H A DSmntCommandHandler.java20 import org.mockftpserver.core.session.Session;
34 protected void handle(Command command, Session session) { argument
35 verifyLoggedIn(session);
36 sendReply(session, ReplyCodes.SMNT_OK, "smnt");
H A DStruCommandHandler.java20 import org.mockftpserver.core.session.Session;
34 protected void handle(Command command, Session session) { argument
35 verifyLoggedIn(session);
36 sendReply(session, ReplyCodes.STRU_OK, "stru");
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/fake/command/
H A DAborCommandHandler.java20 import org.mockftpserver.core.session.Session;
34 protected void handle(Command command, Session session) { argument
35 verifyLoggedIn(session);
36 sendReply(session, ReplyCodes.ABOR_OK, "abor");
H A DAlloCommandHandler.java20 import org.mockftpserver.core.session.Session;
34 protected void handle(Command command, Session session) { argument
35 verifyLoggedIn(session);
36 sendReply(session, ReplyCodes.ALLO_OK, "allo");
H A DModeCommandHandler.java20 import org.mockftpserver.core.session.Session;
34 protected void handle(Command command, Session session) { argument
35 verifyLoggedIn(session);
36 sendReply(session, ReplyCodes.MODE_OK, "mode");
H A DQuitCommandHandler.java20 import org.mockftpserver.core.session.Session;
23 * CommandHandler for the QUIT command. Return a reply code of 221 and close the current session.
30 protected void handle(Command command, Session session) { argument
31 sendReply(session, ReplyCodes.QUIT_OK, "quit");
32 session.close();
H A DRestCommandHandler.java20 import org.mockftpserver.core.session.Session;
34 protected void handle(Command command, Session session) { argument
35 verifyLoggedIn(session);
36 sendReply(session, ReplyCodes.REST_OK, "rest");
H A DSiteCommandHandler.java20 import org.mockftpserver.core.session.Session;
33 protected void handle(Command command, Session session) { argument
34 verifyLoggedIn(session);
35 sendReply(session, ReplyCodes.SITE_OK, "site");
H A DSmntCommandHandler.java20 import org.mockftpserver.core.session.Session;
34 protected void handle(Command command, Session session) { argument
35 verifyLoggedIn(session);
36 sendReply(session, ReplyCodes.SMNT_OK, "smnt");
H A DStruCommandHandler.java20 import org.mockftpserver.core.session.Session;
34 protected void handle(Command command, Session session) { argument
35 verifyLoggedIn(session);
36 sendReply(session, ReplyCodes.STRU_OK, "stru");
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/fake/command/
H A DAborCommandHandler.java20 import org.mockftpserver.core.session.Session;
34 protected void handle(Command command, Session session) { argument
35 verifyLoggedIn(session);
36 sendReply(session, ReplyCodes.ABOR_OK, "abor");
H A DAlloCommandHandler.java20 import org.mockftpserver.core.session.Session;
34 protected void handle(Command command, Session session) { argument
35 verifyLoggedIn(session);
36 sendReply(session, ReplyCodes.ALLO_OK, "allo");
H A DModeCommandHandler.java20 import org.mockftpserver.core.session.Session;
34 protected void handle(Command command, Session session) { argument
35 verifyLoggedIn(session);
36 sendReply(session, ReplyCodes.MODE_OK, "mode");
H A DQuitCommandHandler.java20 import org.mockftpserver.core.session.Session;
23 * CommandHandler for the QUIT command. Return a reply code of 221 and close the current session.
30 protected void handle(Command command, Session session) { argument
31 sendReply(session, ReplyCodes.QUIT_OK, "quit");
32 session.close();
H A DRestCommandHandler.java20 import org.mockftpserver.core.session.Session;
34 protected void handle(Command command, Session session) { argument
35 verifyLoggedIn(session);
36 sendReply(session, ReplyCodes.REST_OK, "rest");

Completed in 303 milliseconds

1234567891011>>