1 write to UriPrefix
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
src\Servers\Kestrel\shared\test\RevocationResponder.cs (1)
38UriPrefix = uriPrefix;
12 references to UriPrefix
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (12)
src\Servers\Kestrel\shared\test\CertificateAuthority.cs (6)
841string certUrl = $"{responder.UriPrefix}cert/{rootSkid.SubjectKeyIdentifier}.cer"; 842string cdpUrl = $"{responder.UriPrefix}crl/{rootSkid.SubjectKeyIdentifier}.crl"; 843string ocspUrl = $"{responder.UriPrefix}ocsp/{rootSkid.SubjectKeyIdentifier}"; 872certUrl = $"{responder.UriPrefix}cert/{intermedSkid.SubjectKeyIdentifier}.cer"; 873cdpUrl = $"{responder.UriPrefix}crl/{intermedSkid.SubjectKeyIdentifier}.crl"; 874ocspUrl = $"{responder.UriPrefix}ocsp/{intermedSkid.SubjectKeyIdentifier}";
src\Servers\Kestrel\shared\test\RevocationResponder.cs (6)
48if (authority.AiaHttpUri != null && authority.AiaHttpUri.StartsWith(UriPrefix, StringComparison.OrdinalIgnoreCase)) 50string path = authority.AiaHttpUri.Substring(UriPrefix.Length - 1); 55if (authority.CdpUri != null && authority.CdpUri.StartsWith(UriPrefix, StringComparison.OrdinalIgnoreCase)) 57string path = authority.CdpUri.Substring(UriPrefix.Length - 1); 62if (authority.OcspUri != null && authority.OcspUri.StartsWith(UriPrefix, StringComparison.OrdinalIgnoreCase)) 64string path = authority.OcspUri.Substring(UriPrefix.Length - 1);