Class EncryptionKeyIdentifier

Namespace
Cratis.Chronicle.Compliance
Assembly
Cratis.Chronicle.dll

Represents the unique identifier of an encryption key.

public record EncryptionKeyIdentifier : ConceptAs<string>, IComparable<ConceptAs<string>>, IComparable<string>, IComparable, IEquatable<ConceptAs<string>>, IEquatable<EncryptionKeyIdentifier>
Inheritance
EncryptionKeyIdentifier
Implements
Inherited Members
Extension Methods

Constructors

EncryptionKeyIdentifier(EncryptionKeyIdentifier)

protected EncryptionKeyIdentifier(EncryptionKeyIdentifier original)

Parameters

original EncryptionKeyIdentifier

EncryptionKeyIdentifier(string)

Represents the unique identifier of an encryption key.

public EncryptionKeyIdentifier(string Value)

Parameters

Value string

The underlying value.

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Methods

Deconstruct(out string)

public void Deconstruct(out string Value)

Parameters

Value string

Equals(EncryptionKeyIdentifier?)

public virtual bool Equals(EncryptionKeyIdentifier? other)

Parameters

other EncryptionKeyIdentifier

Returns

bool

Equals(ConceptAs<string>?)

public override sealed bool Equals(ConceptAs<string>? other)

Parameters

other ConceptAs<string>

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

Operators

operator ==(EncryptionKeyIdentifier?, EncryptionKeyIdentifier?)

public static bool operator ==(EncryptionKeyIdentifier? left, EncryptionKeyIdentifier? right)

Parameters

left EncryptionKeyIdentifier
right EncryptionKeyIdentifier

Returns

bool

implicit operator Subject(EncryptionKeyIdentifier)

Implicitly convert from EncryptionKeyIdentifier to Subject.

public static implicit operator Subject(EncryptionKeyIdentifier identifier)

Parameters

identifier EncryptionKeyIdentifier

EncryptionKeyIdentifier to convert from.

Returns

Subject

implicit operator EncryptionKeyIdentifier(Subject)

Implicitly convert from Subject to EncryptionKeyIdentifier.

public static implicit operator EncryptionKeyIdentifier(Subject subject)

Parameters

subject Subject

Subject to convert from.

Returns

EncryptionKeyIdentifier

implicit operator EncryptionKeyIdentifier(string)

Implicitly convert from string to EncryptionKeyIdentifier.

public static implicit operator EncryptionKeyIdentifier(string value)

Parameters

value string

string to convert from.

Returns

EncryptionKeyIdentifier

operator !=(EncryptionKeyIdentifier?, EncryptionKeyIdentifier?)

public static bool operator !=(EncryptionKeyIdentifier? left, EncryptionKeyIdentifier? right)

Parameters

left EncryptionKeyIdentifier
right EncryptionKeyIdentifier

Returns

bool