diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-07-25 19:58:02 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-07-25 19:58:02 +0700 |
commit | d8187def99004d5be735c9694c4f08f7e5fa0221 (patch) | |
tree | ec8b18e46f850f887fe2a646bad2b6a24d35b782 /crypto/src/tls/TlsPsk.cs | |
parent | Fix Truncate method (diff) | |
download | BouncyCastle.NET-ed25519-d8187def99004d5be735c9694c4f08f7e5fa0221.tar.xz |
TLS 1.3 client API for external PSKs
Diffstat (limited to 'crypto/src/tls/TlsPsk.cs')
-rw-r--r-- | crypto/src/tls/TlsPsk.cs | 15 |
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; } + } +} |