Skip to content

IServerCertificates

Interface in Oadm.Sdk.Certificates · Oadm.Sdk.dll

The certificates of the servers the host runs itself (SDK 0.13.0; HostServers), offered by PKI through IPluginServices: each is the certificate the server’s policy picks from PKI’s Certificates list. By convention only the host reads it. Nothing enforces that: any core plugin in the process can find this service, private keys included.

public interface IServerCertificates
Task<HostServerCertificate> LoadAsync(string server, CancellationToken ct)

The certificate of server with its private key, then its issuers (the issuer first); or, without a usable one, why not (the server’s status). The host calls it only while the server is on: like the Turn on of a PKI server, a policy without a certificate first gets the shared server certificate. The caller disposes the certificates.

event EventHandler? Changed

The policies or the Certificates list changed: a server loads its certificate again.