Skip to content

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.
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>”).

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”).

DateTime NotAfterUtc { get; init; }

The end of the latest of them (UTC).

const string AxisDeviceIdId = "axis-device-id"

Id of the Axis device ID roots.

const string OadmId = "oadm"

Id of the OADM CA that issues now.