15 references to CertificateKeyExportFormat
dotnet-dev-certs (15)
Program.cs (4)
387var format = CertificateKeyExportFormat.Pfx; 399password.HasValue() || (noPassword.HasValue() && format == CertificateKeyExportFormat.Pem), 401exportFormat.HasValue() ? format : CertificateKeyExportFormat.Pfx);
src\Shared\CertificateGeneration\CertificateManager.cs (7)
191CertificateKeyExportFormat keyExportFormat = CertificateKeyExportFormat.Pfx, 502internal void ExportCertificate(X509Certificate2 certificate, string path, bool includePrivateKey, string? password, CertificateKeyExportFormat format) 532case CertificateKeyExportFormat.Pfx: 535case CertificateKeyExportFormat.Pem: 573if (format == CertificateKeyExportFormat.Pem) 616if (includePrivateKey && format == CertificateKeyExportFormat.Pem)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (3)
99ExportCertificate(publicCertificate, tmpFile, includePrivateKey: false, password: null, CertificateKeyExportFormat.Pfx); 142ExportCertificate(candidate, certificatePath, includePrivateKey: true, null, CertificateKeyExportFormat.Pfx); 157ExportCertificate(certificate, tmpFile, includePrivateKey: false, password: null, CertificateKeyExportFormat.Pem);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
252ExportCertificate(certificate, certPath, includePrivateKey: false, password: null, CertificateKeyExportFormat.Pem);