TlsParameters Class
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9147)
Security parameters.
Syntax
public class TlsParameters
Inherited Members
Constructors
Name | Description |
---|---|
Tls |
Initializes a new instance of TlsParameters with default parameters. |
Properties
Name | Description |
---|---|
Acceptable |
Gets or sets the list of acceptable certificate authorities (server side only). |
Allow |
Gets or sets a value indicating whether deprecated versions of TLS/SSL protocol might be enabled using the Version property. Currently deprecated versions: SSL 3.0. |
Allowed |
Gets or sets the group of allowed elliptic curves (for ECDHE cipher suites). |
Allowed |
Gets or sets the group of allowed cipher suites. |
Allow |
Gets or sets a value indicating whether vulnerable ciphers
might be enabled using Allowed |
Certificate | Gets or sets the certificate to be used (server side only). |
Certificate |
Specifies how to send supplied certificate chains to the other side. |
Certificate |
Gets or sets the certificate policy for server sockets. |
Certificate |
Gets or sets the client certificate request handler. |
Certificate |
Gets or sets the certificate verifier. |
Common |
Gets or sets the common name of the server (client side only). |
Entity | Gets or sets the entity of a socket. |
Ephemeral |
Gets or sets the ephemeral Diffie-Hellman parameters for DHE key exchange on server sockets. |
Minimum |
Gets or sets the minimum allowed size (in bits) of the ephemeral Diffie-Hellman prime. Valid values are from 512 to 16384, inclusive (client side only). |
Options | Gets or sets the connection options. |
Session | Gets or sets the session to resume (client side only). |
Temporary |
Gets or sets the temporary RSA key parameters for RSA_EXPORT key exchange on server sockets with certificates with key length >512. |
Version | Gets or sets the allowed protocol versions. |
Methods
Name | Description |
---|---|
Clone() | Returns a shallow copy of the current parameters. |
Get |
Gets supported application protocols for the Application-Layer Protocol Negotiation (ALPN) extension in the ClientHello message. Default value is an empty string array - an Application-Layer Protocol Negotiation extension is NOT send in the ClientHello message. |
Get |
Returns an enumerator that yields allowed named groups, in order of preference, for TLS 1.3. |
Get |
Gets collection of cipher suites that are used (in given order) in preference to the remaining suites. Only applies to TLS 1.2 or lower. |
Get |
Returns an enumerator that yields allowed pre-shared key exchange modes for TLS 1.3. |
Get |
Returns an enumerator that yields allowed signature schemes in order of preference. |
Get |
Gets an enumeration of allowed symmetric cipher suites for TLS 1.3 and their order.
See Set |
Set |
Sets supported application protocols for the Application-Layer Protocol Negotiation (ALPN) extension in the ClientHello message. Default value is an empty string array - an Application-Layer Protocol Negotiation extension is NOT send in the ClientHello message. |
Set |
Sets allowed named groups, in order of preference, for TLS 1.3. |
Set |
Sets cipher suites to be used in preference to the remaining suites. Only applies to TLS 1.2 or lower. |
Set |
Sets allowed pre-shared key exchange modes for TLS 1.3. |
Set |
Sets allowed signature schemes in order of preference. |
Set |
Specifies a list of allowed symmetric cipher suites for TLS 1.3 and their order.
For TLS 1.2 and lower, use Allowed |