summary refs log tree commit diff
path: root/crypto/src/tls/SecurityParameters.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/tls/SecurityParameters.cs')
-rw-r--r--crypto/src/tls/SecurityParameters.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/crypto/src/tls/SecurityParameters.cs b/crypto/src/tls/SecurityParameters.cs
index 7775ca7c7..7deeeb72b 100644
--- a/crypto/src/tls/SecurityParameters.cs
+++ b/crypto/src/tls/SecurityParameters.cs
@@ -57,6 +57,11 @@ namespace Org.BouncyCastle.Tls
         internal byte[] m_localVerifyData = null;
         internal byte[] m_peerVerifyData = null;
 
+        /// <summary>Connection ID we use during communication to the peer.</summary>
+        internal byte[] m_connectionIDLocal;
+        /// <summary>Connection ID our peer uses for communication to us.</summary>
+        internal byte[] m_connectionIDPeer;
+
         internal void Clear()
         {
             this.m_sessionHash = null;
@@ -135,6 +140,10 @@ namespace Org.BouncyCastle.Tls
             get { return m_clientSupportedGroups; }
         }
 
+        public byte[] ConnectionIDLocal => m_connectionIDLocal;
+
+        public byte[] ConnectionIDPeer => m_connectionIDPeer;
+
         public TlsSecret EarlyExporterMasterSecret
         {
             get { return m_earlyExporterMasterSecret; }