refactor(RSACryptographer): anstatt PemPath.init zu verwenden, wurden getrennte Verzeichnis- und Dateinameneigenschaften hinzugefügt
This commit is contained in:
parent
bea57a25e8
commit
201da81aa5
@ -8,11 +8,13 @@ namespace DigitalData.Core.Security.Cryptographer
|
||||
{
|
||||
private string? _pem;
|
||||
|
||||
private string? _pemPath;
|
||||
|
||||
public virtual string Pem { get => _pem; init => _pem = value; }
|
||||
|
||||
public string? PemPath { get => _pemPath; init => _pemPath = value; }
|
||||
public string? PemPath => FileName is null ? null : Path.Combine(Directory, FileName);
|
||||
|
||||
public string Directory { get; init; } = string.Empty;
|
||||
|
||||
public string? FileName { get; init; }
|
||||
|
||||
public RSAEncryptionPadding Padding { get; init; } = RSAEncryptionPadding.OaepSHA256;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user