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);
        }
    }
}