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
Http2SslToggle?Whether HTTP/2 is enabled.
MinTlsVersionMinTlsVersion?The minimum TLS version allowed.
Tls13SslToggle?Whether TLS 1.3 is enabled.
CiphersIReadOnlyList<string>The list of allowed cipher suites.
EarlyHintsSslToggle?Whether Early Hints is enabled.
Properties
Ciphers
The list of allowed cipher suites.
[JsonPropertyName("ciphers")]
public IReadOnlyList<string>? Ciphers { get; init; }
Property Value
EarlyHints
Whether Early Hints is enabled.
[JsonPropertyName("early_hints")]
public SslToggle? EarlyHints { get; init; }
Property Value
Http2
Whether HTTP/2 is enabled.
[JsonPropertyName("http2")]
public SslToggle? Http2 { get; init; }
Property Value
MinTlsVersion
The minimum TLS version allowed.
[JsonPropertyName("min_tls_version")]
public MinTlsVersion? MinTlsVersion { get; init; }
Property Value
Tls13
Whether TLS 1.3 is enabled.
[JsonPropertyName("tls_1_3")]
public SslToggle? Tls13 { get; init; }