Aes.Create Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Crée un objet de chiffrement utilisé pour effectuer l’algorithme symétrique.
Surcharges
| Nom | Description |
|---|---|
| Create() |
Crée un objet de chiffrement utilisé pour effectuer l’algorithme symétrique. |
| Create(String) |
Obsolète.
Crée un objet de chiffrement qui spécifie l’implémentation d’AES à utiliser pour effectuer l’algorithme symétrique. |
Create()
- Source:
- Aes.cs
- Source:
- Aes.cs
- Source:
- Aes.cs
- Source:
- Aes.cs
- Source:
- Aes.cs
Crée un objet de chiffrement utilisé pour effectuer l’algorithme symétrique.
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
Retours
Objet de chiffrement utilisé pour effectuer l’algorithme symétrique.
- Attributs
S’applique à
Create(String)
- Source:
- Aes.cs
- Source:
- Aes.cs
- Source:
- Aes.cs
- Source:
- Aes.cs
- Source:
- Aes.cs
Attention
Cryptographic factory methods accepting an algorithm name are obsolete. Use the parameterless Create factory method on the algorithm type instead.
Crée un objet de chiffrement qui spécifie l’implémentation d’AES à utiliser pour effectuer l’algorithme symétrique.
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
Paramètres
- algorithmName
- String
Nom de l’implémentation spécifique d’AES à utiliser.
Retours
Objet de chiffrement utilisé pour effectuer l’algorithme symétrique.
- Attributs
Exceptions
Le algorithmName paramètre est null.
Remarques
Les valeurs possibles algorithmName sont : « AES », « AesCryptoServiceProvider », « System.Security.Cryptography.AesCryptoServiceProvider », « AesManaged » et « System.Security.Cryptography.AesManaged ».