32 references to Add
dotnet-svcutil-lib (6)
CmdCredentialsProvider.cs (1)
116certs.Add(certificate);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpsChannelFactory.cs (1)
234handler.ClientCertificates.Add(x509Token.Certificate);
FrameworkFork\System.ServiceModel\System\ServiceModel\X509CertificateEndpointIdentity.cs (4)
26_certificateCollection.Add(certificate); 39_certificateCollection.Add(primaryCertificate); 43_certificateCollection.Add(supportingCertificates[i]); 67_certificateCollection.Add(certificate);
InMemory.FunctionalTests (2)
src\Servers\Kestrel\shared\test\CertHelper.cs (2)
153chain.Add(authority.CloneIssuerCert()); 157chain.Add(root.CloneIssuerCert());
Microsoft.AspNetCore.Authentication.Certificate (1)
CertificateAuthenticationHandler.cs (1)
215chainPolicy.ExtraStore.Add(certificate);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
src\Servers\Kestrel\shared\test\CertHelper.cs (2)
153chain.Add(authority.CloneIssuerCert()); 157chain.Add(root.CloneIssuerCert());
System.Net.Quic (1)
System\Net\Quic\Internal\MsQuicConfiguration.cs (1)
262collection.Add(intermediate);
System.Net.Security (1)
System\Net\CertificateValidationPal.Unix.cs (1)
72chain.ChainPolicy.ExtraStore.Add(chainCert);
System.Security.Cryptography (13)
System\Security\Cryptography\X509Certificates\CertCollectionLoader.cs (1)
35collection.Add(new X509Certificate2(certPal));
System\Security\Cryptography\X509Certificates\ManagedCertificateFinder.cs (1)
350_copyTo.Add(clone);
System\Security\Cryptography\X509Certificates\OpenSslCachedSystemStoreProvider.cs (1)
62collection.Add(clone);
System\Security\Cryptography\X509Certificates\OpenSslDirectoryBasedStoreProvider.cs (1)
93collection.Add(cert);
System\Security\Cryptography\X509Certificates\OpenSslSingleCertLoader.cs (1)
31collection.Add(new X509Certificate2(localCert));
System\Security\Cryptography\X509Certificates\X509Certificate2Collection.cs (7)
23Add(certificate); 64Add(certificates[i]); 86Add(certificates[i]); 293Add(certificates[j]); 315Add(certificates[j]); 406Add(X509CertificateLoader.LoadCertificate(certBytes)); 728results.Add(cert);
System\Security\Cryptography\X509Certificates\X509CertificateLoader.Unix.cs (1)
102coll.Add(FromCertAndKey(certsAndKeys[i], importState).ToCertificate());
System.Security.Cryptography.Pkcs (5)
Internal\Cryptography\Pal\AnyOS\ManagedPal.Decode.cs (1)
48originatorCerts.Add(X509CertificateLoader.LoadCertificate(certChoice.Certificate.Value.Span));
System\Security\Cryptography\Pkcs\CmsSigner.cs (3)
334certs.Add(Certificate!); 355certs.Add(Certificate!); 386certs.Add(cert);
System\Security\Cryptography\Pkcs\SignedCms.cs (1)
98coll.Add(X509CertificateLoader.LoadCertificate(choice.Certificate.Value.Span));
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\Utils.cs (1)
647collection.Add(certificate);