语言

Rijndael.Create 方法

定义

创建用于执行算法的 Rijndael 加密对象。

重载

名称 说明
Create()

创建用于执行算法的 Rijndael 加密对象。

Create(String)
已过时.

创建加密对象以执行算法的 Rijndael 指定实现。

Create()

Source:
Rijndael.cs
Source:
Rijndael.cs
Source:
Rijndael.cs
Source:
Rijndael.cs
Source:
Rijndael.cs

创建用于执行算法的 Rijndael 加密对象。

public:
 static System::Security::Cryptography::Rijndael ^ Create();
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public static System.Security.Cryptography.Rijndael Create();
public static System.Security.Cryptography.Rijndael Create();
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
static member Create : unit -> System.Security.Cryptography.Rijndael
static member Create : unit -> System.Security.Cryptography.Rijndael
Public Shared Function Create () As Rijndael

返回

加密对象。

特性

例外

该算法与已启用联邦信息处理标准(FIPS)模式一起使用,但与 FIPS 不兼容。

注解

默认实现为 RijndaelRijndaelManaged.

另请参阅

适用于

Create(String)

Source:
Rijndael.cs
Source:
Rijndael.cs
Source:
Rijndael.cs
Source:
Rijndael.cs
Source:
Rijndael.cs

注意

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

创建加密对象以执行算法的 Rijndael 指定实现。

public:
 static System::Security::Cryptography::Rijndael ^ 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.Rijndael? Create(string algName);
public static System.Security.Cryptography.Rijndael? 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.Rijndael? Create(string algName);
public static System.Security.Cryptography.Rijndael 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.Rijndael
static member Create : string -> System.Security.Cryptography.Rijndael
[<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.Rijndael
Public Shared Function Create (algName As String) As Rijndael

参数

algName
String

要创建的特定实现 Rijndael 的名称。

返回

加密对象。

特性

例外

参数描述的 algName 算法与已启用联邦信息处理标准(FIPS)模式一起使用,但与 FIPS 不兼容。

注解

参数algNameRijndael的可接受值为和 System.Security.Cryptography.RijndaelManaged。

另请参阅

适用于