Table of Contents

Class Identity

Namespace
Signal.Domain.Entities
Assembly
Signal.Domain.dll

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

id string

The identity of the record (the contact's UUID, otherwise its phone number).

number string

The contact's phone number, if known.

uuid Guid?

The contact's account identifier, if known.

status string

Trust level reported by signal-cli.

fingerprint string

The identity key fingerprint.

safetyNumber string

The safety number to compare out of band.

added string

When 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

string

Fingerprint

The identity key fingerprint.

public string? Fingerprint { get; }

Property Value

string

IsTrusted

Whether the key is trusted (any TRUSTED* status).

public bool IsTrusted { get; }

Property Value

bool

Number

The contact's phone number, if known.

public string? Number { get; }

Property Value

string

SafetyNumber

The safety number to compare out of band.

public string? SafetyNumber { get; }

Property Value

string

Status

Trust level reported by signal-cli, e.g. TRUSTED_VERIFIED, TRUSTED_UNVERIFIED, UNTRUSTED.

public string Status { get; }

Property Value

string

Uuid

The contact's account identifier, if known.

public Guid? Uuid { get; }

Property Value

Guid?