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