SymmetricAlgorithm.Create メソッド

定義

対称アルゴリズムの実行に使用する暗号化オブジェクトを作成します。

オーバーロード

名前 説明
Create()
古い.
古い.

対称アルゴリズムの実行に使用される既定の暗号化オブジェクトを作成します。

Create(String)
古い.

対称アルゴリズムの実行に使用する指定された暗号化オブジェクトを作成します。

Create()

ソース:
SymmetricAlgorithm.cs
ソース:
SymmetricAlgorithm.cs
ソース:
SymmetricAlgorithm.cs
ソース:
SymmetricAlgorithm.cs
ソース:
SymmetricAlgorithm.cs

注意事項

The default implementation of this cryptography algorithm is not supported.

注意事項

The default implementation of this cryptography algorithm is not supported

対称アルゴリズムの実行に使用される既定の暗号化オブジェクトを作成します。

public:
 static System::Security::Cryptography::SymmetricAlgorithm ^ Create();
[System.Obsolete("The default implementation of this cryptography algorithm is not supported.", DiagnosticId="SYSLIB0007", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public static System.Security.Cryptography.SymmetricAlgorithm Create();
[System.Obsolete("The default implementation of this cryptography algorithm is not supported", DiagnosticId="SYSLIB0007", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public static System.Security.Cryptography.SymmetricAlgorithm Create();
public static System.Security.Cryptography.SymmetricAlgorithm Create();
[<System.Obsolete("The default implementation of this cryptography algorithm is not supported.", DiagnosticId="SYSLIB0007", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
static member Create : unit -> System.Security.Cryptography.SymmetricAlgorithm
[<System.Obsolete("The default implementation of this cryptography algorithm is not supported", DiagnosticId="SYSLIB0007", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
static member Create : unit -> System.Security.Cryptography.SymmetricAlgorithm
static member Create : unit -> System.Security.Cryptography.SymmetricAlgorithm
Public Shared Function Create () As SymmetricAlgorithm

返品

対称アルゴリズムを実行するために使用される既定の暗号化オブジェクト。

属性

例外

.NET Core 2.0 - 3.1 および .NET 5 以降: すべての場合。

注釈

このメソッドは、.NET 5 以降のバージョンでは使用されていません。

このメソッドの Create(String) オーバーロードを呼び出して、アルゴリズムを指定することをお勧めします。

こちらもご覧ください

適用対象

Create(String)

ソース:
SymmetricAlgorithm.cs
ソース:
SymmetricAlgorithm.cs
ソース:
SymmetricAlgorithm.cs
ソース:
SymmetricAlgorithm.cs
ソース:
SymmetricAlgorithm.cs

注意事項

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

対称アルゴリズムの実行に使用する指定された暗号化オブジェクトを作成します。

public:
 static System::Security::Cryptography::SymmetricAlgorithm ^ Create(System::String ^ algName);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The default algorithm implementations might be removed, use strong type references like 'RSA.Create()' instead.")]
[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.SymmetricAlgorithm? Create(string algName);
public static System.Security.Cryptography.SymmetricAlgorithm? Create(string algName);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The default algorithm implementations might be removed, use strong type references like 'RSA.Create()' instead.")]
public static System.Security.Cryptography.SymmetricAlgorithm? Create(string algName);
public static System.Security.Cryptography.SymmetricAlgorithm Create(string algName);
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The default algorithm implementations might be removed, use strong type references like 'RSA.Create()' instead.")>]
[<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}")>]
static member Create : string -> System.Security.Cryptography.SymmetricAlgorithm
static member Create : string -> System.Security.Cryptography.SymmetricAlgorithm
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The default algorithm implementations might be removed, use strong type references like 'RSA.Create()' instead.")>]
static member Create : string -> System.Security.Cryptography.SymmetricAlgorithm
Public Shared Function Create (algName As String) As SymmetricAlgorithm

パラメーター

algName
String

使用する SymmetricAlgorithm クラスの特定の実装の名前。

返品

対称アルゴリズムの実行に使用される暗号化オブジェクト。

属性

こちらもご覧ください

適用対象