refactor(RSACryptographer): Verzeichnis und Dateiname wurden entfernt.
- Datei-Leseprozess in init-Methode entfernt.
This commit is contained in:
@@ -41,16 +41,16 @@ namespace DigitalData.Core.Security.Config
|
||||
foreach (var crypt in cryptographers)
|
||||
{
|
||||
// set default path
|
||||
if (crypt.Pem is null)
|
||||
{
|
||||
crypt.Directory ??= Directory;
|
||||
crypt.FileName ??= string.Format(
|
||||
FileNameFormat,
|
||||
crypt.Issuer,
|
||||
crypt.Audience,
|
||||
TypeTagOf(crypt),
|
||||
Secrets.Version);
|
||||
}
|
||||
//if (crypt.Pem is null)
|
||||
//{
|
||||
// crypt.Directory ??= Directory;
|
||||
// crypt.FileName ??= string.Format(
|
||||
// FileNameFormat,
|
||||
// crypt.Issuer,
|
||||
// crypt.Audience,
|
||||
// TypeTagOf(crypt),
|
||||
// Secrets.Version);
|
||||
//}
|
||||
|
||||
crypt.Init();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user