14 references to Value
dotnet-dev-certs (14)
Program.cs (14)
176if (noPassword.HasValue() && !(format.HasValue() && string.Equals(format.Value(), "PEM", StringComparison.OrdinalIgnoreCase))) 235var result = manager.ImportCertificate(import.Value(), password.Value()); 242reporter.Error($"The certificate file '{import.Value()}' does not exist."); 245reporter.Error($"The provided certificate file '{import.Value()}' is not a valid PFX file or the password is incorrect."); 248reporter.Error($"The certificate at '{import.Value()}' is not a valid ASP.NET Core HTTPS development certificate."); 427if (exportFormat.HasValue() && !Enum.TryParse(exportFormat.Value(), ignoreCase: true, out format)) 429reporter.Error($"Unknown key format '{exportFormat.Value()}'."); 436exportPath.Value(), 439password.Value(), 446if (exportPath.Value() != null) 448reporter.Verbose($"The certificate was exported to {Path.GetFullPath(exportPath.Value())}"); 453if (exportPath.Value() != null) 455reporter.Verbose($"The certificate was exported to {Path.GetFullPath(exportPath.Value())}");