Bewerken

Delen via


Rijndael.Create Method

Definition

Creates a cryptographic object to perform the Rijndael algorithm.

Overloads

Create()

Creates a cryptographic object to perform the Rijndael algorithm.

Create(String)
Obsolete.

Creates a cryptographic object to perform the specified implementation of the Rijndael algorithm.

Create()

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

Creates a cryptographic object to perform the Rijndael algorithm.

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

Returns

A cryptographic object.

Attributes

Exceptions

The algorithm was used with Federal Information Processing Standards (FIPS) mode enabled, but is not FIPS compatible.

Remarks

The default implementation of Rijndael is RijndaelManaged.

See also

Applies to

Create(String)

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

Caution

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

Creates a cryptographic object to perform the specified implementation of the Rijndael algorithm.

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

Parameters

algName
String

The name of the specific implementation of Rijndael to create.

Returns

A cryptographic object.

Attributes

Exceptions

The algorithm described by the algName parameter was used with Federal Information Processing Standards (FIPS) mode enabled, but is not FIPS compatible.

Remarks

Acceptable values for the algName parameter are Rijndael and System.Security.Cryptography.RijndaelManaged.

See also

Applies to