diff --git a/DigitalData.Core.Abstractions/Security/ICryptFactory.cs b/DigitalData.Core.Abstractions/Security/ICryptFactory.cs index 186e919..94c3109 100644 --- a/DigitalData.Core.Abstractions/Security/ICryptFactory.cs +++ b/DigitalData.Core.Abstractions/Security/ICryptFactory.cs @@ -30,7 +30,7 @@ namespace DigitalData.Core.Abstractions.Security /// An optional string separator used to separate the issuer and audience. The default is "-_-". It should not be included in the issuer or audience strings. /// A formatted string combining the issuer, audience, and separator, which adheres to valid file naming rules. /// Thrown when the issuer, audience, or separator contains invalid characters or when the separator is present within the issuer or audience. - Func RSAKeyNameFormatter { get; } + Func RSAKeyNameFormatter { get; } string CreateRSAPrivateKeyPem(int? keySizeInBits = null); diff --git a/DigitalData.Core.Security/CryptFactory.cs b/DigitalData.Core.Security/CryptFactory.cs index 87212df..d1578e8 100644 --- a/DigitalData.Core.Security/CryptFactory.cs +++ b/DigitalData.Core.Security/CryptFactory.cs @@ -10,9 +10,9 @@ namespace DigitalData.Core.Security public IRSADecryptor this[string key] { get => _decryptors[key]; set => _decryptors[key] = value; } - public Func RSAKeyNameFormatter { get; } + public Func RSAKeyNameFormatter { get; } - public CryptFactory(ILogger logger, IDictionary decryptors, Func rsaKeyNameFormatter) : base() + public CryptFactory(ILogger logger, IDictionary decryptors, Func rsaKeyNameFormatter) : base() { _decryptors = decryptors ?? new Dictionary();