3 types derived from CertificateManager
Microsoft.AspNetCore.Server.Kestrel.Core (3)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
19internal sealed class MacOSCertificateManager : CertificateManager
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
21internal sealed partial class UnixCertificateManager : CertificateManager
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
16internal sealed class WindowsCertificateManager : CertificateManager
9 references to CertificateManager
Microsoft.AspNetCore.Server.Kestrel.Core (9)
KestrelServerOptions.cs (5)
378var certs = CertificateManager.Instance.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: false); 387var status = CertificateManager.Instance.CheckCertificateState(cert); 407switch (CertificateManager.Instance.GetTrustLevel(cert)) 409case CertificateManager.TrustLevel.Partial: 412case CertificateManager.TrustLevel.None:
src\Shared\CertificateGeneration\CertificateManager.cs (2)
33public static CertificateManager Instance { get; } = OperatingSystem.IsWindows() ? 38new MacOSCertificateManager() as CertificateManager :
TlsConfigurationLoader.cs (2)
179return string.Equals(certificate.Subject, CertificateManager.LocalhostHttpsDistinguishedName, StringComparison.Ordinal) && 180CertificateManager.IsHttpsDevelopmentCertificate(certificate);