## 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.Font for C++](../../../)
## RSA::Create(const RSAParameters\&) method


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

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


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

## 另见

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


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

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 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.Font for C++](../../../)
## RSA::Create(int32_t) method


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

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| key_size_in_bits | int32_t | 密钥大小（以位为单位）。 |

## 另见

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