diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-07-27 01:36:50 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-07-27 01:36:50 +0700 |
commit | 51cf1f5a4659b049ef3571f32ee349f22f88329d (patch) | |
tree | b913a66956a22f6bbf1f26e7542a7392824406a1 /crypto/src/tls/SecurityParameters.cs | |
parent | OfferedPsks.Config and methods to build (diff) | |
download | BouncyCastle.NET-ed25519-51cf1f5a4659b049ef3571f32ee349f22f88329d.tar.xz |
Use PSK early secret when negotiated
Diffstat (limited to 'crypto/src/tls/SecurityParameters.cs')
-rw-r--r-- | crypto/src/tls/SecurityParameters.cs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/crypto/src/tls/SecurityParameters.cs b/crypto/src/tls/SecurityParameters.cs index 1f63f6f33..23a83a65f 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_preSharedKey = null; internal TlsSecret m_sharedSecret = null; internal TlsSecret m_trafficSecretClient = null; internal TlsSecret m_trafficSecretServer = null; @@ -79,7 +78,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_preSharedKey = null; this.m_sharedSecret = ClearSecret(m_sharedSecret); } @@ -228,11 +226,6 @@ namespace Org.BouncyCastle.Tls get { return m_peerVerifyData; } } - public TlsSecret PreSharedKey - { - get { return m_preSharedKey; } - } - public int PrfAlgorithm { get { return m_prfAlgorithm; } |