45 references to X509Certificate2Collection
dotnet-svcutil-lib (2)
CmdCredentialsProvider.cs (1)
75X509Certificate2Collection certs = new X509Certificate2Collection();
FrameworkFork\System.ServiceModel\System\ServiceModel\X509CertificateEndpointIdentity.cs (1)
17private X509Certificate2Collection _certificateCollection = new X509Certificate2Collection();
HttpClientApp (1)
src\Shared\TestResources.cs (1)
68var fullChain = new X509Certificate2Collection();
InMemory.FunctionalTests (2)
src\Servers\Kestrel\shared\test\CertHelper.cs (1)
129X509Certificate2Collection chain = new X509Certificate2Collection();
src\Shared\TestResources.cs (1)
68var fullChain = new X509Certificate2Collection();
Interop.FunctionalTests (1)
src\Shared\TestResources.cs (1)
68var fullChain = new X509Certificate2Collection();
Microsoft.AspNetCore.Authentication.Certificate (2)
CertificateAuthenticationOptions.cs (2)
24public X509Certificate2Collection CustomTrustStore { get; set; } = new X509Certificate2Collection(); 29public X509Certificate2Collection AdditionalChainCertificates { get; set; } = new X509Certificate2Collection();
Microsoft.AspNetCore.Authentication.Test (5)
CertificateTests.cs (5)
320CustomTrustStore = new X509Certificate2Collection() { Certificates.SignedSecondaryRoot }, 337CustomTrustStore = new X509Certificate2Collection() { Certificates.SelfSignedPrimaryRoot, Certificates.SignedSecondaryRoot }, 355CustomTrustStore = new X509Certificate2Collection() { Certificates.SelfSignedPrimaryRoot, }, 356AdditionalChainCertificates = new X509Certificate2Collection() { Certificates.SignedSecondaryRoot }, 373CustomTrustStore = new X509Certificate2Collection() { Certificates.SelfSignedPrimaryRoot, },
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
src\Shared\TestResources.cs (1)
68var fullChain = new X509Certificate2Collection();
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Certificates\CertificateConfigLoader.cs (1)
40var fullChain = new X509Certificate2Collection();
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
src\Servers\Kestrel\shared\test\CertHelper.cs (1)
129X509Certificate2Collection chain = new X509Certificate2Collection();
src\Shared\TestResources.cs (1)
68var fullChain = new X509Certificate2Collection();
Microsoft.AspNetCore.Server.Kestrel.Tests (1)
src\Shared\TestResources.cs (1)
68var fullChain = new X509Certificate2Collection();
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (1)
src\Shared\TestResources.cs (1)
68var fullChain = new X509Certificate2Collection();
Microsoft.Build.Tasks.Core (1)
ManifestUtil\mansign2.cs (1)
1123_certificates = new X509Certificate2Collection();
Sockets.BindTests (1)
src\Shared\TestResources.cs (1)
68var fullChain = new X509Certificate2Collection();
Sockets.FunctionalTests (1)
src\Shared\TestResources.cs (1)
68var fullChain = new X509Certificate2Collection();
System.Net.Http (1)
src\libraries\Common\src\System\Net\Security\CertificateHelper.cs (1)
23var certs = new X509Certificate2Collection();
System.Net.Quic (2)
System\Net\Quic\Internal\MsQuicConfiguration.cs (1)
258X509Certificate2Collection collection = new X509Certificate2Collection();
System\Net\Quic\QuicConnection.SslConnectionOptions.cs (1)
209X509Certificate2Collection additionalCertificates = new X509Certificate2Collection();
System.Net.WebSockets.Client (1)
System\Net\WebSockets\WebSocketHandle.Managed.cs (1)
302handler.SslOptions.ClientCertificates = new X509Certificate2Collection();
System.Security.Cryptography (7)
src\libraries\Common\src\System\Security\Cryptography\X509Certificates\X509CertificateLoader.Pkcs12.cs (1)
119return new X509Certificate2Collection();
System\Security\Cryptography\X509Certificates\FindPal.cs (1)
47X509Certificate2Collection results = new X509Certificate2Collection();
System\Security\Cryptography\X509Certificates\X509CertificateLoader.Unix.cs (1)
98X509Certificate2Collection coll = new X509Certificate2Collection();
System\Security\Cryptography\X509Certificates\X509Chain.cs (1)
119_chainPolicy._customTrustStore = new X509Certificate2Collection();
System\Security\Cryptography\X509Certificates\X509ChainPolicy.cs (2)
49public X509Certificate2Collection ExtraStore => _extraStore ??= new X509Certificate2Collection(); 51public X509Certificate2Collection CustomTrustStore => _customTrustStore ??= new X509Certificate2Collection();
System\Security\Cryptography\X509Certificates\X509Store.cs (1)
115X509Certificate2Collection certificates = new X509Certificate2Collection();
System.Security.Cryptography.Pkcs (10)
Internal\Cryptography\Pal\AnyOS\ManagedPal.Decode.cs (1)
40originatorCerts = new X509Certificate2Collection();
System\Security\Cryptography\Pkcs\CmsSigner.cs (2)
25public X509Certificate2Collection Certificates { get; } = new X509Certificate2Collection(); 327X509Certificate2Collection certs = new X509Certificate2Collection();
System\Security\Cryptography\Pkcs\EnvelopedCms.cs (4)
42Certificates = new X509Certificate2Collection(); 231X509Certificate2Collection extraStore = new X509Certificate2Collection(); 249extraStore ??= new X509Certificate2Collection(); 251X509Certificate2Collection certs = new X509Certificate2Collection();
System\Security\Cryptography\Pkcs\SignedCms.cs (2)
80var coll = new X509Certificate2Collection(); 609CheckSignature(new X509Certificate2Collection(), verifySignatureOnly);
System\Security\Cryptography\Pkcs\SignerInfo.cs (1)
435CheckSignature(new X509Certificate2Collection(), verifySignatureOnly);
System.Security.Cryptography.Xml (2)
System\Security\Cryptography\Xml\SignedXml.cs (1)
525X509Certificate2Collection collection = new X509Certificate2Collection();
System\Security\Cryptography\Xml\Utils.cs (1)
638X509Certificate2Collection collection = new X509Certificate2Collection();