1 write to Password
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\ConfigurationReader.cs (1)
373Password = configSection[nameof(Password)];
12 references to Password
Microsoft.AspNetCore.Server.Kestrel.Core (8)
Internal\Certificates\CertificateConfigLoader.cs (2)
50certificate = LoadCertificateKey(certificate, certificateKeyPath, certInfo.Password); 74return (new X509Certificate2(Path.Combine(HostEnvironment.ContentRootPath, certInfo.Path!), certInfo.Password), fullChain);
Internal\ConfigurationReader.cs (4)
373Password = configSection[nameof(Password)]; 425Password == other.Password && 432public override int GetHashCode() => HashCode.Combine(Path, KeyPath, Password, FileHasChanged, Subject, Store, Location, AllowInvalid ?? false);
TlsConfigurationLoader.cs (2)
155certificateConfig.Password != null && 161var certificate = new X509Certificate2(certificatePath, certificateConfig.Password);
Microsoft.AspNetCore.Server.Kestrel.Tests (4)
ConfigurationReaderTests.cs (4)
63Assert.Equal("certpassword", fileCert.Password); 91Assert.Equal("certpassword", fileCert.Password); 203Assert.Equal("certpassword", cert3.Password); 335Assert.Equal("certpassword", config.Certificate.Password);