3 types derived from CertificateManager
dotnet-dev-certs (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
15 references to CertificateManager
dotnet-dev-certs (15)
Program.cs (13)
121listener.EnableEvents(CertificateManager.Log, System.Diagnostics.Tracing.EventLevel.Verbose); 203var manager = CertificateManager.Instance; 242var manager = CertificateManager.Instance; 277var certificateManager = CertificateManager.Instance; 304var trustedCertificates = certificates.Where(cert => certificateManager.GetTrustLevel(cert) == CertificateManager.TrustLevel.Full).ToList(); 307reporter.Output($@"The following certificates were found, but none of them is trusted: {CertificateManager.ToCertificateDescription(certificates)}"); 3321 => $"A {certificateState} certificate was found: {CertificateManager.GetDescription(certificates[0])}", 333_ => $"{certificates.Count} {certificateState} certificates were found: {CertificateManager.ToCertificateDescription(certificates)}" 340var manager = CertificateManager.Instance;
src\Shared\CertificateGeneration\CertificateManager.cs (2)
33public static CertificateManager Instance { get; } = OperatingSystem.IsWindows() ? 38new MacOSCertificateManager() as CertificateManager :