feat(AsymCryptParams): Schlüsselgröße zum Parameter Dateiname hinzugefügt
This commit is contained in:
parent
a8403087f6
commit
15705cccc4
@ -53,7 +53,7 @@ namespace DigitalData.Core.Security.Config
|
||||
// set default path
|
||||
if (decryptor.IsPemNull)
|
||||
{
|
||||
var file_name_params = new List<object> { decryptor.Issuer, decryptor.Audience };
|
||||
var file_name_params = new List<object> { decryptor.Issuer, decryptor.Audience, KeySizeInBits };
|
||||
if (decryptor.IsEncrypted)
|
||||
file_name_params.Add(Secrets.Version);
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@ namespace DigitalData.Core.Security.Cryptographer
|
||||
{
|
||||
public virtual string Pem { get; init; }
|
||||
|
||||
public RSAEncryptionPadding Padding { get; init; }// = RSAEncryptionPadding.OaepSHA256;
|
||||
public RSAEncryptionPadding Padding { get; init; } = RSAEncryptionPadding.OaepSHA256;
|
||||
|
||||
// TODO: add as json converter to IConfigurIConfiguration.Config
|
||||
public string PaddingName
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user