CertificateId Class
Represents the identifiers for a certificate, including paths to certificate and key files, and an optional password.
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.
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.
public string CertPemFilePath { get; init; }Property Value
CertificateId.KeyPemFilePath Property
Optional path to the key file in PEM format. If not provided, assume the certificate file contains the key.
public string? KeyPemFilePath { get; init; }Property Value
CertificateId.Password Property
Optional password for the key file. Required if the key file is encrypted.
public string? Password { get; init; }