14 references to Value
dotnet-dev-certs (14)
Program.cs (14)
152
if (noPassword.HasValue() && !(format.HasValue() && string.Equals(format.
Value
(), "PEM", StringComparison.OrdinalIgnoreCase)))
206
var result = manager.ImportCertificate(import.
Value
(), password.
Value
());
213
reporter.Error($"The certificate file '{import.
Value
()}' does not exist.");
216
reporter.Error($"The provided certificate file '{import.
Value
()}' is not a valid PFX file or the password is incorrect.");
219
reporter.Error($"The certificate at '{import.
Value
()}' is not a valid ASP.NET Core HTTPS development certificate.");
386
if (exportFormat.HasValue() && !Enum.TryParse(exportFormat.
Value
(), ignoreCase: true, out format))
388
reporter.Error($"Unknown key format '{exportFormat.
Value
()}'.");
395
exportPath.
Value
(),
398
password.
Value
(),
405
if (exportPath.
Value
() != null)
407
reporter.Verbose($"The certificate was exported to {Path.GetFullPath(exportPath.
Value
())}");
412
if (exportPath.
Value
() != null)
414
reporter.Verbose($"The certificate was exported to {Path.GetFullPath(exportPath.
Value
())}");