31 references to EnsureCertificateResult
dotnet-dev-certs (31)
Program.cs (12)
394var result = manager.EnsureAspNetCoreHttpsDevelopmentCertificate( 405case EnsureCertificateResult.Succeeded: 412case EnsureCertificateResult.ValidCertificatePresent: 419case EnsureCertificateResult.ErrorCreatingTheCertificate: 422case EnsureCertificateResult.ErrorSavingTheCertificateIntoTheCurrentUserPersonalStore: 425case EnsureCertificateResult.ErrorExportingTheCertificate: 428case EnsureCertificateResult.ErrorExportingTheCertificateToNonExistentDirectory: 432case EnsureCertificateResult.PartiallyFailedToTrustTheCertificate: 436case EnsureCertificateResult.FailedToTrustTheCertificate: 439case EnsureCertificateResult.UserCancelledTrustStep: 442case EnsureCertificateResult.ExistingHttpsCertificateTrusted: 445case EnsureCertificateResult.NewHttpsCertificateTrusted:
src\Shared\CertificateGeneration\CertificateManager.cs (19)
184public EnsureCertificateResult EnsureAspNetCoreHttpsDevelopmentCertificate( 194var result = EnsureCertificateResult.Succeeded; 241result = EnsureCertificateResult.FailedToMakeKeyAccessible; 262result = EnsureCertificateResult.ValidCertificatePresent; 280result = EnsureCertificateResult.ErrorCreatingTheCertificate; 292result = EnsureCertificateResult.ErrorSavingTheCertificateIntoTheCurrentUserPersonalStore; 317result = EnsureCertificateResult.FailedToMakeKeyAccessible; 331result = EnsureCertificateResult.ErrorExportingTheCertificateToNonExistentDirectory; 345result = result != EnsureCertificateResult.Succeeded && result != EnsureCertificateResult.ValidCertificatePresent ? 347EnsureCertificateResult.ErrorExportingTheCertificate; 364result = EnsureCertificateResult.PartiallyFailedToTrustTheCertificate; 368result = EnsureCertificateResult.FailedToTrustTheCertificate; 374result = EnsureCertificateResult.UserCancelledTrustStep; 379result = EnsureCertificateResult.FailedToTrustTheCertificate; 383if (result == EnsureCertificateResult.ValidCertificatePresent) 385result = EnsureCertificateResult.ExistingHttpsCertificateTrusted; 389result = EnsureCertificateResult.NewHttpsCertificateTrusted;