diff options
Diffstat (limited to 'crypto/src/tls/AbstractTlsContext.cs')
-rw-r--r-- | crypto/src/tls/AbstractTlsContext.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/src/tls/AbstractTlsContext.cs b/crypto/src/tls/AbstractTlsContext.cs index c70312721..75e46d993 100644 --- a/crypto/src/tls/AbstractTlsContext.cs +++ b/crypto/src/tls/AbstractTlsContext.cs @@ -94,6 +94,11 @@ namespace Org.BouncyCastle.Tls get { lock (this) return m_connected; } } + internal bool IsHandshaking + { + get { lock (this) return !m_connected && null != m_securityParameters; } + } + public TlsCrypto Crypto { get { return m_crypto; } |