Rijndael.Create 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建用于执行算法的 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 算法与已启用联邦信息处理标准(FIPS)模式一起使用,但与 FIPS 不兼容。
注解
参数algNameRijndael的可接受值为和 System.Security.Cryptography.RijndaelManaged。