9 references to Pem
Microsoft.AspNetCore.DeveloperCertificates.XPlat (5)
src\Shared\CertificateGeneration\CertificateManager.cs (3)
572
case CertificateKeyExportFormat.
Pem
:
610
if (format == CertificateKeyExportFormat.
Pem
)
653
if (includePrivateKey && format == CertificateKeyExportFormat.
Pem
)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
157
ExportCertificate(certificate, tmpFile, includePrivateKey: false, password: null, CertificateKeyExportFormat.
Pem
);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
252
ExportCertificate(certificate, certPath, includePrivateKey: false, password: null, CertificateKeyExportFormat.
Pem
);
Microsoft.AspNetCore.DeveloperCertificates.XPlat.Tests (4)
CertificateManagerTests.cs (4)
179
.EnsureAspNetCoreHttpsDevelopmentCertificate(now, now.AddYears(1), CertificateName, trust: false, includePrivateKey: true, password: certificatePassword, keyExportFormat: CertificateKeyExportFormat.
Pem
, isInteractive: false);
212
.EnsureAspNetCoreHttpsDevelopmentCertificate(now, now.AddYears(1), CertificateName, trust: false, includePrivateKey: false, password: null, keyExportFormat: CertificateKeyExportFormat.
Pem
, isInteractive: false);
341
var result = _manager.EnsureAspNetCoreHttpsDevelopmentCertificate(now, now.AddYears(1), CertificateName, trust: false, includePrivateKey: true, password: null, keyExportFormat: CertificateKeyExportFormat.
Pem
, isInteractive: false);
534
.EnsureAspNetCoreHttpsDevelopmentCertificate(now, now.AddYears(1), CertificateName, trust: false, includePrivateKey: true, password: certificatePassword, keyExportFormat: CertificateKeyExportFormat.
Pem
, isInteractive: false);