Skip to content

CertificateId Class

Represents the identifiers for a certificate, including paths to certificate and key files, and an optional password.

C#
public record CertificateId : System.IEquatable<Abblix.Utils.CertificateId>

Inheritance System.Object → CertificateId

Implements System.IEquatable<CertificateId>

Constructors

CertificateId(string, string, string) Constructor

Represents the identifiers for a certificate, including paths to certificate and key files, and an optional password.

C#
public CertificateId(string CertPemFilePath, string? KeyPemFilePath=null, string? Password=null);

Parameters

CertPemFilePath System.String

Path to the certificate file in PEM format.

KeyPemFilePath System.String

Optional path to the key file in PEM format. If not provided, assume the certificate file contains the key.

Password System.String

Optional password for the key file. Required if the key file is encrypted.

Properties

CertificateId.CertPemFilePath Property

Path to the certificate file in PEM format.

C#
public string CertPemFilePath { get; init; }

Property Value

System.String

CertificateId.KeyPemFilePath Property

Optional path to the key file in PEM format. If not provided, assume the certificate file contains the key.

C#
public string? KeyPemFilePath { get; init; }

Property Value

System.String

CertificateId.Password Property

Optional password for the key file. Required if the key file is encrypted.

C#
public string? Password { get; init; }

Property Value

System.String