## RSA::Create() method


创建默认的 [RSA](../) 算法实现。

```cpp
static SharedPtr<RSA> System::Security::Cryptography::RSA::Create()
```

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [RSA](../)
* Class [RSA](../)
* Namespace [System::Security::Cryptography](../../)
* Library [Aspose.Page for C++](../../../)
## RSA::Create(const RSAParameters\&) method


使用指定参数创建默认的 [RSA](../) 算法实现。

```cpp
static SharedPtr<RSA> System::Security::Cryptography::RSA::Create(const RSAParameters &parameters)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| parameters | const RSAParameters\& | 用于 [RSA](../) 算法的参数。 |

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [RSA](../)
* Class [RSA](../)
* Namespace [System::Security::Cryptography](../../)
* Library [Aspose.Page for C++](../../../)
## RSA::Create(const String\&) method


创建默认的 [RSA](../) 算法实现。

```cpp
static SharedPtr<RSA> System::Security::Cryptography::RSA::Create(const String &alg_name)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| alg_name | const String\& | 必须是 \"System.Security.Cryptography.RSACryptoServiceProvider\"。 |

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [RSA](../)
* Class [String](../../../system/string/)
* Class [RSA](../)
* Namespace [System::Security::Cryptography](../../)
* Library [Aspose.Page for C++](../../../)
## RSA::Create(int32_t) method


创建默认的 [RSA](../) 算法实现，使用指定的密钥大小。

```cpp
static SharedPtr<RSA> System::Security::Cryptography::RSA::Create(int32_t key_size_in_bits)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| key_size_in_bits | int32_t | 密钥大小，以位为单位。 |

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [RSA](../)
* Class [RSA](../)
* Namespace [System::Security::Cryptography](../../)
* Library [Aspose.Page for C++](../../../)
