SymmetricAlgorithm.Create Metoda

Definice

Vytvoří kryptografický objekt použitý k provedení symetrického algoritmu.

Přetížení

Create()
Zastaralé.
Zastaralé.

Vytvoří výchozí kryptografický objekt použitý k provedení symetrického algoritmu.

Create(String)
Zastaralé.

Vytvoří zadaný kryptografický objekt použitý k provedení symetrického algoritmu.

Create()

Zdroj:
SymmetricAlgorithm.cs
Zdroj:
SymmetricAlgorithm.cs
Zdroj:
SymmetricAlgorithm.cs

Upozornění

The default implementation of this cryptography algorithm is not supported

Upozornění

The default implementation of this cryptography algorithm is not supported.

Vytvoří výchozí kryptografický objekt použitý k provedení symetrického algoritmu.

public:
 static System::Security::Cryptography::SymmetricAlgorithm ^ Create();
[System.Obsolete("The default implementation of this cryptography algorithm is not supported", DiagnosticId="SYSLIB0007", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public static System.Security.Cryptography.SymmetricAlgorithm Create ();
[System.Obsolete("The default implementation of this cryptography algorithm is not supported.", DiagnosticId="SYSLIB0007", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public static System.Security.Cryptography.SymmetricAlgorithm Create ();
public static System.Security.Cryptography.SymmetricAlgorithm Create ();
[<System.Obsolete("The default implementation of this cryptography algorithm is not supported", DiagnosticId="SYSLIB0007", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
static member Create : unit -> System.Security.Cryptography.SymmetricAlgorithm
[<System.Obsolete("The default implementation of this cryptography algorithm is not supported.", DiagnosticId="SYSLIB0007", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
static member Create : unit -> System.Security.Cryptography.SymmetricAlgorithm
static member Create : unit -> System.Security.Cryptography.SymmetricAlgorithm
Public Shared Function Create () As SymmetricAlgorithm

Návraty

Výchozí kryptografický objekt použitý k provedení symetrického algoritmu.

Atributy

Výjimky

.NET Core 2.0 – 3.1 a .NET 5 a novější: Ve všech případech.

Poznámky

Tato metoda je v .NET 5 a novějších verzích zastaralá.

Doporučujeme zadat algoritmus voláním Create(String) přetížení této metody.

Viz také

Platí pro

Create(String)

Zdroj:
SymmetricAlgorithm.cs
Zdroj:
SymmetricAlgorithm.cs
Zdroj:
SymmetricAlgorithm.cs

Upozornění

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

Vytvoří zadaný kryptografický objekt použitý k provedení symetrického algoritmu.

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

Parametry

algName
String

Název konkrétní implementace třídy, která SymmetricAlgorithm se má použít.

Návraty

Kryptografický objekt použitý k provedení symetrického algoritmu.

Atributy

Viz také

Platí pro