22.157. 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>
22.157.1. Inheritance
22.157.2. Implements
22.157.3. Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
22.157.4. Properties
22.157.4.1. Cn
Certificate common name
public required string Cn { get; init; }
22.157.4.1.1. Property Value
22.157.4.2. Fingerprint
Certificate fingerprint
public string? Fingerprint { get; init; }
22.157.4.2.1. Property Value
22.157.4.3. User
User associated to certificate
public required string User { get; init; }
22.157.4.3.1. Property Value
22.157.5. Methods
22.157.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)
22.157.5.1.1. Parameters
json string
JSON value
22.157.5.1.2. Returns
built from the provided JSON
22.157.5.2. ToJson()
Convert Placeholder to deserialize certificates for Authentication provided by users to JSON
public string ToJson()
22.157.5.2.1. Returns
representing the JSON object of this instance