23.155. 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>
23.155.1. Inheritance
23.155.2. Implements
23.155.3. Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
23.155.4. Properties
23.155.4.1. Cn
Certificate common name
public required string Cn { get; init; }
23.155.4.1.1. Property Value
23.155.4.2. Fingerprint
Certificate fingerprint
public string? Fingerprint { get; init; }
23.155.4.2.1. Property Value
23.155.4.3. User
User associated to certificate
public required string User { get; init; }
23.155.4.3.1. Property Value
23.155.5. Methods
23.155.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)
23.155.5.1.1. Parameters
json string
JSON value
23.155.5.1.2. Returns
built from the provided JSON
23.155.5.2. ToJson()
Convert Placeholder to deserialize certificates for Authentication provided by users to JSON
public string ToJson()
23.155.5.2.1. Returns
representing the JSON object of this instance