2 instantiations of CertificateAuthority
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
src\Servers\Kestrel\shared\test\CertificateAuthority.cs (2)
845
rootAuthority = new
CertificateAuthority
(
876
CertificateAuthority intermediateAuthority = new
CertificateAuthority
(
21 references to CertificateAuthority
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (21)
src\Servers\Kestrel\shared\test\CertHelper.cs (4)
132
CertificateAuthority
.BuildPrivatePki(
135
out
CertificateAuthority
root,
136
out
CertificateAuthority
[] intermediates,
151
CertificateAuthority
authority = intermediates[i];
src\Servers\Kestrel\shared\test\CertificateAuthority.cs (9)
791
out
CertificateAuthority
rootAuthority,
792
out
CertificateAuthority
[] intermediateAuthorities,
851
CertificateAuthority
issuingAuthority = rootAuthority;
852
intermediateAuthorities = new
CertificateAuthority
[intermediateAuthorityCount];
876
CertificateAuthority
intermediateAuthority = new CertificateAuthority(
900
foreach (
CertificateAuthority
authority in intermediateAuthorities)
910
out
CertificateAuthority
rootAuthority,
911
out
CertificateAuthority
intermediateAuthority,
925
out
CertificateAuthority
[] intermediateAuthorities,
src\Servers\Kestrel\shared\test\RevocationResponder.cs (8)
19
private readonly Dictionary<string,
CertificateAuthority
> _aiaPaths =
20
new Dictionary<string,
CertificateAuthority
>();
22
private readonly Dictionary<string,
CertificateAuthority
> _crlPaths
23
= new Dictionary<string,
CertificateAuthority
>();
25
private readonly List<(string,
CertificateAuthority
)> _ocspAuthorities =
26
new List<(string,
CertificateAuthority
)>();
46
internal void AddCertificateAuthority(
CertificateAuthority
authority)
172
CertificateAuthority
authority;