SymmetricAlgorithm.Create Methode

Definitie

Hiermee maakt u een cryptografisch object dat wordt gebruikt om het symmetrische algoritme uit te voeren.

Overloads

Name Description
Create()
Verouderd.
Verouderd.

Hiermee maakt u een standaard cryptografisch object dat wordt gebruikt om het symmetrische algoritme uit te voeren.

Create(String)
Verouderd.

Hiermee maakt u het opgegeven cryptografische object dat wordt gebruikt om het symmetrische algoritme uit te voeren.

Create()

Bron:
SymmetricAlgorithm.cs
Bron:
SymmetricAlgorithm.cs
Bron:
SymmetricAlgorithm.cs
Bron:
SymmetricAlgorithm.cs
Bron:
SymmetricAlgorithm.cs

Let op

The default implementation of this cryptography algorithm is not supported.

Let op

The default implementation of this cryptography algorithm is not supported

Hiermee maakt u een standaard cryptografisch object dat wordt gebruikt om het symmetrische algoritme uit te voeren.

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

Retouren

Een standaard cryptografisch object dat wordt gebruikt om het symmetrische algoritme uit te voeren.

Kenmerken

Uitzonderingen

.NET Core 2.0 - 3.1 en .NET 5 en hoger: In alle gevallen.

Opmerkingen

Deze methode is verouderd in .NET 5 en latere versies.

U wordt aangeraden het algoritme op te geven door de Create(String) overbelasting van deze methode aan te roepen.

Zie ook

Van toepassing op

Create(String)

Bron:
SymmetricAlgorithm.cs
Bron:
SymmetricAlgorithm.cs
Bron:
SymmetricAlgorithm.cs
Bron:
SymmetricAlgorithm.cs
Bron:
SymmetricAlgorithm.cs

Let op

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

Hiermee maakt u het opgegeven cryptografische object dat wordt gebruikt om het symmetrische algoritme uit te voeren.

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

Parameters

algName
String

De naam van de specifieke implementatie van de SymmetricAlgorithm klasse die moet worden gebruikt.

Retouren

Een cryptografisch object dat wordt gebruikt om het symmetrische algoritme uit te voeren.

Kenmerken

Zie ook

Van toepassing op