diff options
Diffstat (limited to 'crypto/src/tls/TlsPskIdentityManager.cs')
-rw-r--r-- | crypto/src/tls/TlsPskIdentityManager.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/crypto/src/tls/TlsPskIdentityManager.cs b/crypto/src/tls/TlsPskIdentityManager.cs new file mode 100644 index 000000000..5bf10bccd --- /dev/null +++ b/crypto/src/tls/TlsPskIdentityManager.cs @@ -0,0 +1,12 @@ +using System; + +namespace Org.BouncyCastle.Tls +{ + /// <summary>Base interface for an object that can process a PSK identity.</summary> + public interface TlsPskIdentityManager + { + byte[] GetHint(); + + byte[] GetPsk(byte[] identity); + } +} |