21.161. 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>
21.161.1. Inheritance
21.161.2. Implements
21.161.3. Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
21.161.4. Properties
21.161.4.1. Cn
Certificate common name
public required string Cn { get; init; }
21.161.4.1.1. Property Value
21.161.4.2. Fingerprint
Certificate fingerprint
public string? Fingerprint { get; init; }
21.161.4.2.1. Property Value
21.161.4.3. User
User associated to certificate
public required string User { get; init; }
21.161.4.3.1. Property Value
21.161.5. Methods
21.161.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)
21.161.5.1.1. Parameters
json string
JSON value
21.161.5.1.2. Returns
built from the provided JSON
21.161.5.2. ToJson()
Convert Placeholder to deserialize certificates for Authentication provided by users to JSON
public string ToJson()
21.161.5.2.1. Returns
representing the JSON object of this instance