summary refs log tree commit diff
path: root/crypto/src/tls/TlsCloseable.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/tls/TlsCloseable.cs')
-rw-r--r--crypto/src/tls/TlsCloseable.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/crypto/src/tls/TlsCloseable.cs b/crypto/src/tls/TlsCloseable.cs
new file mode 100644
index 000000000..baf2ff444
--- /dev/null
+++ b/crypto/src/tls/TlsCloseable.cs
@@ -0,0 +1,11 @@
+using System;
+using System.IO;
+
+namespace Org.BouncyCastle.Tls
+{
+    public interface TlsCloseable
+    {
+        /// <exception cref="IOException"/>
+        void Close();
+    }
+}