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