Table of Contents

Method IsAcceptedDnsName

Namespace
MailFathom.Infrastructure.Security.ClientCertificates
Assembly
MailFathom.Infrastructure.dll

IsAcceptedDnsName(string?)

Reports whether a configured value may be an expected subject alternative name.

public static bool IsAcceptedDnsName(string? configuredValue)

Parameters

configuredValue string

The bound value.

Returns

bool

true when the value is a DNS name a certificate could carry; otherwise false.

Remarks

Only DNS names are compared. A certificate for a client application names it by host name — OpenAI's connector presents mtls.prod.connectors.openai.com — and accepting an address or a URI here would invite a profile to be written against a name the comparison never reads.