Home
last modified time | relevance | path

Searched refs:persistentCache (Results 1 – 2 of 2) sorted by relevance

/external/conscrypt/src/main/java/org/conscrypt/
DServerSessionContext.java27 private SSLServerSessionCache persistentCache; field in ServerSessionContext
48 public void setPersistentCache(SSLServerSessionCache persistentCache) { in setPersistentCache() argument
49 this.persistentCache = persistentCache; in setPersistentCache()
65 if (persistentCache != null) { in getSession()
66 byte[] data = persistentCache.getSessionData(sessionId); in getSession()
84 if (persistentCache != null) { in putSession()
87 persistentCache.putSessionData(session, data); in putSession()
DClientSessionContext.java35 private SSLClientSessionCache persistentCache; field in ClientSessionContext
45 public void setPersistentCache(SSLClientSessionCache persistentCache) { in setPersistentCache() argument
46 this.persistentCache = persistentCache; in setPersistentCache()
83 if (persistentCache != null) { in getSession()
84 byte[] data = persistentCache.getSessionData(host, port); in getSession()
116 if (persistentCache != null) { in putSession()
119 persistentCache.putSessionData(session, data); in putSession()