TelnetSettings.SetPskKeyExchangeModes Method
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9119)
SetPskKeyExchangeModes(TlsPskKeyExchangeMode[])
Sets allowed pre-shared key exchange modes for TLS 1.3. Inherited from SslSettings.
Declaration
public void SetPskKeyExchangeModes(params TlsPskKeyExchangeMode[] pskKeyExchangeModes)
Parameters
Type | Name | Description |
---|---|---|
TlsPskKeyExchangeMode[] | pskKeyExchangeModes | Allowed pre-shared key exchange modes. |
Remarks
This setting is applied only to the 'client' side of the TLS connection.
Exceptions
Type | Condition |
---|---|
ArgumentNullException | The |
ArgumentException | The |