feat(AsymCryptParams): EncryptedPrivateKeyFileTag, PrivateKeyFileTag, PublicKeyFileTag und RSAKeyNameSeparator aus RSAFactoryParams verschoben.
This commit is contained in:
parent
5fd3fa2fc6
commit
e9d408a717
@ -4,6 +4,14 @@ namespace DigitalData.Core.Security.Config
|
|||||||
{
|
{
|
||||||
public class AsymCryptParams : RSAFactoryParams
|
public class AsymCryptParams : RSAFactoryParams
|
||||||
{
|
{
|
||||||
|
public string EncryptedPrivateKeyFileTag { get; init; } = "enc-private";
|
||||||
|
|
||||||
|
public string PrivateKeyFileTag { get; init; } = "private";
|
||||||
|
|
||||||
|
public string PublicKeyFileTag { get; init; } = "public";
|
||||||
|
|
||||||
|
public string RSAKeyNameSeparator { get; init; } = "-_-";
|
||||||
|
|
||||||
public IEnumerable<IRSADecryptor> Decryptors { get; init; } = new List<IRSADecryptor>();
|
public IEnumerable<IRSADecryptor> Decryptors { get; init; } = new List<IRSADecryptor>();
|
||||||
|
|
||||||
public IEnumerable<IRSAEncryptor> Encryptors { get; init; } = new List<IRSAEncryptor>();
|
public IEnumerable<IRSAEncryptor> Encryptors { get; init; } = new List<IRSAEncryptor>();
|
||||||
|
|||||||
@ -4,14 +4,6 @@ namespace DigitalData.Core.Security.Config
|
|||||||
{
|
{
|
||||||
public class RSAFactoryParams
|
public class RSAFactoryParams
|
||||||
{
|
{
|
||||||
public string EncryptedPrivateKeyFileTag { get; init; } = "enc-private";
|
|
||||||
|
|
||||||
public string PrivateKeyFileTag { get; init; } = "private";
|
|
||||||
|
|
||||||
public string PublicKeyFileTag { get; init; } = "public";
|
|
||||||
|
|
||||||
public string RSAKeyNameSeparator { get; init; } = "-_-";
|
|
||||||
|
|
||||||
public int KeySizeInBits { get; init; } = 2048;
|
public int KeySizeInBits { get; init; } = 2048;
|
||||||
|
|
||||||
public string PbePassword { internal get; init; } = Secrets.PBE_PASSWORD;
|
public string PbePassword { internal get; init; } = Secrets.PBE_PASSWORD;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user