System.Security.Cryptograph ...


Bibliothèque de classes .NET Framework
AesCryptoServiceProvider, classe

Mise à jour : novembre 2007

Exécute un chiffrement et un déchiffrement symétriques à l'aide de l'implémentation CAPI (Cryptographic Application Programming Interfaces) de l'algorithme AES (Advanced Encryption Standard).

Espace de noms :  System.Security.Cryptography
Assembly :  System.Core (dans System.Core.dll)

Syntaxe

Visual Basic (Déclaration)
<HostProtectionAttribute(SecurityAction.LinkDemand, MayLeakOnAbort := True)> _
Public NotInheritable Class AesCryptoServiceProvider _
    Inherits Aes
Visual Basic (Utilisation)
Dim instance As AesCryptoServiceProvider
C#
[HostProtectionAttribute(SecurityAction.LinkDemand, MayLeakOnAbort = true)]
public sealed class AesCryptoServiceProvider : Aes
VisualC++
[HostProtectionAttribute(SecurityAction::LinkDemand, MayLeakOnAbort = true)]
public ref class AesCryptoServiceProvider sealed : public Aes
J#
/** @attribute HostProtectionAttribute(SecurityAction.LinkDemand, MayLeakOnAbort = true) */
public final class AesCryptoServiceProvider extends Aes
JScript
public final class AesCryptoServiceProvider extends Aes
Notes

Remarque :

L'attribut HostProtectionAttribute appliqué à ce type ou membre a la valeur de propriété Resources suivante : MayLeakOnAbort. HostProtectionAttribute n'affecte pas les applications bureautiques (qui sont généralement démarrées en double-cliquant sur une icône, en tapant une commande ou en entrant une URL dans un navigateur). Pour plus d'informations, consultez la classe HostProtectionAttribute ou Attributs de programmation et de protection des hôtes SQL Server.

Hiérarchie d'héritage

System..::.Object
  System.Security.Cryptography..::.SymmetricAlgorithm
    System.Security.Cryptography..::.Aes
      System.Security.Cryptography..::.AesCryptoServiceProvider
Sécurité des threads

Tous les membres static (Shared en Visual Basic) publics de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.
Plateformes

Windows Vista, Windows XP SP2, Windows Server 2003

Le .NET Framework et le .NET Compact Framework ne prennent pas en charge toutes les versions de chaque plateforme. Pour obtenir la liste des versions prises en charge, consultez Configuration requise du .NET Framework.

Informations de version

.NET Framework

Pris en charge dans : 3.5
Voir aussi

Référence

Mots clés :


Page view tracker