Searched refs:SslSessionWrapper (Results 1 – 11 of 11) sorted by relevance
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
D | AbstractSessionContextTest.java | 43 abstract SslSessionWrapper getCachedSession(T context, SslSessionWrapper s); in getCachedSession() 47 SslSessionWrapper a = newSession("a"); in testSimpleAddition() 48 SslSessionWrapper b = newSession("b"); in testSimpleAddition() 59 SslSessionWrapper a = newSession("a"); in testTrimToSize() 60 SslSessionWrapper b = newSession("b"); in testTrimToSize() 61 SslSessionWrapper c = newSession("c"); in testTrimToSize() 62 SslSessionWrapper d = newSession("d"); in testTrimToSize() 77 SslSessionWrapper a = newSession("a"); in testImplicitRemovalOfOldest() 78 SslSessionWrapper b = newSession("b"); in testImplicitRemovalOfOldest() 79 SslSessionWrapper c = newSession("c"); in testImplicitRemovalOfOldest() [all …]
|
D | SslSessionWrapperTest.java | 442 SslSessionWrapper.newInstance(null, truncatedSession, "www.google.com", 443)); in assertTruncatedSessionFails() 452 assertNotNull(SslSessionWrapper.newInstance(null, data, "www.google.com", 443)); in assertValidSession() 456 assertNull(SslSessionWrapper.newInstance(null, data, "www.google.com", 443)); in assertInvalidSession() 586 SslSessionWrapper session = in check_reserializableFromByteArray_roundTrip() 587 SslSessionWrapper.newInstance(null, data, "www.example.com", 12345); in check_reserializableFromByteArray_roundTrip() 590 SslSessionWrapper session2 = in check_reserializableFromByteArray_roundTrip() 591 SslSessionWrapper.newInstance(null, sessionBytes, "www.example.com", 12345); in check_reserializableFromByteArray_roundTrip() 614 private static void assertSSLSessionEquals(SslSessionWrapper a, SslSessionWrapper b) in assertSSLSessionEquals()
|
D | MockSessionBuilder.java | 73 SslSessionWrapper build() { in build() 74 SslSessionWrapper session = mock(SslSessionWrapper.class); in build()
|
D | ServerSessionContextTest.java | 32 SslSessionWrapper getCachedSession(ServerSessionContext context, SslSessionWrapper s) { in getCachedSession()
|
D | ClientSessionContextTest.java | 34 SslSessionWrapper getCachedSession(ClientSessionContext context, SslSessionWrapper s) { in getCachedSession()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | AbstractSessionContext.java | 45 private final Map<ByteArray, SslSessionWrapper> sessions = 46 new LinkedHashMap<ByteArray, SslSessionWrapper>() { 49 Map.Entry<ByteArray, SslSessionWrapper> eldest) { 77 final Iterator<SslSessionWrapper> iter; in getIds() 79 iter = Arrays.asList(sessions.values().toArray(new SslSessionWrapper[sessions.size()])) in getIds() 83 private SslSessionWrapper next; in getIds() 91 SslSessionWrapper session = iter.next(); in getIds() 123 SslSessionWrapper session; in getSession() 154 Iterator<SslSessionWrapper> i = sessions.values().iterator(); in setSessionTimeout() 156 SslSessionWrapper session = i.next(); in setSessionTimeout() [all …]
|
D | ClientSessionContext.java | 36 private final Map<HostAndPort, SslSessionWrapper> sessionsByHostAndPort = new HashMap<>(); 55 SslSessionWrapper getCachedSession(String hostName, int port, SSLParametersImpl sslParameters) { in getCachedSession() 60 SslSessionWrapper session = getSession(hostName, port); in getCachedSession() 103 private SslSessionWrapper getSession(String host, int port) { in getSession() 109 SslSessionWrapper session; in getSession() 121 session = SslSessionWrapper.newInstance(this, data, host, port); in getSession() 135 void onBeforeAddSession(SslSessionWrapper session) { in onBeforeAddSession() 157 void onBeforeRemoveSession(SslSessionWrapper session) { in onBeforeRemoveSession() 170 SslSessionWrapper getSessionFromPersistentCache(byte[] sessionId) { in getSessionFromPersistentCache()
|
D | ServerSessionContext.java | 59 SslSessionWrapper getSessionFromPersistentCache(byte[] sessionId) { in getSessionFromPersistentCache() 63 SslSessionWrapper session = SslSessionWrapper.newInstance(this, data, null, -1); in getSessionFromPersistentCache() 75 void onBeforeAddSession(SslSessionWrapper session) { in onBeforeAddSession() 86 void onBeforeRemoveSession(SslSessionWrapper session) { in onBeforeRemoveSession()
|
D | SslSessionWrapper.java | 43 abstract class SslSessionWrapper { class 49 static SslSessionWrapper newInstance(NativeRef.SSL_SESSION ref, ActiveSession activeSession) in newInstance() 78 static SslSessionWrapper newInstance( in newInstance() 209 private static final class Impl extends SslSessionWrapper {
|
D | ConscryptFileDescriptorSocket.java | 195 SslSessionWrapper cachedSession = clientSessionContext().getCachedSession( in startHandshake() 364 SslSessionWrapper sessionWrapper = SslSessionWrapper.newInstance(ref, sslSession); in onNewSessionEstablished()
|
D | ConscryptEngine.java | 395 SslSessionWrapper cachedSession = clientSessionContext().getCachedSession( in beginHandshakeInternal() 1544 SslSessionWrapper sessionWrapper = SslSessionWrapper.newInstance(ref, sslSession); in onNewSessionEstablished()
|