英語で読む

次の方法で共有


Rijndael.Create メソッド

定義

Rijndael アルゴリズムを実行する暗号オブジェクトを作成します。

オーバーロード

Create()

Rijndael アルゴリズムを実行する暗号オブジェクトを作成します。

Create(String)
古い.

Rijndael アルゴリズムの特定の実装を実行する暗号オブジェクトを作成します。

Create()

ソース:
Rijndael.cs
ソース:
Rijndael.cs
ソース:
Rijndael.cs

Rijndael アルゴリズムを実行する暗号オブジェクトを作成します。

C#
public static System.Security.Cryptography.Rijndael Create();
C#
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public static System.Security.Cryptography.Rijndael Create();

戻り値

暗号オブジェクト。

属性

例外

連邦情報処理標準 (FIPS) モードが有効にされた状態でアルゴリズムが使用されましたが、このアルゴリズムは FIPS 準拠ではありません。

注釈

の既定の Rijndael 実装は です RijndaelManaged

こちらもご覧ください

適用対象

.NET 9 およびその他のバージョン
製品 バージョン
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

Create(String)

ソース:
Rijndael.cs
ソース:
Rijndael.cs
ソース:
Rijndael.cs

注意事項

Cryptographic factory methods accepting an algorithm name are obsolete. Use the parameterless Create factory method on the algorithm type instead.

Rijndael アルゴリズムの特定の実装を実行する暗号オブジェクトを作成します。

C#
public static System.Security.Cryptography.Rijndael? Create(string algName);
C#
[System.Obsolete("Cryptographic factory methods accepting an algorithm name are obsolete. Use the parameterless Create factory method on the algorithm type instead.", DiagnosticId="SYSLIB0045", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public static System.Security.Cryptography.Rijndael? Create(string algName);
C#
public static System.Security.Cryptography.Rijndael Create(string algName);

パラメーター

algName
String

作成する、Rijndael の特定の実装の名前。

戻り値

暗号オブジェクト。

属性

例外

連邦情報処理規格 (FIPS: Federal Information Processing Standard) モードが有効になっていますが、algName パラメーターによって定義されたアルゴリズムは、FIPS 準拠ではありません。

注釈

パラメーターに algName 使用できる値は RijndaelSystem.Security.Cryptography.RijndaelManagedです。

こちらもご覧ください

適用対象

.NET 9 およびその他のバージョン
製品 バージョン (廃止)
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6 (7, 8, 9)
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1