Class SecomServerTrustResult
- Namespace
- EncDotNet.S100.Collections.Secom
- Assembly
- EncDotNet.S100.Collections.dll
The decision about one host's TLS certificate.
public sealed record SecomServerTrustResult : IEquatable<SecomServerTrustResult>
- Inheritance
-
SecomServerTrustResult
- Implements
- Inherited Members
Constructors
SecomServerTrustResult(SecomServerTrustOutcome, string?)
The decision about one host's TLS certificate.
public SecomServerTrustResult(SecomServerTrustOutcome Outcome, string? Anchor = null)
Parameters
OutcomeSecomServerTrustOutcomeWhat was decided.
AnchorstringThe trust anchor the certificate chains to, when it chains to one.
Properties
Allowed
True when the connection was allowed.
public bool Allowed { get; }
Property Value
Anchor
The trust anchor the certificate chains to, when it chains to one.
public string? Anchor { get; init; }
Property Value
Outcome
What was decided.
public SecomServerTrustOutcome Outcome { get; init; }
Property Value
Revocation
For an AnchorTrusted certificate, whether its revocation was checked (#833): NotRevoked, or NotChecked when no checker was given or no current CRL could be had (the connection is still allowed). A revoked certificate is refused as Revoked. For a SystemTrusted certificate, what the platform's online check found when SystemTls checks revocation: NotRevoked, or NotChecked (soft-fail, or not asked).
public SecomRevocationStatus Revocation { get; init; }