refactor(IAsymmetricKey): Unnötige Initor-Methoden entfernt.

This commit is contained in:
Developer 02 2025-01-09 22:15:45 +01:00
parent 1875bf46fa
commit 21e164ceb7
2 changed files with 2 additions and 6 deletions

View File

@ -5,10 +5,6 @@ namespace DigitalData.Core.Abstractions.Security
{ {
public interface IAsymmetricKey : IUniqueSecurityContext public interface IAsymmetricKey : IUniqueSecurityContext
{ {
public string Content { get; init; } public string Content { get; }
public new string Issuer { get; init; }
public new string Audience { get; init; }
} }
} }

View File

@ -4,7 +4,7 @@ namespace DigitalData.Core.Abstractions.Security
{ {
public interface IAsymmetricPrivateKey : IAsymmetricKey public interface IAsymmetricPrivateKey : IAsymmetricKey
{ {
public bool IsEncrypted { get; init; } public bool IsEncrypted { get; }
IAsymmetricPublicKey PublicKey { get; } IAsymmetricPublicKey PublicKey { get; }
} }