Class Identity
The safety-number (identity key) record of a contact, used to verify and trust keys.
public sealed class Identity : Entity<string>, IEquatable<Entity<string>>
- Inheritance
-
Identity
- Implements
- Inherited Members
Constructors
Identity(string, string?, Guid?, string, string?, string?, string?)
The safety-number (identity key) record of a contact, used to verify and trust keys.
public Identity(string id, string? number, Guid? uuid, string status, string? fingerprint, string? safetyNumber, string? added)
Parameters
idstringThe identity of the record (the contact's UUID, otherwise its phone number).
numberstringThe contact's phone number, if known.
uuidGuid?The contact's account identifier, if known.
statusstringTrust level reported by signal-cli.
fingerprintstringThe identity key fingerprint.
safetyNumberstringThe safety number to compare out of band.
addedstringWhen the key was first seen, as reported by signal-cli.
Properties
Added
When the key was first seen, as reported by signal-cli.
public string? Added { get; }
Property Value
Fingerprint
The identity key fingerprint.
public string? Fingerprint { get; }
Property Value
IsTrusted
Whether the key is trusted (any TRUSTED* status).
public bool IsTrusted { get; }
Property Value
Number
The contact's phone number, if known.
public string? Number { get; }
Property Value
SafetyNumber
The safety number to compare out of band.
public string? SafetyNumber { get; }
Property Value
Status
Trust level reported by signal-cli, e.g. TRUSTED_VERIFIED, TRUSTED_UNVERIFIED, UNTRUSTED.
public string Status { get; }
Property Value
Uuid
The contact's account identifier, if known.
public Guid? Uuid { get; }
Property Value
- Guid?