Table of Contents

Class CertificateOptions

Namespace
DMediatR
Assembly
DMediatR.dll

X509 certificate specification, inheriting the password.

public sealed class CertificateOptions : PasswordOptions
Inheritance
CertificateOptions
Inherited Members

Properties

ClientCertificateValidDays

[Range(typeof(int), "1", "9125")]
public int? ClientCertificateValidDays { get; set; }

Property Value

int?

FilePath

[Required]
public string? FilePath { get; set; }

Property Value

string

FilenamePrefix

[Required]
public string? FilenamePrefix { get; set; }

Property Value

string

HostName

[Required]
public string? HostName { get; set; }

Property Value

string

IntermediateCertificateValidDays

[Range(typeof(int), "1", "9125")]
public int? IntermediateCertificateValidDays { get; set; }

Property Value

int?

RenewBeforeExpirationDays

[Required]
[Range(typeof(int), "0", "9125")]
public int? RenewBeforeExpirationDays { get; set; }

Property Value

int?

RenewFirewallEnabled

Defaults to True. If the firewall is explicitly disabled, any node on the network can publish two RenewRootCertificateNotification messages in a row to bring down the entire network, which may not be desirable.

public bool RenewFirewallEnabled { get; set; }

Property Value

bool

RootCertificateValidDays

[Range(typeof(int), "1", "9125")]
public int? RootCertificateValidDays { get; set; }

Property Value

int?

ServerCertificateValidDays

[Range(typeof(int), "1", "9125")]
public int? ServerCertificateValidDays { get; set; }

Property Value

int?

ValidDays

Default validity period, overridable by optional values for specific certificates. The upper limit is set to 25 years, but DMediatR encourages short-lived certificates.

[Required]
[Range(typeof(int), "1", "9125")]
public int? ValidDays { get; set; }

Property Value

int?