Aes.Create Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Cria um objeto criptográfico que é usado para executar o algoritmo simétrico.
Sobrecargas
| Name | Description |
|---|---|
| Create() |
Cria um objeto criptográfico que é usado para executar o algoritmo simétrico. |
| Create(String) |
Obsoleto.
Cria um objeto criptográfico que especifica a implementação do AES a usar para executar o algoritmo simétrico. |
Create()
- Origem:
- Aes.cs
- Origem:
- Aes.cs
- Origem:
- Aes.cs
- Origem:
- Aes.cs
- Origem:
- Aes.cs
Cria um objeto criptográfico que é usado para executar o algoritmo simétrico.
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
Devoluções
Um objeto criptográfico que é usado para executar o algoritmo simétrico.
- Atributos
Aplica-se a
Create(String)
- Origem:
- Aes.cs
- Origem:
- Aes.cs
- Origem:
- Aes.cs
- Origem:
- Aes.cs
- Origem:
- Aes.cs
Atenção
Cryptographic factory methods accepting an algorithm name are obsolete. Use the parameterless Create factory method on the algorithm type instead.
Cria um objeto criptográfico que especifica a implementação do AES a usar para executar o algoritmo simétrico.
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
Parâmetros
- algorithmName
- String
O nome da implementação específica do AES a utilizar.
Devoluções
Um objeto criptográfico que é usado para executar o algoritmo simétrico.
- Atributos
Exceções
O algorithmName parâmetro é null.
Observações
Os valores possíveis algorithmName são: "AES", "AesCryptoServiceProvider", "System.Security.Cryptography.AesCryptoServiceProvider", "AesManaged" e "System.Security.Cryptography.AesManaged".