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/TlsPeer.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/TlsPeer.cs')
-rw-r--r-- | crypto/src/tls/TlsPeer.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/src/tls/TlsPeer.cs b/crypto/src/tls/TlsPeer.cs index 29b4288e2..ef2837135 100644 --- a/crypto/src/tls/TlsPeer.cs +++ b/crypto/src/tls/TlsPeer.cs @@ -37,6 +37,8 @@ namespace Org.BouncyCastle.Tls int GetMaxHandshakeMessageSize(); + short[] GetPskKeyExchangeModes(); + /// <remarks> /// This option is provided as a last resort for interoperability with TLS peers that fail to correctly send a /// close_notify alert at end of stream. Implementations SHOULD return true; caution is advised if returning |