3 references to CopyWithPrivateKey
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Certificates\CertificateConfigLoader.cs (1)
138return certificate.CopyWithPrivateKey(dsa);
System.Security.Cryptography (2)
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (2)
954Oids.Dsa when Helpers.IsDSASupported => ExtractKeyFromPem<DSA>(keyPem, s_DsaPublicKeyPrivateKeyLabels, DSA.Create, certificate.CopyWithPrivateKey), 1025Oids.Dsa when Helpers.IsDSASupported => ExtractKeyFromEncryptedPem<DSA>(keyPem, password, DSA.Create, certificate.CopyWithPrivateKey),