# RSA 類別

## 定義

``public ref class RSA abstract : System::Security::Cryptography::AsymmetricAlgorithm``
``public abstract class RSA : System.Security.Cryptography.AsymmetricAlgorithm``
``````[System.Runtime.InteropServices.ComVisible(true)]
public abstract class RSA : System.Security.Cryptography.AsymmetricAlgorithm``````
``````type RSA = class
inherit AsymmetricAlgorithm``````
``````[<System.Runtime.InteropServices.ComVisible(true)>]
type RSA = class
inherit AsymmetricAlgorithm``````
``````Public MustInherit Class RSA
Inherits AsymmetricAlgorithm``````

## 建構函式

 初始化 RSA 類別的新執行個體。Initializes a new instance of the RSA class.

## 欄位

 表示非對稱演算法使用的金鑰模數大小，以位元為單位。Represents the size, in bits, of the key modulus used by the asymmetric algorithm. (繼承來源 AsymmetricAlgorithm) 指定非對稱演算法所支援的金鑰大小。Specifies the key sizes that are supported by the asymmetric algorithm. (繼承來源 AsymmetricAlgorithm)

## 屬性

 取得可透過這個 RSA 實作所提供之金鑰交換演算法的名稱。Gets the name of the key exchange algorithm available with this implementation of RSA. 在衍生類別中覆寫時，取得金鑰交換演算法的名稱。When overridden in a derived class, gets the name of the key exchange algorithm. 否則，擲回 NotImplementedException。Otherwise, throws an NotImplementedException. (繼承來源 AsymmetricAlgorithm) 取得或設定非對稱演算法使用的金鑰模數大小，以位元為單位。Gets or sets the size, in bits, of the key modulus used by the asymmetric algorithm. (繼承來源 AsymmetricAlgorithm) 取得非對稱演算法所支援的金鑰大小。Gets the key sizes that are supported by the asymmetric algorithm. (繼承來源 AsymmetricAlgorithm) 取得可透過這個 RSA 實作所提供之簽章演算法的名稱。Gets the name of the signature algorithm available with this implementation of RSA. 在衍生類別中實作時，取得簽章演算法的名稱。When implemented in a derived class, gets the name of the signature algorithm. 否則，一律擲回 NotImplementedException。Otherwise, always throws a NotImplementedException. (繼承來源 AsymmetricAlgorithm)