<PackageReference Include="NETStandard.Library" Version="2.0.3" />

System.Security.Cryptography.RSACryptoServiceProvider

public static bool UseMachineKeyStore { get; set; }

public bool PersistKeyInCsp { get; set; }

public bool PublicOnly { get; }

public RSACryptoServiceProvider(int dwKeySize)

public RSACryptoServiceProvider(int dwKeySize, CspParameters parameters)

public byte[] Decrypt(byte[] rgb, bool fOAEP)

public byte[] Encrypt(byte[] rgb, bool fOAEP)

public byte[] ExportCspBlob(bool includePrivateParameters)

public void ImportCspBlob(byte[] keyBlob)

public byte[] SignData(byte[] buffer, int offset, int count, object halg)

public byte[] SignData(byte[] buffer, object halg)

public byte[] SignData(Stream inputStream, object halg)

public byte[] SignHash(byte[] rgbHash, string str)

public bool VerifyData(byte[] buffer, object halg, byte[] signature)

public bool VerifyHash(byte[] rgbHash, string str, byte[] rgbSignature)