feat(RSADecryptor): PasswordVersion-Eigenschaft hinzugefügt. Password.get intern gemacht.
- Password.get entfernt und PasswordVersion-Eigenschaft in IRSADecryptor hinzugefügt
This commit is contained in:
parent
f9c94e8464
commit
103ddf5c2e
@ -2,7 +2,9 @@
|
|||||||
{
|
{
|
||||||
public interface IRSADecryptor : IRSACryptographer
|
public interface IRSADecryptor : IRSACryptographer
|
||||||
{
|
{
|
||||||
string? Password { get; init; }
|
string? Password { init; }
|
||||||
|
|
||||||
|
Version? PasswordVersion { get; init; }
|
||||||
|
|
||||||
bool HasEncryptedPem { get; }
|
bool HasEncryptedPem { get; }
|
||||||
|
|
||||||
|
|||||||
@ -6,7 +6,9 @@ namespace DigitalData.Core.Security
|
|||||||
{
|
{
|
||||||
public class RSADecryptor : RSACryptographer, IRSADecryptor, IRSACryptographer
|
public class RSADecryptor : RSACryptographer, IRSADecryptor, IRSACryptographer
|
||||||
{
|
{
|
||||||
public string? Password { get; init; }
|
public string? Password { internal get; init; }
|
||||||
|
|
||||||
|
public Version? PasswordVersion { get; init; }
|
||||||
|
|
||||||
public bool HasEncryptedPem => Password is not null;
|
public bool HasEncryptedPem => Password is not null;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user