105 references to Subject
Aspire.Dashboard (2)
Certificate.Sample (2)
dotnet-dev-certs (7)
dotnet-svcutil-lib (1)
Http3SampleApp (1)
InMemory.FunctionalTests (4)
Microsoft.AspNetCore.Authentication.Certificate (3)
Microsoft.AspNetCore.Authentication.Test (2)
Microsoft.AspNetCore.DeveloperCertificates.XPlat (7)
Microsoft.AspNetCore.DeveloperCertificates.XPlat.Tests (12)
CertificateManagerTests.cs (12)
57var httpsCertificate = Assert.Single(httpsCertificates, c => c.Subject == TestCertificateSubject);
59Assert.Equal(TestCertificateSubject, httpsCertificate.Subject);
119Output.WriteLine($"Certificate: {certificate.Subject} '{Convert.ToBase64String(certificate.Export(X509ContentType.Cert))}'.");
143var httpsCertificate = _manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false).Single(c => c.Subject == TestCertificateSubject);
175var httpsCertificate = _manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false).Single(c => c.Subject == TestCertificateSubject);
208var httpsCertificate = _manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false).Single(c => c.Subject == TestCertificateSubject);
239var httpsCertificate = _manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false).Single(c => c.Subject == TestCertificateSubject);
272var httpsCertificate = _manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false).Single(c => c.Subject == TestCertificateSubject);
299var httpsCertificate = _manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false).Single(c => c.Subject == TestCertificateSubject);
304var csr = new CertificateRequest(httpsCertificate.Subject + "Not", privateKey, HashAlgorithmName.SHA256, RSASignaturePadding.Pkcs1);
312Assert.NotEqual(_manager.Subject, wrongSubjectCertificate.Subject);
339var httpsCertificate = _manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false).Single(c => c.Subject == TestCertificateSubject);
Microsoft.AspNetCore.Server.Kestrel.Core (9)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (6)
System.Net.Http (2)
System.Net.Security (2)
System.Security.Cryptography (4)
System.Security.Cryptography.Xml (1)
Templates.Blazor.Tests (8)
Templates.Blazor.WebAssembly.Auth.Tests (8)
Templates.Blazor.WebAssembly.Tests (8)
Templates.Mvc.Tests (8)
Templates.Tests (8)