Aes.Create Metoda

Definicja

Tworzy obiekt kryptograficzny używany do wykonywania algorytmu symetrycznego.

Przeciążenia

Create()

Tworzy obiekt kryptograficzny używany do wykonywania algorytmu symetrycznego.

Create(String)
Przestarzałe.

Tworzy obiekt kryptograficzny, który określa implementację AES do użycia w celu wykonania algorytmu symetrycznego.

Create()

Źródło:
Aes.cs
Źródło:
Aes.cs
Źródło:
Aes.cs

Tworzy obiekt kryptograficzny używany do wykonywania algorytmu symetrycznego.

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

Zwraca

Aes

Obiekt kryptograficzny używany do wykonywania algorytmu symetrycznego.

Atrybuty

Dotyczy

Create(String)

Źródło:
Aes.cs
Źródło:
Aes.cs
Źródło:
Aes.cs

Przestroga

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

Tworzy obiekt kryptograficzny, który określa implementację AES do użycia w celu wykonania algorytmu symetrycznego.

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

Parametry

algorithmName
String

Nazwa określonej implementacji AES do użycia.

Zwraca

Aes

Obiekt kryptograficzny używany do wykonywania algorytmu symetrycznego.

Atrybuty

Wyjątki

Parametr algorithmName to null.

Uwagi

Możliwe algorithmName wartości to: "AES", "AesCryptoServiceProvider", "System.Security.Cryptography.AesCryptoServiceProvider", "AesManaged" i "System.Security.Cryptography.AesManaged".

Dotyczy