Table of Contents

Class SslResponse

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

Represents the full SSL status and configuration returned by the API.

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

Constructors

SslResponse(string?, SslStatus, DcvMethod, CertificateType, SslSettings?, BundleMethod?, bool?, CertificateAuthority?, IReadOnlyList<ValidationRecord>?, IReadOnlyList<ValidationError>?)

Represents the full SSL status and configuration returned by the API.

public SslResponse(string? Id, SslStatus Status, DcvMethod Method, CertificateType Type, SslSettings? Settings = null, BundleMethod? BundleMethod = null, bool? Wildcard = null, CertificateAuthority? CertificateAuthority = null, IReadOnlyList<ValidationRecord>? ValidationRecords = null, IReadOnlyList<ValidationError>? ValidationErrors = null)

Parameters

Id string

The unique identifier of the SSL certificate.

Status SslStatus

The current status of the SSL certificate.

Method DcvMethod

The domain control validation method used.

Type CertificateType

The type of certificate.

Settings SslSettings

The TLS settings configured.

BundleMethod BundleMethod?

How the certificate chain is bundled.

Wildcard bool?

Whether the certificate covers wildcard subdomains.

CertificateAuthority CertificateAuthority?

The Certificate Authority that issued the certificate.

ValidationRecords IReadOnlyList<ValidationRecord>

The DCV records for domain verification.

ValidationErrors IReadOnlyList<ValidationError>

Any errors encountered during validation.

Properties

BundleMethod

How the certificate chain is bundled.

[JsonPropertyName("bundle_method")]
public BundleMethod? BundleMethod { get; init; }

Property Value

BundleMethod?

CertificateAuthority

The Certificate Authority that issued the certificate.

[JsonPropertyName("certificate_authority")]
public CertificateAuthority? CertificateAuthority { get; init; }

Property Value

CertificateAuthority?

Id

The unique identifier of the SSL certificate.

[JsonPropertyName("id")]
public string? Id { get; init; }

Property Value

string

Method

The domain control validation method used.

[JsonPropertyName("method")]
public DcvMethod Method { get; init; }

Property Value

DcvMethod

Settings

The TLS settings configured.

[JsonPropertyName("settings")]
public SslSettings? Settings { get; init; }

Property Value

SslSettings

Status

The current status of the SSL certificate.

[JsonPropertyName("status")]
public SslStatus Status { get; init; }

Property Value

SslStatus

Type

The type of certificate.

[JsonPropertyName("type")]
public CertificateType Type { get; init; }

Property Value

CertificateType

ValidationErrors

Any errors encountered during validation.

[JsonPropertyName("validation_errors")]
public IReadOnlyList<ValidationError>? ValidationErrors { get; init; }

Property Value

IReadOnlyList<ValidationError>

ValidationRecords

The DCV records for domain verification.

[JsonPropertyName("validation_records")]
public IReadOnlyList<ValidationRecord>? ValidationRecords { get; init; }

Property Value

IReadOnlyList<ValidationRecord>

Wildcard

Whether the certificate covers wildcard subdomains.

[JsonPropertyName("wildcard")]
public bool? Wildcard { get; init; }

Property Value

bool?