16 references to CertificateKeyExportFormat
aspire (16)
Certificates\CertificateGeneration\CertificateManager.cs (7)
283
CertificateKeyExportFormat
keyExportFormat =
CertificateKeyExportFormat
.Pfx,
647
internal void ExportCertificate(X509Certificate2 certificate, string path, bool includePrivateKey, string? password,
CertificateKeyExportFormat
format)
677
case
CertificateKeyExportFormat
.Pfx:
680
case
CertificateKeyExportFormat
.Pem:
718
if (format ==
CertificateKeyExportFormat
.Pem)
761
if (includePrivateKey && format ==
CertificateKeyExportFormat
.Pem)
Certificates\CertificateGeneration\MacOSCertificateManager.cs (7)
110
ExportCertificate(publicCertificate, tmpFile, includePrivateKey: false, password: null,
CertificateKeyExportFormat
.Pfx);
156
ExportCertificate(candidate, onDiskPfxPath, includePrivateKey: true, null,
CertificateKeyExportFormat
.Pfx);
175
ExportCertificate(certificate, tmpFile, includePrivateKey: false, password: null,
CertificateKeyExportFormat
.Pem);
328
ExportCertificate(certificate, GetCertificateFilePath(certificate), includePrivateKey: true, null,
CertificateKeyExportFormat
.Pfx);
331
ExportCertificate(certificate, Path.Combine(s_aspireDevCertsCacheDirectory, $"{aspireLookup}.pfx"), includePrivateKey: true, null,
CertificateKeyExportFormat
.Pfx);
398
ExportCertificate(certificate, onDiskPfxPath, includePrivateKey: true, password: null,
CertificateKeyExportFormat
.Pfx);
406
ExportCertificate(diskCert, Path.Combine(s_aspireDevCertsCacheDirectory, $"{aspireLookup}.pfx"), includePrivateKey: true, null,
CertificateKeyExportFormat
.Pfx);
Certificates\CertificateGeneration\UnixCertificateManager.cs (1)
296
ExportCertificate(certificate, certPath, includePrivateKey: false, password: null,
CertificateKeyExportFormat
.Pem);
Utils\EnvironmentChecker\DcpDeveloperCertificateCache.cs (1)
33
certificateManager.ExportCertificate(certificate, certificatePath, includePrivateKey: !File.Exists(keyPath), password: null,
CertificateKeyExportFormat
.Pem);