8 references to CopyWithPrivateKey
InMemory.FunctionalTests (3)
src\Servers\Kestrel\shared\test\CertificateAuthority.cs (3)
233_cert = tmp.CopyWithPrivateKey(rsa); 865intermedCert = intermedPub.CopyWithPrivateKey(intermediateKey); 892endEntityCert = endEntityCert.CopyWithPrivateKey(eeKey);
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Certificates\CertificateConfigLoader.cs (1)
110return certificate.CopyWithPrivateKey(rsa);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (3)
src\Servers\Kestrel\shared\test\CertificateAuthority.cs (3)
233_cert = tmp.CopyWithPrivateKey(rsa); 865intermedCert = intermedPub.CopyWithPrivateKey(intermediateKey); 892endEntityCert = endEntityCert.CopyWithPrivateKey(eeKey);
System.Security.Cryptography (1)
System\Security\Cryptography\X509Certificates\CertificateRequest.cs (1)
598return certificate.CopyWithPrivateKey(rsa);