Lines Matching refs:sc
25 SSLSessionContext sc = context
27 sc.setSessionCacheSize(10);
28 assertEquals("10 wasn't returned", 10, sc.getSessionCacheSize());
29 sc.setSessionCacheSize(5);
30 assertEquals("5 wasn't returned", 5, sc.getSessionCacheSize());
33 sc.setSessionCacheSize(-1);
49 SSLSessionContext sc = context
51 sc.setSessionTimeout(100);
52 assertEquals("100 wasn't returned", 100, sc.getSessionTimeout());
53 sc.setSessionTimeout(5000);
54 assertEquals("5000 wasn't returned", 5000, sc.getSessionTimeout());
57 sc.setSessionTimeout(-1);
72 SSLSessionContext sc = context
75 sc.getSession(null);
79 assertNull(sc.getSession(new byte[5]));
90 SSLSessionContext sc = context
92 assertFalse(sc.getIds().hasMoreElements());