Table of Contents

Class SslSettings

Namespace
Cloudflare.NET.Zones.CustomHostnames.Models
Assembly
Cloudflare.NET.dll

Represents the SSL/TLS settings for a custom hostname.

public record SslSettings : IEquatable<SslSettings>
Inheritance
SslSettings
Implements
Inherited Members

Constructors

SslSettings(SslToggle?, MinTlsVersion?, SslToggle?, IReadOnlyList<string>?, SslToggle?)

Represents the SSL/TLS settings for a custom hostname.

public SslSettings(SslToggle? Http2 = null, MinTlsVersion? MinTlsVersion = null, SslToggle? Tls13 = null, IReadOnlyList<string>? Ciphers = null, SslToggle? EarlyHints = null)

Parameters

Http2 SslToggle?

Whether HTTP/2 is enabled.

MinTlsVersion MinTlsVersion?

The minimum TLS version allowed.

Tls13 SslToggle?

Whether TLS 1.3 is enabled.

Ciphers IReadOnlyList<string>

The list of allowed cipher suites.

EarlyHints SslToggle?

Whether Early Hints is enabled.

Properties

Ciphers

The list of allowed cipher suites.

[JsonPropertyName("ciphers")]
public IReadOnlyList<string>? Ciphers { get; init; }

Property Value

IReadOnlyList<string>

EarlyHints

Whether Early Hints is enabled.

[JsonPropertyName("early_hints")]
public SslToggle? EarlyHints { get; init; }

Property Value

SslToggle?

Http2

Whether HTTP/2 is enabled.

[JsonPropertyName("http2")]
public SslToggle? Http2 { get; init; }

Property Value

SslToggle?

MinTlsVersion

The minimum TLS version allowed.

[JsonPropertyName("min_tls_version")]
public MinTlsVersion? MinTlsVersion { get; init; }

Property Value

MinTlsVersion?

Tls13

Whether TLS 1.3 is enabled.

[JsonPropertyName("tls_1_3")]
public SslToggle? Tls13 { get; init; }

Property Value

SslToggle?