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 13:32:09 +0400
committerPeter Dettman <peter.dettman@bouncycastle.org>2013-06-23 13:32:09 +0400
commitad2a7d6a07743254a32cf170be22fcabf5159aac (patch)
tree3faad271ea5b3566779987d2b7ce4c556a424acf /core/src/main/java/org/bouncycastle/crypto/tls/TlsClient.java
parent34656055887593414f3941edd38a8140e171b711 (diff)
Add the peer certificate, if any, to the SessionParameters
Diffstat (limited to 'core/src/main/java/org/bouncycastle/crypto/tls/TlsClient.java')
-rw-r--r--core/src/main/java/org/bouncycastle/crypto/tls/TlsClient.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/src/main/java/org/bouncycastle/crypto/tls/TlsClient.java b/core/src/main/java/org/bouncycastle/crypto/tls/TlsClient.java
index f947c1e3..80729018 100644
--- a/core/src/main/java/org/bouncycastle/crypto/tls/TlsClient.java
+++ b/core/src/main/java/org/bouncycastle/crypto/tls/TlsClient.java
@@ -10,10 +10,12 @@ public interface TlsClient
void init(TlsClientContext context);
/**
- * Return the session this client wants to resume, if any.
+ * Return the session this client wants to resume, if any. Note that the peer's certificate
+ * chain for the session (if any) may need to be periodically revalidated.
*
* @return A {@link TlsSession} representing the resumable session to be used for this
* connection, or null to use a new session.
+ * @see SessionParameters#getPeerCertificate()
*/
TlsSession getSessionToResume();