16 references to CertificateKeyExportFormat
aspire (16)
Certificates\CertificateGeneration\CertificateManager.cs (7)
284
CertificateKeyExportFormat
keyExportFormat =
CertificateKeyExportFormat
.Pfx,
648
internal void ExportCertificate(X509Certificate2 certificate, string path, bool includePrivateKey, string? password,
CertificateKeyExportFormat
format)
678
case
CertificateKeyExportFormat
.Pfx:
681
case
CertificateKeyExportFormat
.Pem:
719
if (format ==
CertificateKeyExportFormat
.Pem)
762
if (includePrivateKey && format ==
CertificateKeyExportFormat
.Pem)
Certificates\CertificateGeneration\MacOSCertificateManager.cs (7)
110
ExportCertificate(publicCertificate, tmpFile, includePrivateKey: false, password: null,
CertificateKeyExportFormat
.Pfx);
155
ExportCertificate(candidate, onDiskPfxPath, includePrivateKey: true, null,
CertificateKeyExportFormat
.Pfx);
174
ExportCertificate(certificate, tmpFile, includePrivateKey: false, password: null,
CertificateKeyExportFormat
.Pem);
334
ExportCertificate(certificate, GetCertificateFilePath(certificate), includePrivateKey: true, null,
CertificateKeyExportFormat
.Pfx);
337
ExportCertificate(certificate, Path.Combine(s_aspireDevCertsCacheDirectory, $"{aspireLookup}.pfx"), includePrivateKey: true, null,
CertificateKeyExportFormat
.Pfx);
405
ExportCertificate(certificate, onDiskPfxPath, includePrivateKey: true, password: null,
CertificateKeyExportFormat
.Pfx);
413
ExportCertificate(diskCert, Path.Combine(s_aspireDevCertsCacheDirectory, $"{aspireLookup}.pfx"), includePrivateKey: true, null,
CertificateKeyExportFormat
.Pfx);
Certificates\CertificateGeneration\UnixCertificateManager.cs (1)
300
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);