5 references to CopyWithPrivateKey
Aspire.Hosting.Native.Core.Tests (1)
TestServices\DcpReadyTestHost.cs (1)
47
using var keyedCertificate = signed.
CopyWithPrivateKey
(serverKey);
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Certificates\CertificateConfigLoader.cs (1)
147
return certificate.
CopyWithPrivateKey
(rsa);
System.Security.Cryptography (3)
System\Security\Cryptography\X509Certificates\CertificateRequest.cs (1)
701
return certificate.
CopyWithPrivateKey
(rsa);
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (2)
1471
certificate.
CopyWithPrivateKey
),
1558
certificate.
CopyWithPrivateKey
),