Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

TlsNamedGroup Class

Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 8.0.9673)

Represents TLS 1.3 named group. Named groups are used for key exchange in TLS handshake. Allowed named groups can be set using the SetNamedGroups(TlsNamedGroup[]) method.

Syntax
public sealed class TlsNamedGroup : IEquatable<TlsNamedGroup>
Inheritance
Object
TlsNamedGroup
Implements
IEquatable<TlsNamedGroup>
Inherited Members
Object.Equals(Object, Object)
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)

Remarks

Named groups are sent during the TLS handshake in the 'supported_groups' extension, and they are also used in the 'key_share' extension.

See section 4.2.7 of RFC 8446 for details.

Constructors

Name Description
TlsNamedGroup(String, Boolean)

Initializes a new instance of the TlsNamedGroup.

Properties

Name Description
BrainpoolP256r1tls13

Gets the elliptic curve (ECDHE) BrainpoolP256r1tls13 named group.

BrainpoolP384r1tls13

Gets the elliptic curve (ECDHE) BrainpoolP384r1tls13 named group.

BrainpoolP512r1tls13

Gets the elliptic curve (ECDHE) BrainpoolP512r1tls13 named group.

Ffdhe2048

Gets the finite field Diffie-Hellman (DHE) ffdhe2048 named group.

Ffdhe3072

Gets the finite field Diffie-Hellman (DHE) ffdhe3072 named group.

Ffdhe4096

Gets the finite field Diffie-Hellman (DHE) fdhe4096 named group.

GenerateKeyShareInClientHello

Gets the indication whether the TlsSocket generates and sends the key share for this instance of the TlsNamedGroup in the ClientHello 'key_share' extension.

IsAvailable

Gets the indication whether the named group, which this instance of the TlsNamedGroup represents, is available on the current platform.

Name

Get the name of the named group.

Secp256r1

Gets the elliptic curve (ECDHE) secp256r1 (NIST P-256) named group.

SecP256r1MLKEM768

Gets the hybrid named group combining SecP256r1 (NIST P-256) ECDH with the post-quantum ML-KEM-768 key encapsulation mechanism.

Secp384r1

Gets the elliptic curve (ECDHE) secp384r1 (NIST P-384) named group.

SecP384r1MLKEM1024

Gets the hybrid named group combining SecP384r1 (NIST P-384) ECDH with the post-quantum ML-KEM-1024 key encapsulation mechanism.

Secp521r1

Gets the elliptic curve (ECDHE) secp521r1 (NIST P-521) named group.

X25519

Gets the elliptic curve (ECDHE) X25519 (Curve 25519) named group.

X25519MLKEM768

Gets the hybrid named group combining X25519 (Curve25519-based ECDH) with the post-quantum ML-KEM-768 key encapsulation mechanism.

Methods

Name Description
Equals(TlsNamedGroup)

Determines whether the specified other is equal to this object.

Equals(Object)

Determines whether the specified obj is equal to this object.

GetHashCode()

Gets a hash code of this object.

ToString()

Returns a string representation of the current TlsNamedGroup.

See Also

SetNamedGroups(TlsNamedGroup[])
GetNamedGroups()
In This Article
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies