diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-07-05 15:39:36 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-07-05 15:39:36 +0700 |
commit | 62ef1a674bbf28517321f07c855a111c9290854d (patch) | |
tree | 2ce007798566a4624daea623168be0acee48fb3f /crypto/src/tls/SecurityParameters.cs | |
parent | Remove redundant test and add Parallelizable (diff) | |
download | BouncyCastle.NET-ed25519-62ef1a674bbf28517321f07c855a111c9290854d.tar.xz |
Move m_resumedSession to SecurityParameters
Diffstat (limited to 'crypto/src/tls/SecurityParameters.cs')
-rw-r--r-- | crypto/src/tls/SecurityParameters.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/src/tls/SecurityParameters.cs b/crypto/src/tls/SecurityParameters.cs index 0681401eb..7891549b6 100644 --- a/crypto/src/tls/SecurityParameters.cs +++ b/crypto/src/tls/SecurityParameters.cs @@ -8,6 +8,7 @@ namespace Org.BouncyCastle.Tls public sealed class SecurityParameters { internal int m_entity = -1; + internal bool m_resumedSession = false; internal bool m_secureRenegotiation = false; internal int m_cipherSuite = Tls.CipherSuite.TLS_NULL_WITH_NULL_NULL; internal short m_maxFragmentLength = -1; @@ -174,6 +175,11 @@ namespace Org.BouncyCastle.Tls get { return m_extendedPadding; } } + public bool IsResumedSession + { + get { return m_resumedSession; } + } + public bool IsSecureRenegotiation { get { return m_secureRenegotiation; } |