HostServerCertificate
Record in Oadm.Sdk.Certificates · Oadm.Sdk.dll
The answer of IServerCertificates.LoadAsync.
public sealed record HostServerCertificate(IReadOnlyList<X509Certificate2> Chain, string? Problem)Parameters
Chain: The certificate with its private key, then its issuers; empty whenProblemis set.Problem: Why the server has no certificate it can use (“The MCP server has no certificate. Choose one in its policy.”); null when it has one.
Properties
Section titled “Properties”IReadOnlyList<X509Certificate2> Chain { get; init; }The certificate with its private key, then its issuers; empty when Problem is set.
Problem
Section titled “Problem”string? Problem { get; init; }Why the server has no certificate it can use (“The MCP server has no certificate. Choose one in its policy.”); null when it has one.