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

TlsNamedGroup Constructor

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

TlsNamedGroup(String, Boolean)

Initializes a new instance of the TlsNamedGroup.

Declaration
public TlsNamedGroup(string name, bool generateKeyShareInClientHello = true)
Parameters
Type Name Description
String name

Named group name.

Boolean generateKeyShareInClientHello

Set the generateKeyShareInClientHello to true to generate and send the key share for this instance of the TlsNamedGroup in the ClientHello 'key_share' extension.

Setting the generateKeyShareInClientHello to false may cause additional network round trips between TLS parties.

The default value is true.

The value of the generateKeyShareInClientHello has no effect on the 'server' side of the TLS connection.

Remarks

Predefined named groups are exposed in static (shared in VB) properties declared on this class. See for example Secp256r1 property.

Exceptions
Type Condition
ArgumentException

The name is invalid.

In This Article
  • TlsNamedGroup(String, Boolean)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies