16 lines
365 B
C#
16 lines
365 B
C#
using DigitalData.Core.Abstractions.Security.Key;
|
|
|
|
namespace DigitalData.Core.Security.RSAKey.Base;
|
|
|
|
public class RSAPublicKey : RSAKeyBase, IAsymmetricPublicKey, IAsymmetricKey
|
|
{
|
|
public override string Content
|
|
{
|
|
get => base.Content;
|
|
init
|
|
{
|
|
base.Content = value;
|
|
RSA.ImportFromPem(value);
|
|
}
|
|
}
|
|
} |