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
originalEncryptionKeyIdentifier
EncryptionKeyIdentifier(string)
Represents the unique identifier of an encryption key.
public EncryptionKeyIdentifier(string Value)
Parameters
ValuestringThe underlying value.
Properties
EqualityContract
protected override Type EqualityContract { get; }
Property Value
Methods
Deconstruct(out string)
public void Deconstruct(out string Value)
Parameters
Valuestring
Equals(EncryptionKeyIdentifier?)
public virtual bool Equals(EncryptionKeyIdentifier? other)
Parameters
otherEncryptionKeyIdentifier
Returns
Equals(ConceptAs<string>?)
public override sealed bool Equals(ConceptAs<string>? other)
Parameters
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
Operators
operator ==(EncryptionKeyIdentifier?, EncryptionKeyIdentifier?)
public static bool operator ==(EncryptionKeyIdentifier? left, EncryptionKeyIdentifier? right)
Parameters
leftEncryptionKeyIdentifierrightEncryptionKeyIdentifier
Returns
implicit operator Subject(EncryptionKeyIdentifier)
Implicitly convert from EncryptionKeyIdentifier to Subject.
public static implicit operator Subject(EncryptionKeyIdentifier identifier)
Parameters
identifierEncryptionKeyIdentifierEncryptionKeyIdentifier to convert from.
Returns
implicit operator EncryptionKeyIdentifier(Subject)
Implicitly convert from Subject to EncryptionKeyIdentifier.
public static implicit operator EncryptionKeyIdentifier(Subject subject)
Parameters
Returns
implicit operator EncryptionKeyIdentifier(string)
Implicitly convert from string to EncryptionKeyIdentifier.
public static implicit operator EncryptionKeyIdentifier(string value)
Parameters
Returns
operator !=(EncryptionKeyIdentifier?, EncryptionKeyIdentifier?)
public static bool operator !=(EncryptionKeyIdentifier? left, EncryptionKeyIdentifier? right)
Parameters
leftEncryptionKeyIdentifierrightEncryptionKeyIdentifier