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