System.Security.Cryptograph ...


Bibliothèque de classes .NET Framework
SHA256CryptoServiceProvider, classe

Mise à jour : novembre 2007

Définit un objet de wrapper pour accéder à l'implémentation du fournisseur de services de chiffrement (CSP) de l'algorithme SHA256.

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 SHA256CryptoServiceProvider _
    Inherits SHA256
Visual Basic (Utilisation)
Dim instance As SHA256CryptoServiceProvider
C#
[HostProtectionAttribute(SecurityAction.LinkDemand, MayLeakOnAbort = true)]
public sealed class SHA256CryptoServiceProvider : SHA256
VisualC++
[HostProtectionAttribute(SecurityAction::LinkDemand, MayLeakOnAbort = true)]
public ref class SHA256CryptoServiceProvider sealed : public SHA256
J#
/** @attribute HostProtectionAttribute(SecurityAction.LinkDemand, MayLeakOnAbort = true) */
public final class SHA256CryptoServiceProvider extends SHA256
JScript
public final class SHA256CryptoServiceProvider extends SHA256
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..::.HashAlgorithm
    System.Security.Cryptography..::.SHA256
      System.Security.Cryptography..::.SHA256CryptoServiceProvider
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