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
IdstringThe unique identifier of the SSL certificate.
StatusSslStatusThe current status of the SSL certificate.
MethodDcvMethodThe domain control validation method used.
TypeCertificateTypeThe type of certificate.
SettingsSslSettingsThe TLS settings configured.
BundleMethodBundleMethod?How the certificate chain is bundled.
Wildcardbool?Whether the certificate covers wildcard subdomains.
CertificateAuthorityCertificateAuthority?The Certificate Authority that issued the certificate.
ValidationRecordsIReadOnlyList<ValidationRecord>The DCV records for domain verification.
ValidationErrorsIReadOnlyList<ValidationError>Any errors encountered during validation.
Properties
BundleMethod
How the certificate chain is bundled.
[JsonPropertyName("bundle_method")]
public BundleMethod? BundleMethod { get; init; }
Property Value
CertificateAuthority
The Certificate Authority that issued the certificate.
[JsonPropertyName("certificate_authority")]
public CertificateAuthority? CertificateAuthority { get; init; }
Property Value
Id
The unique identifier of the SSL certificate.
[JsonPropertyName("id")]
public string? Id { get; init; }
Property Value
Method
The domain control validation method used.
[JsonPropertyName("method")]
public DcvMethod Method { get; init; }
Property Value
Settings
The TLS settings configured.
[JsonPropertyName("settings")]
public SslSettings? Settings { get; init; }
Property Value
Status
The current status of the SSL certificate.
[JsonPropertyName("status")]
public SslStatus Status { get; init; }
Property Value
Type
The type of certificate.
[JsonPropertyName("type")]
public CertificateType Type { get; init; }
Property Value
ValidationErrors
Any errors encountered during validation.
[JsonPropertyName("validation_errors")]
public IReadOnlyList<ValidationError>? ValidationErrors { get; init; }
Property Value
ValidationRecords
The DCV records for domain verification.
[JsonPropertyName("validation_records")]
public IReadOnlyList<ValidationRecord>? ValidationRecords { get; init; }
Property Value
Wildcard
Whether the certificate covers wildcard subdomains.
[JsonPropertyName("wildcard")]
public bool? Wildcard { get; init; }
Property Value
- bool?