27 instantiations of X509BasicConstraintsExtension
dotnet-dev-certs (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
662var basicConstraints = new X509BasicConstraintsExtension(
HttpStress (1)
Program.cs (1)
399certReq.CertificateExtensions.Add(new X509BasicConstraintsExtension(false, false, 0, false));
IIS.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (1)
35new X509BasicConstraintsExtension(
IIS.LongTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (1)
35new X509BasicConstraintsExtension(
IIS.NewHandler.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (1)
35new X509BasicConstraintsExtension(
IIS.NewShim.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (1)
35new X509BasicConstraintsExtension(
IIS.ShadowCopy.Tests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (1)
35new X509BasicConstraintsExtension(
IISExpress.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (1)
35new X509BasicConstraintsExtension(
InMemory.FunctionalTests (4)
src\Servers\Kestrel\shared\test\CertHelper.cs (1)
39new X509BasicConstraintsExtension(false, false, 0, false);
src\Servers\Kestrel\shared\test\CertificateAuthority.cs (3)
50new X509BasicConstraintsExtension(false, false, 0, false); 159new X509BasicConstraintsExtension( 827new X509BasicConstraintsExtension(true, false, 0, true);
Microsoft.AspNetCore.DeveloperCertificates.XPlat (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
662var basicConstraints = new X509BasicConstraintsExtension(
Microsoft.AspNetCore.Server.Kestrel.Core (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
662var basicConstraints = new X509BasicConstraintsExtension(
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (4)
src\Servers\Kestrel\shared\test\CertHelper.cs (1)
39new X509BasicConstraintsExtension(false, false, 0, false);
src\Servers\Kestrel\shared\test\CertificateAuthority.cs (3)
50new X509BasicConstraintsExtension(false, false, 0, false); 159new X509BasicConstraintsExtension( 827new X509BasicConstraintsExtension(true, false, 0, true);
System.Security.Cryptography (4)
System\Security\Cryptography\X509Certificates\X509BasicConstraintsExtension.cs (2)
87return new X509BasicConstraintsExtension( 107return new X509BasicConstraintsExtension(false, false, 0, critical);
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (2)
1499Oids.BasicConstraints => LegacyBasicConstraintsDecoder.IsSupported ? new X509BasicConstraintsExtension() : null, 1500Oids.BasicConstraints2 => new X509BasicConstraintsExtension(),
Templates.Blazor.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
662var basicConstraints = new X509BasicConstraintsExtension(
Templates.Blazor.WebAssembly.Auth.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
662var basicConstraints = new X509BasicConstraintsExtension(
Templates.Blazor.WebAssembly.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
662var basicConstraints = new X509BasicConstraintsExtension(
Templates.Mvc.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
662var basicConstraints = new X509BasicConstraintsExtension(
Templates.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
662var basicConstraints = new X509BasicConstraintsExtension(
28 references to X509BasicConstraintsExtension
dotnet-dev-certs (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
662var basicConstraints = new X509BasicConstraintsExtension(
InMemory.FunctionalTests (3)
src\Servers\Kestrel\shared\test\CertHelper.cs (1)
38private static readonly X509BasicConstraintsExtension s_eeConstraints =
src\Servers\Kestrel\shared\test\CertificateAuthority.cs (2)
49private static readonly X509BasicConstraintsExtension s_eeConstraints = 826X509BasicConstraintsExtension caConstraints =
Microsoft.AspNetCore.DeveloperCertificates.XPlat (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
662var basicConstraints = new X509BasicConstraintsExtension(
Microsoft.AspNetCore.DeveloperCertificates.XPlat.Tests (1)
CertificateManagerTests.cs (1)
68e => e is X509BasicConstraintsExtension basicConstraints &&
Microsoft.AspNetCore.Server.Kestrel.Core (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
662var basicConstraints = new X509BasicConstraintsExtension(
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (3)
src\Servers\Kestrel\shared\test\CertHelper.cs (1)
38private static readonly X509BasicConstraintsExtension s_eeConstraints =
src\Servers\Kestrel\shared\test\CertificateAuthority.cs (2)
49private static readonly X509BasicConstraintsExtension s_eeConstraints = 826X509BasicConstraintsExtension caConstraints =
netstandard (1)
netstandard.cs (1)
1953[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
863[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension))]
System.Security.Cryptography (10)
System\Security\Cryptography\CryptoConfig.cs (2)
255ht.Add("2.5.29.10", typeof(X509Certificates.X509BasicConstraintsExtension)); 256ht.Add("2.5.29.19", typeof(X509Certificates.X509BasicConstraintsExtension));
System\Security\Cryptography\X509Certificates\CertificateRequest.cs (2)
686var basicConstraints = (X509BasicConstraintsExtension?)issuerCertificate.Extensions[Oids.BasicConstraints2];
System\Security\Cryptography\X509Certificates\CertificateRevocationListBuilder.Build.cs (2)
150var basicConstraints = (X509BasicConstraintsExtension?)issuerCertificate.Extensions[Oids.BasicConstraints2];
System\Security\Cryptography\X509Certificates\X509BasicConstraintsExtension.cs (4)
67/// Creates an instance of <see cref="X509BasicConstraintsExtension"/> appropriate for 85public static X509BasicConstraintsExtension CreateForCertificateAuthority(int? pathLengthConstraint = null) 95/// Creates an instance of <see cref="X509BasicConstraintsExtension"/> appropriate for 105public static X509BasicConstraintsExtension CreateForEndEntity(bool critical = false)
System.Security.Cryptography.X509Certificates (1)
System.Security.Cryptography.X509Certificates.cs (1)
16[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension))]
Templates.Blazor.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
662var basicConstraints = new X509BasicConstraintsExtension(
Templates.Blazor.WebAssembly.Auth.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
662var basicConstraints = new X509BasicConstraintsExtension(
Templates.Blazor.WebAssembly.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
662var basicConstraints = new X509BasicConstraintsExtension(
Templates.Mvc.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
662var basicConstraints = new X509BasicConstraintsExtension(
Templates.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
662var basicConstraints = new X509BasicConstraintsExtension(