TlsPskKeyExchangeMode Class
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9119)
Represents TLS 1.3 pre-shared key exchange modes. Pre-shared key exchange modes can be set using the SetPskKeyExchangeModes(TlsPskKeyExchangeMode[]) method.
Syntax
public sealed class TlsPskKeyExchangeMode : IEquatable<TlsPskKeyExchangeMode>
Implements
Inherited Members
Remarks
Pre-shared key exchange modes are sent during the TLS handshake in the 'psk_key_exchange_modes' extension.
See of section 4.2.9 of RFC 8446 for details.
Constructors
Name | Description |
---|---|
TlsPskKeyExchangeMode(String) | Initializes a new instance of the TlsPskKeyExchangeMode. |
Properties
Name | Description |
---|---|
Name | Gets a pre-shared key exchange mode name. |
Psk_dhe_ke | Gets the instance of Rebex.Net.TlsPskKeyExchangeMode.PskKeyExchangeMode that represents PSK with (EC)DHE key establishment. |
Psk_ke | Gets the instance of Rebex.Net.TlsPskKeyExchangeMode.PskKeyExchangeMode that represents PSK-only key establishment. |
Methods
Name | Description |
---|---|
Equals(TlsPskKeyExchangeMode) | Determines whether the specified |
Equals(Object) | Determines whether the specified |
GetHashCode() | Gets a hash code of this object. |
ToString() | Returns a string representation of the current TlsPskKeyExchangeMode. |