System.Security.Cryptography.RSA
namespace System.Security.Cryptography
{
public abstract class RSA : AsymmetricAlgorithm
{
protected RSA();
public new static RSA Create();
public new static RSA Create(string algName);
public virtual byte[] Decrypt(byte[] data, RSAEncryptionPadding padding);
public virtual byte[] DecryptValue(byte[] rgb);
public virtual byte[] Encrypt(byte[] data, RSAEncryptionPadding padding);
public virtual byte[] EncryptValue(byte[] rgb);
public abstract RSAParameters ExportParameters(bool includePrivateParameters);
protected virtual byte[] HashData(byte[] data, int offset, int count, HashAlgorithmName hashAlgorithm);
protected virtual byte[] HashData(Stream data, HashAlgorithmName hashAlgorithm);
public abstract void ImportParameters(RSAParameters parameters);
public virtual byte[] SignData(byte[] data, int offset, int count, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding);
public byte[] SignData(byte[] data, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding);
public virtual byte[] SignData(Stream data, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding);
public virtual byte[] SignHash(byte[] hash, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding);
public bool VerifyData(byte[] data, byte[] signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding);
public virtual bool VerifyData(byte[] data, int offset, int count, byte[] signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding);
public bool VerifyData(Stream data, byte[] signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding);
public virtual bool VerifyHash(byte[] hash, byte[] signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding);
}
}