18 references to X509Certificate2
Binding.UDS.IntegrationTests (1)
ServiceHelper.cs (1)
64foundCert = new X509Certificate2(cert);
InMemory.FunctionalTests (1)
HttpsTests.cs (1)
376o.ServerCertificate = new X509Certificate2(_x509Certificate2);
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\TlsConnectionFeature.cs (1)
128_ => new X509Certificate2(certificate),
Middleware\HttpsConnectionMiddleware.cs (1)
505return new X509Certificate2(certificate);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
Internal\QuicConnectionContext.FeatureCollection.cs (1)
53_ => new X509Certificate2(certificate),
Microsoft.DotNet.SignTool (1)
src\VerifySignatures.cs (1)
222certificate = new X509Certificate2(signer);
System.Net.Security (3)
System\Net\Security\SslStream.Protocol.cs (1)
295certificateEx = new X509Certificate2(certificate);
System\Net\Security\SslStreamCertificateContext.cs (1)
180return Create(new X509Certificate2(TargetCertificate), intermediates, trust: Trust);
System\Net\Security\SslStreamCertificateContext.Linux.cs (1)
53_privateIntermediateCertificates[i] = new X509Certificate2(intermediates[i]);
System.Security.Cryptography.Xml (2)
System\Security\Cryptography\Xml\KeyInfoX509Data.cs (2)
54X509Certificate2 certificate = new X509Certificate2(cert); 116X509Certificate2 x509 = new X509Certificate2(certificate);
System.ServiceModel.NetFramingBase (2)
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (2)
191ServerCertificate = new X509Certificate2(x509Token.Certificate); 406X509Certificate2 certificate2 = new X509Certificate2(certificate);
System.ServiceModel.Primitives (5)
System\IdentityModel\Claims\X509CertificateClaimSet.cs (2)
38_certificate = clone ? new X509Certificate2(certificate) : certificate; 545_certificate = clone ? new X509Certificate2(certificate) : certificate;
System\IdentityModel\Selectors\X509SecurityTokenProvider.cs (1)
30_certificate = new X509Certificate2(certificate);
System\IdentityModel\Tokens\X509SecurityToken.cs (1)
57_certificate = clone ? new X509Certificate2(certificate) : certificate;
System\ServiceModel\Security\SecurityUtils.cs (1)
880return new X509Certificate2(certs[0]);