Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2013-06-23 08:43:50 +0400
committerPeter Dettman <peter.dettman@bouncycastle.org>2013-06-23 08:43:50 +0400
commit34656055887593414f3941edd38a8140e171b711 (patch)
treee241132e9e2798bab020cdf3c1f6ab3f02fa646d /core/src/main/java/org/bouncycastle/crypto/tls/TlsSession.java
parent09e97c465f70b592f962d7cbbe186948097202ef (diff)
Add TlsClient.getResumableSession instead of new
TlsClientProtocol.connect argument New SessionParameters class to manage session data Resumed sessions added to context immediately Javadoc
Diffstat (limited to 'core/src/main/java/org/bouncycastle/crypto/tls/TlsSession.java')
-rw-r--r--core/src/main/java/org/bouncycastle/crypto/tls/TlsSession.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/src/main/java/org/bouncycastle/crypto/tls/TlsSession.java b/core/src/main/java/org/bouncycastle/crypto/tls/TlsSession.java
index ef74ece0..9b5ad460 100644
--- a/core/src/main/java/org/bouncycastle/crypto/tls/TlsSession.java
+++ b/core/src/main/java/org/bouncycastle/crypto/tls/TlsSession.java
@@ -2,9 +2,11 @@ package org.bouncycastle.crypto.tls;
public interface TlsSession
{
- void close();
+ SessionParameters exportSessionParameters();
byte[] getSessionID();
- SecurityParameters getSecurityParameters();
+ void invalidate();
+
+ boolean isResumable();
}