Class X509CertificateAlertSourceConfiguration
Represents configuration for X.509 certificate expiration alert source.
Implements
Inherited Members
Namespace: Nevatech.Vsb.Repository.Alerts
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class X509CertificateAlertSourceConfiguration : IValidator
Constructors
X509CertificateAlertSourceConfiguration()
Declaration
public X509CertificateAlertSourceConfiguration()
Properties
ActiveOnly
Gets or sets flag indicating that only active certificates (the ones that are currently used by enabled users, nodes, and endpoints) must be validated. If false, all certificates are validated.
Declaration
public bool ActiveOnly { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
DaysBeforeExpiration
Gets or sets the maximum number of days before expiration when certificate starts reporting as expiring.
Declaration
public int DaysBeforeExpiration { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
ErrorMessage
Gets the message indicating the errors found during validation process.
Declaration
public string ErrorMessage { get; }
Property Value
Type | Description |
---|---|
String |
Methods
Validate()
Evaluates the state of the object.
Declaration
public bool Validate()
Returns
Type | Description |
---|---|
Boolean | True if state is valid; otherwise, false. |