CertificateAuthorityInfo
Record in Oadm.Sdk.Certificates · Oadm.Sdk.dll
One CA of PKI’s list: a stable id, the name shown, its kind, its certificates (DER; the Axis device ID has its roots and intermediates; an imported intermediate its chain), the end of the latest of them, and whether it can issue certificates.
public sealed record CertificateAuthorityInfo(string Id, string Name, CertificateAuthorityKind Kind, IReadOnlyList<byte[]> Certificates, DateTime NotAfterUtc, bool Issues)Parameters
Id: Stable id (“oadm”, “oadm-previous:<sha256>”, “axis-device-id”, “imported:<sha256>”).Name: The name shown (“OADM CA”, “Axis device ID”).Kind: The kind of CA.Certificates: The CA’s certificates as DER, the CA certificate first.NotAfterUtc: The end of the latest of them (UTC).Issues: True for a CA that can issue certificates now: the OADM CA, an imported CA with its key.
Properties
Section titled “Properties”Certificates
Section titled “Certificates”IReadOnlyList<byte[]> Certificates { get; init; }The CA’s certificates as DER, the CA certificate first.
string Id { get; init; }Stable id (“oadm”, “oadm-previous:<sha256>”, “axis-device-id”, “imported:<sha256>”).
Issues
Section titled “Issues”bool Issues { get; init; }True for a CA that can issue certificates now: the OADM CA, an imported CA with its key.
CertificateAuthorityKind Kind { get; init; }The kind of CA.
string Name { get; init; }The name shown (“OADM CA”, “Axis device ID”).
NotAfterUtc
Section titled “NotAfterUtc”DateTime NotAfterUtc { get; init; }The end of the latest of them (UTC).
Fields
Section titled “Fields”AxisDeviceIdId
Section titled “AxisDeviceIdId”const string AxisDeviceIdId = "axis-device-id"Id of the Axis device ID roots.
OadmId
Section titled “OadmId”const string OadmId = "oadm"Id of the OADM CA that issues now.