summary refs log tree commit diff
path: root/crypto/src/tls/TlsServerContextImpl.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/tls/TlsServerContextImpl.cs')
-rw-r--r--crypto/src/tls/TlsServerContextImpl.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/crypto/src/tls/TlsServerContextImpl.cs b/crypto/src/tls/TlsServerContextImpl.cs
new file mode 100644
index 000000000..0c719bce5
--- /dev/null
+++ b/crypto/src/tls/TlsServerContextImpl.cs
@@ -0,0 +1,20 @@
+using System;
+
+using Org.BouncyCastle.Tls.Crypto;
+
+namespace Org.BouncyCastle.Tls
+{
+    internal class TlsServerContextImpl
+        : AbstractTlsContext, TlsServerContext
+    {
+        internal TlsServerContextImpl(TlsCrypto crypto)
+            : base(crypto, ConnectionEnd.server)
+        {
+        }
+
+        public override bool IsServer
+        {
+            get { return true; }
+        }
+    }
+}