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