RSA.Create RSA.Create RSA.Create RSA.Create Method

定義

允許執行個體化 RSA 的特定實作。Allows specific implementations of RSA to be instantiated.

多載

Create() Create() Create() Create()

建立 RSA 演算法之預設實作的執行個體。Creates an instance of the default implementation of the RSA algorithm.

Create(Int32) Create(Int32) Create(Int32) Create(Int32)

使用指定的金鑰大小建立新的暫時 RSA 金鑰。Creates a new ephemeral RSA key with the specified key size.

Create(RSAParameters) Create(RSAParameters) Create(RSAParameters) Create(RSAParameters)

以指定的 RSA 金鑰參數建立新的暫時 RSA 金鑰。Creates a new ephemeral RSA key with the specified RSA key parameters.

Create(String) Create(String) Create(String) Create(String)

建立 RSA 之指定實作的執行個體。Creates an instance of the specified implementation of RSA.

Create() Create() Create() Create()

建立 RSA 演算法之預設實作的執行個體。Creates an instance of the default implementation of the RSA algorithm.

public:
 static System::Security::Cryptography::RSA ^ Create();
public static System.Security.Cryptography.RSA Create ();
static member Create : unit -> System.Security.Cryptography.RSA
Public Shared Function Create () As RSA

傳回

RSA 之預設實作的新執行個體。A new instance of the default implementation of RSA.

另請參閱

Create(Int32) Create(Int32) Create(Int32) Create(Int32)

使用指定的金鑰大小建立新的暫時 RSA 金鑰。Creates a new ephemeral RSA key with the specified key size.

public:
 static System::Security::Cryptography::RSA ^ Create(int keySizeInBits);
public static System.Security.Cryptography.RSA Create (int keySizeInBits);
static member Create : int -> System.Security.Cryptography.RSA
Public Shared Function Create (keySizeInBits As Integer) As RSA

參數

keySizeInBits
Int32 Int32 Int32 Int32

金鑰大小 (位元)。The key size, in bits.

傳回

具有指定金鑰大小的新暫時 RSA 金鑰。A new ephemeral RSA key with the specified key size.

例外狀況

Create(RSAParameters) Create(RSAParameters) Create(RSAParameters) Create(RSAParameters)

以指定的 RSA 金鑰參數建立新的暫時 RSA 金鑰。Creates a new ephemeral RSA key with the specified RSA key parameters.

public:
 static System::Security::Cryptography::RSA ^ Create(System::Security::Cryptography::RSAParameters parameters);
public static System.Security.Cryptography.RSA Create (System.Security.Cryptography.RSAParameters parameters);
static member Create : System.Security.Cryptography.RSAParameters -> System.Security.Cryptography.RSA
Public Shared Function Create (parameters As RSAParameters) As RSA

參數

parameters
RSAParameters RSAParameters RSAParameters RSAParameters

RSA 演算法的參數。The parameters for the RSA algorithm.

傳回

新的暫時 RSA 金鑰。A new ephemeral RSA key.

Create(String) Create(String) Create(String) Create(String)

建立 RSA 之指定實作的執行個體。Creates an instance of the specified implementation of RSA.

public:
 static System::Security::Cryptography::RSA ^ Create(System::String ^ algName);
public static System.Security.Cryptography.RSA Create (string algName);
static member Create : string -> System.Security.Cryptography.RSA
Public Shared Function Create (algName As String) As RSA

參數

algName
String String String String

要使用之 RSA 的實作的名稱。The name of the implementation of RSA to use.

傳回

指定之 RSA 實作的新執行個體。A new instance of the specified implementation of RSA.

另請參閱

適用於