29 instantiations of X500DistinguishedName
dotnet-dev-certs (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
647var subject = new X500DistinguishedName(Subject);
InMemory.FunctionalTests (1)
src\Servers\Kestrel\shared\test\CertificateAuthority.cs (1)
47new X500DistinguishedName("CN=The Ghost in the Machine");
Microsoft.AspNetCore.DeveloperCertificates.XPlat (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
647var subject = new X500DistinguishedName(Subject);
Microsoft.AspNetCore.Server.Kestrel.Core (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
647var subject = new X500DistinguishedName(Subject);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
src\Servers\Kestrel\shared\test\CertificateAuthority.cs (1)
47new X500DistinguishedName("CN=The Ghost in the Machine");
Microsoft.AspNetCore.Testing (1)
FakeSslCertificateFactory.cs (1)
26new X500DistinguishedName("CN=dotnet-extensions-self-signed-unit-test-certificate"),
System.Net.Quic (2)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.Crypto.cs (1)
123return new X500DistinguishedName(buf);
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.X509Name.cs (1)
28return new X500DistinguishedName(buf);
System.Net.Security (2)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.Crypto.cs (1)
123return new X500DistinguishedName(buf);
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.X509Name.cs (1)
28return new X500DistinguishedName(buf);
System.Security.Cryptography (8)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.Crypto.cs (1)
123return new X500DistinguishedName(buf);
System\Security\Cryptography\X509Certificates\CertificateRequest.cs (4)
70/// <seealso cref="X500DistinguishedName(string)"/> 77SubjectName = new X500DistinguishedName(subjectName); 128/// <seealso cref="X500DistinguishedName(string)"/> 136SubjectName = new X500DistinguishedName(subjectName);
System\Security\Cryptography\X509Certificates\CertificateRequest.Load.cs (1)
198X500DistinguishedName subject = new X500DistinguishedName(requestInfo.Subject.Span);
System\Security\Cryptography\X509Certificates\X500DistinguishedNameBuilder.cs (1)
353return _writer.Encode(static encoded => new X500DistinguishedName(encoded));
System\Security\Cryptography\X509Certificates\X509AuthorityKeyIdentifierExtension.cs (1)
559_simpleIssuer = new X500DistinguishedName(
System.Security.Cryptography.Pkcs (4)
Internal\Cryptography\Pal\AnyOS\AsnHelpers.cs (1)
23var name = new X500DistinguishedName(originator.IssuerAndSerialNumber.Value.Issuer.ToArray());
System\Security\Cryptography\Pkcs\Rfc3161TimestampToken.cs (1)
449if (issuerDirectoryName != new X500DistinguishedName(requiredName.DirectoryName.Value.ToArray()).Name)
System\Security\Cryptography\Pkcs\SubjectIdentifier.cs (2)
18new X500DistinguishedName(DummySignerSubjectName).RawData; 81var name = new X500DistinguishedName(issuerNameSpan.ToArray());
System.ServiceModel.Primitives (2)
System\IdentityModel\Tokens\X509IssuerSerialKeyIdentifierClause.cs (2)
93if (System.ServiceModel.Security.SecurityUtils.IsEqual(new X500DistinguishedName(IssuerName).RawData, 94new X500DistinguishedName(issuerName).RawData))
Templates.Blazor.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
647var subject = new X500DistinguishedName(Subject);
Templates.Blazor.WebAssembly.Auth.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
647var subject = new X500DistinguishedName(Subject);
Templates.Blazor.WebAssembly.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
647var subject = new X500DistinguishedName(Subject);
Templates.Mvc.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
647var subject = new X500DistinguishedName(Subject);
Templates.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
647var subject = new X500DistinguishedName(Subject);
78 references to X500DistinguishedName
dotnet-dev-certs (2)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
647var subject = new X500DistinguishedName(Subject); 772X500DistinguishedName subject,
dotnet-svcutil-lib (4)
FrameworkFork\System.ServiceModel\System\IdentityModel\Claims\Claim.cs (1)
177public static Claim CreateX500DistinguishedNameClaim(X500DistinguishedName x500DistinguishedName)
FrameworkFork\System.ServiceModel\System\IdentityModel\Claims\X509CertificateClaimSet.cs (3)
360public X500DistinguishedNameClaimSet(X500DistinguishedName x500DistinguishedName) 492private X500DistinguishedName _x500DistinguishedName; 503public X509Identity(X500DistinguishedName x500DistinguishedName)
InMemory.FunctionalTests (2)
src\Servers\Kestrel\shared\test\CertificateAuthority.cs (2)
46private static readonly X500DistinguishedName s_nonParticipatingName = 203X500DistinguishedName subjectName = _cert.SubjectName;
Microsoft.AspNetCore.DeveloperCertificates.XPlat (2)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
647var subject = new X500DistinguishedName(Subject); 772X500DistinguishedName subject,
Microsoft.AspNetCore.Server.Kestrel.Core (2)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
647var subject = new X500DistinguishedName(Subject); 772X500DistinguishedName subject,
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
src\Servers\Kestrel\shared\test\CertificateAuthority.cs (2)
46private static readonly X500DistinguishedName s_nonParticipatingName = 203X500DistinguishedName subjectName = _cert.SubjectName;
Microsoft.DotNet.SignCheckLibrary (1)
Verification\XmlVerifier.cs (1)
78X500DistinguishedName subjectDistinguishedName = certificate.SubjectName;
netstandard (1)
netstandard.cs (1)
1951[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.X509Certificates.X500DistinguishedName))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
861[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.X509Certificates.X500DistinguishedName))]
System.Net.Quic (2)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.Crypto.cs (1)
118internal static X500DistinguishedName LoadX500Name(IntPtr namePtr)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.X509Name.cs (1)
23internal static X500DistinguishedName LoadX500Name(SafeSharedX509NameHandle namePtr)
System.Net.Security (3)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.Crypto.cs (1)
118internal static X500DistinguishedName LoadX500Name(IntPtr namePtr)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.X509Name.cs (1)
23internal static X500DistinguishedName LoadX500Name(SafeSharedX509NameHandle namePtr)
System\Net\CertificateValidationPal.Unix.cs (1)
161X500DistinguishedName dn = Interop.Crypto.LoadX500Name(nameHandle);
System.Security.Cryptography (39)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.Crypto.cs (1)
118internal static X500DistinguishedName LoadX500Name(IntPtr namePtr)
System\Security\Cryptography\X509Certificates\CertificateRequest.cs (7)
30public X500DistinguishedName SubjectName { get; } 98public CertificateRequest(X500DistinguishedName subjectName, ECDsa key, HashAlgorithmName hashAlgorithm) 162X500DistinguishedName subjectName, 193public CertificateRequest(X500DistinguishedName subjectName, PublicKey publicKey, HashAlgorithmName hashAlgorithm) 221X500DistinguishedName subjectName, 763X500DistinguishedName issuerName, 804X500DistinguishedName issuerName,
System\Security\Cryptography\X509Certificates\CertificateRequest.Load.cs (1)
198X500DistinguishedName subject = new X500DistinguishedName(requestInfo.Subject.Span);
System\Security\Cryptography\X509Certificates\CertificateRevocationListBuilder.Build.cs (2)
293X500DistinguishedName issuerName, 312X500DistinguishedName issuerName,
System\Security\Cryptography\X509Certificates\ICertificatePal.cs (2)
27X500DistinguishedName SubjectName { get; } 28X500DistinguishedName IssuerName { get; }
System\Security\Cryptography\X509Certificates\OpenSslX509CertificateReader.cs (4)
20private X500DistinguishedName? _subjectName; 21private X500DistinguishedName? _issuerName; 424public X500DistinguishedName SubjectName 434public X500DistinguishedName IssuerName
System\Security\Cryptography\X509Certificates\OpenSslX509ChainEventSource.cs (1)
72X500DistinguishedName dn = Interop.Crypto.LoadX500Name(Interop.Crypto.X509GetSubjectName(certHandle));
System\Security\Cryptography\X509Certificates\Pkcs10CertificationRequestInfo.cs (2)
16internal X500DistinguishedName Subject { get; set; } 21X500DistinguishedName subject,
System\Security\Cryptography\X509Certificates\X500DistinguishedName.cs (2)
21/// Initializes a new instance of the <see cref="X500DistinguishedName"/> 38public X500DistinguishedName(X500DistinguishedName distinguishedName)
System\Security\Cryptography\X509Certificates\X500DistinguishedNameBuilder.cs (5)
24/// name second. Because <see cref="X500DistinguishedName" /> follows RFC 4514 28/// <see cref="X500DistinguishedName" /> is also in reverse, it gives the appearence 336/// Builds an <see cref="X500DistinguishedName" /> that represents the encoded attributes. 339/// An <see cref="X500DistinguishedName" /> that represents the encoded attributes. 341public X500DistinguishedName Build()
System\Security\Cryptography\X509Certificates\X500RelativeDistinguishedName.cs (1)
12/// <seealso cref="X500DistinguishedName"/>
System\Security\Cryptography\X509Certificates\X509AuthorityKeyIdentifierExtension.cs (7)
19private X500DistinguishedName? _simpleIssuer; 121/// an <see cref="X500DistinguishedName"/>. 126public X500DistinguishedName? NamedIssuer 274X500DistinguishedName issuerName, 306X500DistinguishedName issuerName, 364X500DistinguishedName issuerName, 405X500DistinguishedName issuerName,
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (4)
21private volatile X500DistinguishedName? _lazySubjectName; 22private volatile X500DistinguishedName? _lazyIssuerName; 297public X500DistinguishedName IssuerName 355public X500DistinguishedName SubjectName
System.Security.Cryptography.Pkcs (2)
Internal\Cryptography\Pal\AnyOS\AsnHelpers.cs (1)
23var name = new X500DistinguishedName(originator.IssuerAndSerialNumber.Value.Issuer.ToArray());
System\Security\Cryptography\Pkcs\SubjectIdentifier.cs (1)
81var name = new X500DistinguishedName(issuerNameSpan.ToArray());
System.Security.Cryptography.X509Certificates (1)
System.Security.Cryptography.X509Certificates.cs (1)
14[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.X509Certificates.X500DistinguishedName))]
System.ServiceModel.Primitives (4)
System\IdentityModel\Claims\Claim.cs (1)
209public static Claim CreateX500DistinguishedNameClaim(X500DistinguishedName x500DistinguishedName)
System\IdentityModel\Claims\X509CertificateClaimSet.cs (3)
378public X500DistinguishedNameClaimSet(X500DistinguishedName x500DistinguishedName) 525private X500DistinguishedName _x500DistinguishedName; 536public X509Identity(X500DistinguishedName x500DistinguishedName)
Templates.Blazor.Tests (2)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
647var subject = new X500DistinguishedName(Subject); 772X500DistinguishedName subject,
Templates.Blazor.WebAssembly.Auth.Tests (2)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
647var subject = new X500DistinguishedName(Subject); 772X500DistinguishedName subject,
Templates.Blazor.WebAssembly.Tests (2)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
647var subject = new X500DistinguishedName(Subject); 772X500DistinguishedName subject,
Templates.Mvc.Tests (2)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
647var subject = new X500DistinguishedName(Subject); 772X500DistinguishedName subject,
Templates.Tests (2)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
647var subject = new X500DistinguishedName(Subject); 772X500DistinguishedName subject,