26.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>
26.160.1. Inheritance
26.160.2. Implements
26.160.3. Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
26.160.4. Properties
26.160.4.1. Cn
Certificate common name
public required string Cn { get; init; }
26.160.4.1.1. Property Value
26.160.4.2. Fingerprint
Certificate fingerprint
public string? Fingerprint { get; init; }
26.160.4.2.1. Property Value
26.160.4.3. User
User associated to certificate
public required string User { get; init; }
26.160.4.3.1. Property Value
26.160.5. Methods
26.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)
26.160.5.1.1. Parameters
json string
JSON value
26.160.5.1.2. Returns
built from the provided JSON
26.160.5.2. ToJson()
Convert Placeholder to deserialize certificates for Authentication provided by users to JSON
public string ToJson()
26.160.5.2.1. Returns
representing the JSON object of this instance