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.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/src/tls/SecurityParameters.cs b/crypto/src/tls/SecurityParameters.cs

index f4aa1ac5a..a04c0af8c 100644 --- a/crypto/src/tls/SecurityParameters.cs +++ b/crypto/src/tls/SecurityParameters.cs
@@ -12,6 +12,7 @@ namespace Org.BouncyCastle.Tls internal int m_cipherSuite = Tls.CipherSuite.TLS_NULL_WITH_NULL_NULL; internal short m_maxFragmentLength = -1; internal int m_prfAlgorithm = -1; + internal int m_prfCryptoHashAlgorithm = -1; internal short m_prfHashAlgorithm = -1; internal int m_prfHashLength = -1; internal int m_verifyDataLength = -1; @@ -238,6 +239,11 @@ namespace Org.BouncyCastle.Tls get { return m_prfAlgorithm; } } + public int PrfCryptoHashAlgorithm + { + get { return m_prfCryptoHashAlgorithm; } + } + public short PrfHashAlgorithm { get { return m_prfHashAlgorithm; }