summary refs log tree commit diff
path: root/crypto/src/tls/SecurityParameters.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2021-07-27 17:36:09 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2021-07-27 17:36:09 +0700
commit6394a2e60292d0f0a20e74f66a28a8a10e8691a2 (patch)
tree43683c82a63640071e9ac1285dc73a1d69dd1300 /crypto/src/tls/SecurityParameters.cs
parentUse PSK early secret when negotiated (diff)
downloadBouncyCastle.NET-ed25519-6394a2e60292d0f0a20e74f66a28a8a10e8691a2.tar.xz
Add pre_shared_key to ClientHello
Diffstat (limited to 'crypto/src/tls/SecurityParameters.cs')
-rw-r--r--crypto/src/tls/SecurityParameters.cs7
1 files changed, 0 insertions, 7 deletions
diff --git a/crypto/src/tls/SecurityParameters.cs b/crypto/src/tls/SecurityParameters.cs
index 23a83a65f..548e4a4ca 100644
--- a/crypto/src/tls/SecurityParameters.cs
+++ b/crypto/src/tls/SecurityParameters.cs
@@ -22,7 +22,6 @@ namespace Org.BouncyCastle.Tls
         internal TlsSecret m_exporterMasterSecret = null;
         internal TlsSecret m_handshakeSecret = null;
         internal TlsSecret m_masterSecret = null;
-        internal TlsSecret m_sharedSecret = null;
         internal TlsSecret m_trafficSecretClient = null;
         internal TlsSecret m_trafficSecretServer = null;
         internal byte[] m_clientRandom = null;
@@ -78,7 +77,6 @@ namespace Org.BouncyCastle.Tls
             this.m_exporterMasterSecret = ClearSecret(m_exporterMasterSecret);
             this.m_handshakeSecret = ClearSecret(m_handshakeSecret);
             this.m_masterSecret = ClearSecret(m_masterSecret);
-            this.m_sharedSecret = ClearSecret(m_sharedSecret);
         }
 
         public ProtocolName ApplicationProtocol
@@ -276,11 +274,6 @@ namespace Org.BouncyCastle.Tls
             get { return m_sessionID; }
         }
 
-        public TlsSecret SharedSecret
-        {
-            get { return m_sharedSecret; }
-        }
-
         public byte[] SrpIdentity
         {
             get { return m_srpIdentity; }