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