Table of Contents

Class SecomResolvedIdentity

Namespace
EncDotNet.S100.Collections.Secom
Assembly
EncDotNet.S100.Collections.dll

A source's Identity setting resolved by Resolve(string?) (#883): the identity it presents now.

public sealed record SecomResolvedIdentity : IEquatable<SecomResolvedIdentity>
Inheritance
SecomResolvedIdentity
Implements
Inherited Members

Constructors

SecomResolvedIdentity(string, string?, SecomClientIdentity?)

A source's Identity setting resolved by Resolve(string?) (#883): the identity it presents now.

public SecomResolvedIdentity(string Setting, string? Id, SecomClientIdentity? Identity)

Parameters

Setting string

The setting in canonical form: default, none or a reference id.

Id string

The reference id it resolves to: the default's id for default, or the reference itself; null for none and for a default that is not set.

Identity SecomClientIdentity

The identity presented, or null for none, including when Id names an identity that is not registered.

Properties

FollowsDefault

True when the setting follows the default identity.

public bool FollowsDefault { get; }

Property Value

bool

Id

The reference id it resolves to: the default's id for default, or the reference itself; null for none and for a default that is not set.

public string? Id { get; init; }

Property Value

string

Identity

The identity presented, or null for none, including when Id names an identity that is not registered.

public SecomClientIdentity? Identity { get; init; }

Property Value

SecomClientIdentity

IsMissing

True when Id names an identity that is not registered (removed, or never imported here).

public bool IsMissing { get; }

Property Value

bool

None

No identity: never presents a certificate or signs.

public static SecomResolvedIdentity None { get; }

Property Value

SecomResolvedIdentity

Setting

The setting in canonical form: default, none or a reference id.

public string Setting { get; init; }

Property Value

string