summary refs log tree commit diff
path: root/crypto/src/tls/TlsPsk.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/tls/TlsPsk.cs')
-rw-r--r--crypto/src/tls/TlsPsk.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/crypto/src/tls/TlsPsk.cs b/crypto/src/tls/TlsPsk.cs
new file mode 100644
index 000000000..c3aac3297
--- /dev/null
+++ b/crypto/src/tls/TlsPsk.cs
@@ -0,0 +1,15 @@
+using System;
+
+using Org.BouncyCastle.Tls.Crypto;
+
+namespace Org.BouncyCastle.Tls
+{
+    public interface TlsPsk
+    {
+        byte[] Identity { get; }
+
+        TlsSecret Key { get; }
+
+        int PrfAlgorithm { get; }
+    }
+}