Aes.Create Metod

Definition

Skapar ett kryptografiskt objekt som används för att utföra den symmetriska algoritmen.

Överlagringar

Name Description
Create()

Skapar ett kryptografiskt objekt som används för att utföra den symmetriska algoritmen.

Create(String)
Föråldrad.

Skapar ett kryptografiskt objekt som anger implementeringen av AES som ska användas för att utföra den symmetriska algoritmen.

Create()

Källa:
Aes.cs
Källa:
Aes.cs
Källa:
Aes.cs
Källa:
Aes.cs
Källa:
Aes.cs

Skapar ett kryptografiskt objekt som används för att utföra den symmetriska algoritmen.

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

Returer

Aes

Ett kryptografiskt objekt som används för att utföra den symmetriska algoritmen.

Attribut

Gäller för

Create(String)

Källa:
Aes.cs
Källa:
Aes.cs
Källa:
Aes.cs
Källa:
Aes.cs
Källa:
Aes.cs

Varning

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

Skapar ett kryptografiskt objekt som anger implementeringen av AES som ska användas för att utföra den symmetriska algoritmen.

public:
 static System::Security::Cryptography::Aes ^ Create(System::String ^ algorithmName);
[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.Aes? Create(string algorithmName);
public static System.Security.Cryptography.Aes? Create(string algorithmName);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The default algorithm implementations might be removed, use strong type references like 'RSA.Create()' instead.")]
public static System.Security.Cryptography.Aes? Create(string algorithmName);
public static System.Security.Cryptography.Aes Create(string algorithmName);
[<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.Aes
static member Create : string -> System.Security.Cryptography.Aes
[<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.Aes
Public Shared Function Create (algorithmName As String) As Aes

Parametrar

algorithmName
String

Namnet på den specifika implementering av AES som ska användas.

Returer

Aes

Ett kryptografiskt objekt som används för att utföra den symmetriska algoritmen.

Attribut

Undantag

Parametern algorithmName är null.

Kommentarer

Möjliga algorithmName värden är: "AES", "AesCryptoServiceProvider", "System.Security.Cryptography.AesCryptoServiceProvider", "AesManaged" och "System.Security.Cryptography.AesManaged".

Gäller för