30.160. Class Certificate

Namespace: ArmoniK.Core.Common.Injection.Options.Database
Assembly: ArmoniK.Core.Common.dll

Placeholder to deserialize certificates for Authentication provided by users

public record Certificate : IEquatable<Certificate>

30.160.1. Inheritance

objectCertificate

30.160.2. Implements

IEquatable<Certificate>

30.160.3. Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

30.160.4. Properties

30.160.4.1. Cn

Certificate common name

public required string Cn { get; init; }

30.160.4.1.1. Property Value

string

30.160.4.2. Fingerprint

Certificate fingerprint

public string? Fingerprint { get; init; }

30.160.4.2.1. Property Value

string?

30.160.4.3. User

User associated to certificate

public required string User { get; init; }

30.160.4.3.1. Property Value

string

30.160.5. Methods

30.160.5.1. FromJson(string)

Build a Placeholder to deserialize certificates for Authentication provided by users from a JSON Represents text as a sequence of UTF-16 code units.

public static Certificate FromJson(string json)

30.160.5.1.1. Parameters

json string

JSON value

30.160.5.1.2. Returns

Certificate

built from the provided JSON

30.160.5.2. ToJson()

Convert Placeholder to deserialize certificates for Authentication provided by users to JSON

public string ToJson()

30.160.5.2.1. Returns

string

representing the JSON object of this instance