11 instantiations of X509ExtensionCollection
InMemory.FunctionalTests (4)
src\Servers\Kestrel\shared\test\CertHelper.cs (1)
109X509ExtensionCollection extensions = new X509ExtensionCollection();
src\Servers\Kestrel\shared\test\CertificateAuthority.cs (3)
158new X509ExtensionCollection() { 182new X509ExtensionCollection() { s_eeConstraints, s_eeKeyUsage, s_ocspResponderEku}, 815extensions ??= new X509ExtensionCollection() { s_eeConstraints, s_eeKeyUsage, s_tlsClientEku };
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (4)
src\Servers\Kestrel\shared\test\CertHelper.cs (1)
109X509ExtensionCollection extensions = new X509ExtensionCollection();
src\Servers\Kestrel\shared\test\CertificateAuthority.cs (3)
158new X509ExtensionCollection() { 182new X509ExtensionCollection() { s_eeConstraints, s_eeKeyUsage, s_ocspResponderEku}, 815extensions ??= new X509ExtensionCollection() { s_eeConstraints, s_eeKeyUsage, s_tlsClientEku };
System.Security.Cryptography (1)
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (1)
220extensions = new X509ExtensionCollection();
System.Security.Cryptography.Pkcs (2)
System\Security\Cryptography\Pkcs\Rfc3161TimestampRequest.cs (1)
35var coll = new X509ExtensionCollection();
System\Security\Cryptography\Pkcs\Rfc3161TimestampTokenInfo.cs (1)
173var coll = new X509ExtensionCollection();
36 references to X509ExtensionCollection
InMemory.FunctionalTests (8)
src\Servers\Kestrel\shared\test\CertHelper.cs (4)
102internal static X509ExtensionCollection BuildTlsServerCertExtensions(string serverName) 107private static X509ExtensionCollection BuildTlsCertExtensions(string targetName, bool serverCertificate) 109X509ExtensionCollection extensions = new X509ExtensionCollection(); 130X509ExtensionCollection extensions = BuildTlsCertExtensions(targetName, serverCertificate);
src\Servers\Kestrel\shared\test\CertificateAuthority.cs (4)
167internal X509Certificate2 CreateEndEntity(string subject, RSA publicKey, X509ExtensionCollection extensions) 241X509ExtensionCollection extensions, 800X509ExtensionCollection extensions = null) 918X509ExtensionCollection extensions = null)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (8)
src\Servers\Kestrel\shared\test\CertHelper.cs (4)
102internal static X509ExtensionCollection BuildTlsServerCertExtensions(string serverName) 107private static X509ExtensionCollection BuildTlsCertExtensions(string targetName, bool serverCertificate) 109X509ExtensionCollection extensions = new X509ExtensionCollection(); 130X509ExtensionCollection extensions = BuildTlsCertExtensions(targetName, serverCertificate);
src\Servers\Kestrel\shared\test\CertificateAuthority.cs (4)
167internal X509Certificate2 CreateEndEntity(string subject, RSA publicKey, X509ExtensionCollection extensions) 241X509ExtensionCollection extensions, 800X509ExtensionCollection extensions = null) 918X509ExtensionCollection extensions = null)
netstandard (1)
netstandard.cs (1)
1969[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.X509Certificates.X509ExtensionCollection))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
877[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.X509Certificates.X509ExtensionCollection))]
System.Security.Cryptography (6)
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (4)
25private volatile X509ExtensionCollection? _lazyExtensions; 211public X509ExtensionCollection Extensions 217X509ExtensionCollection? extensions = _lazyExtensions; 604X509ExtensionCollection extensions = Extensions;
System\Security\Cryptography\X509Certificates\X509ExtensionEnumerator.cs (2)
11internal X509ExtensionEnumerator(X509ExtensionCollection extensions) 44private readonly X509ExtensionCollection _extensions;
System.Security.Cryptography.Pkcs (11)
System\Security\Cryptography\Pkcs\Rfc3161TimestampRequest.cs (6)
33public X509ExtensionCollection GetExtensions() 35var coll = new X509ExtensionCollection(); 170X509ExtensionCollection? extensions = null) 197X509ExtensionCollection? extensions = null) 220X509ExtensionCollection? extensions = null) 264X509ExtensionCollection? extensions = null)
System\Security\Cryptography\Pkcs\Rfc3161TimestampToken.cs (1)
243X509ExtensionCollection extensions = tsaCertificate.Extensions;
System\Security\Cryptography\Pkcs\Rfc3161TimestampTokenInfo.cs (4)
50X509ExtensionCollection? extensions = null) 171public X509ExtensionCollection GetExtensions() 173var coll = new X509ExtensionCollection(); 324X509ExtensionCollection? extensions)
System.Security.Cryptography.X509Certificates (1)
System.Security.Cryptography.X509Certificates.cs (1)
33[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.X509Certificates.X509ExtensionCollection))]