SymmetricAlgorithm.Create Metódus
Definíció
Fontos
Egyes információk olyan, kiadás előtti termékekre vonatkoznak, amelyek a kiadásig még jelentősen módosulhatnak. A Microsoft nem vállal kifejezett vagy törvényi garanciát az itt megjelenő információért.
Létrehoz egy titkosítási objektumot a szimmetrikus algoritmus végrehajtásához.
Túlterhelések
| Név | Description |
|---|---|
| Create() |
Elavult.
Elavult.
Létrehoz egy alapértelmezett titkosítási objektumot a szimmetrikus algoritmus végrehajtásához. |
| Create(String) |
Elavult.
Létrehozza a szimmetrikus algoritmus végrehajtásához használt megadott titkosítási objektumot. |
Create()
- Forrás:
- SymmetricAlgorithm.cs
- Forrás:
- SymmetricAlgorithm.cs
- Forrás:
- SymmetricAlgorithm.cs
- Forrás:
- SymmetricAlgorithm.cs
- Forrás:
- SymmetricAlgorithm.cs
Figyelemfelhívás
The default implementation of this cryptography algorithm is not supported.
Figyelemfelhívás
The default implementation of this cryptography algorithm is not supported
Létrehoz egy alapértelmezett titkosítási objektumot a szimmetrikus algoritmus végrehajtásához.
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
Válaszok
A szimmetrikus algoritmus végrehajtásához használt alapértelmezett titkosítási objektum.
- Attribútumok
Kivételek
.NET Core 2.0 – 3.1 és .NET 5-ös és újabb verziók: Minden esetben.
Megjegyzések
Ez a módszer elavult .NET 5-ös és újabb verziókban.
Javasoljuk, hogy a metódus túlterhelésének meghívásával adja meg az Create(String) algoritmust.
Lásd még
A következőre érvényes:
Create(String)
- Forrás:
- SymmetricAlgorithm.cs
- Forrás:
- SymmetricAlgorithm.cs
- Forrás:
- SymmetricAlgorithm.cs
- Forrás:
- SymmetricAlgorithm.cs
- Forrás:
- SymmetricAlgorithm.cs
Figyelemfelhívás
Cryptographic factory methods accepting an algorithm name are obsolete. Use the parameterless Create factory method on the algorithm type instead.
Létrehozza a szimmetrikus algoritmus végrehajtásához használt megadott titkosítási objektumot.
public:
static System::Security::Cryptography::SymmetricAlgorithm ^ 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.SymmetricAlgorithm? Create(string algName);
public static System.Security.Cryptography.SymmetricAlgorithm? 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.SymmetricAlgorithm? Create(string algName);
public static System.Security.Cryptography.SymmetricAlgorithm 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.SymmetricAlgorithm
static member Create : string -> System.Security.Cryptography.SymmetricAlgorithm
[<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.SymmetricAlgorithm
Public Shared Function Create (algName As String) As SymmetricAlgorithm
Paraméterek
- algName
- String
A használni kívánt osztály konkrét implementációjának SymmetricAlgorithm neve.
Válaszok
A szimmetrikus algoritmus végrehajtásához használt titkosítási objektum.
- Attribútumok