/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
H A D | SSLSessionImplTest.java | 36 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 D | ServerSessionContext.java | 22 * 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 D | HostnameVerifierTest.java | 42 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 D | session.h | 1 /* $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 D | AborCommandHandler.java | 20 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 D | AlloCommandHandler.java | 20 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 D | ModeCommandHandler.java | 20 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 D | QuitCommandHandler.java | 20 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 D | RestCommandHandler.java | 20 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 D | SiteCommandHandler.java | 20 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 D | SmntCommandHandler.java | 20 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 D | StruCommandHandler.java | 20 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 D | AborCommandHandler.java | 20 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 D | AlloCommandHandler.java | 20 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 D | ModeCommandHandler.java | 20 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 D | QuitCommandHandler.java | 20 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 D | RestCommandHandler.java | 20 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 D | SiteCommandHandler.java | 20 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 D | SmntCommandHandler.java | 20 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 D | StruCommandHandler.java | 20 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 D | AborCommandHandler.java | 20 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 D | AlloCommandHandler.java | 20 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 D | ModeCommandHandler.java | 20 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 D | QuitCommandHandler.java | 20 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 D | RestCommandHandler.java | 20 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");
|