Aes.Create Метод

Определение

Создает криптографический объект, используемый для выполнения симметричного алгоритма.

Перегрузки

Create()

Создает криптографический объект, используемый для выполнения симметричного алгоритма.

Create(String)
Устаревшие..

Создает криптографический объект, задающий реализацию AES для выполнения симметричного алгоритма.

Create()

Исходный код:
Aes.cs
Исходный код:
Aes.cs
Исходный код:
Aes.cs

Создает криптографический объект, используемый для выполнения симметричного алгоритма.

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

Возвращаемое значение

Aes

Криптографический объект, используемый для выполнения симметричного алгоритма.

Атрибуты

Применяется к

Create(String)

Исходный код:
Aes.cs
Исходный код:
Aes.cs
Исходный код:
Aes.cs

Внимание!

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

Создает криптографический объект, задающий реализацию AES для выполнения симметричного алгоритма.

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

Параметры

algorithmName
String

Имя конкретной реализации AES, которую требуется использовать.

Возвращаемое значение

Aes

Криптографический объект, используемый для выполнения симметричного алгоритма.

Атрибуты

Исключения

Параметр algorithmName имеет значение null.

Комментарии

Возможные algorithmName значения: "AES", "AesCryptoServiceProvider", "System.Security.Cryptography.AesCryptoServiceProvider", "AesManaged" и "System.Security.Cryptography.AesManaged".

Применяется к