14 references to Value
dotnet-dev-certs (14)
Program.cs (14)
172if (noPassword.HasValue() && !(format.HasValue() && string.Equals(format.Value(), "PEM", StringComparison.OrdinalIgnoreCase))) 231var result = manager.ImportCertificate(import.Value(), password.Value()); 238reporter.Error($"The certificate file '{import.Value()}' does not exist."); 241reporter.Error($"The provided certificate file '{import.Value()}' is not a valid PFX file or the password is incorrect."); 244reporter.Error($"The certificate at '{import.Value()}' is not a valid ASP.NET Core HTTPS development certificate."); 423if (exportFormat.HasValue() && !Enum.TryParse(exportFormat.Value(), ignoreCase: true, out format)) 425reporter.Error($"Unknown key format '{exportFormat.Value()}'."); 432exportPath.Value(), 435password.Value(), 442if (exportPath.Value() != null) 444reporter.Verbose($"The certificate was exported to {Path.GetFullPath(exportPath.Value())}"); 449if (exportPath.Value() != null) 451reporter.Verbose($"The certificate was exported to {Path.GetFullPath(exportPath.Value())}");