CertificateDetails
Class in Oadm.Sdk.Client.Controls · Oadm.Sdk.Client.dll
What CertificateWindow shows of one certificate (texts only, no Avalonia; SDK 0.4.0): validity with a status chip (or the revocation), issued to and issued by, key and signature, version, serial number, SHA-256 fingerprint, uses and the names in it. The certificate comes from the server as a CertificateDescription.
public sealed class CertificateDetailsConstructors
Section titled “Constructors”CertificateDetails
Section titled “CertificateDetails”CertificateDetails(CertificateDescription certificate, string title, DateTime nowUtc, CertificateRevocation? revocation = null, int warningDays = 30)Parameters
certificate: The certificate (CertificateDescriber.Describeon the server).title: The window title (“Certificate · 10.0.0.48 · https”).nowUtc: Now, for the validity.revocation: The revocation when the certificate is revoked: the chip says so instead of the validity.warningDays: Days before the end that count as ending soon (the device grid’s 30).
Properties
Section titled “Properties”Certificate
Section titled “Certificate”CertificateDescription Certificate { get; }The certificate as the server described it.
CloseCommand
Section titled “CloseCommand”ICommand CloseCommand { get; }Close.
Fingerprint
Section titled “Fingerprint”string Fingerprint { get; }SHA-256 in pairs.
IsEndingSoon
Section titled “IsEndingSoon”bool IsEndingSoon { get; }Valid, ends within the warning days.
IsExpired
Section titled “IsExpired”bool IsExpired { get; }Its validity ended.
IsNotYetValid
Section titled “IsNotYetValid”bool IsNotYetValid { get; }Its validity has not started.
IsProblem
Section titled “IsProblem”bool IsProblem { get; }Shown as an error: revoked, expired or not valid yet.
IsRevoked
Section titled “IsRevoked”bool IsRevoked { get; }On the revocation list.
IsValid
Section titled “IsValid”bool IsValid { get; }Valid with more than the warning days left.
IssuedBy
Section titled “IssuedBy”IReadOnlyList<CertificateNamePart> IssuedBy { get; }The issuer’s parts.
IssuedTo
Section titled “IssuedTo”IReadOnlyList<CertificateNamePart> IssuedTo { get; }The subject’s parts.
string Key { get; }“RSA 2048”.
string Names { get; }One name per line (“IP 10.0.0.48”).
SerialNumber
Section titled “SerialNumber”string SerialNumber { get; }“7D FD 05 …”.
Signature
Section titled “Signature”string Signature { get; }“SHA-256 with RSA”.
string Title { get; }“Certificate · 10.0.0.48 · https”.
UsedBy
Section titled “UsedBy”string? UsedBy { get; init; }What uses the certificate, one use per line (a CA’s policies and services); null: no Used by section.
string Uses { get; }“Digital signature, Server authentication”; “None listed” without key usages.
ValidFrom
Section titled “ValidFrom”string ValidFrom { get; }Start of validity, local time.
ValidUntil
Section titled “ValidUntil”string ValidUntil { get; }End of validity, local time.
ValidityText
Section titled “ValidityText”string ValidityText { get; }“Valid, 365 days left”, “Expired 3 days ago”, “Certificate revoked on 2026-11-02 (Key compromised)”.
Version
Section titled “Version”string Version { get; }“3”.
Events
Section titled “Events”CloseRequested
Section titled “CloseRequested”event EventHandler? CloseRequestedThe window closes (Close, Escape).