SHA512.Create Méthode

Définition

Permet aux implémentations spécifiques de cette classe abstraite d’être instanciées.

Surcharges

Nom Description
Create()

Crée une instance de l’implémentation par défaut de SHA512.

Create(String)
Obsolète.

Crée une instance d’une implémentation spécifiée de SHA512.

Create()

Source:
SHA512.cs
Source:
SHA512.cs
Source:
SHA512.cs
Source:
SHA512.cs
Source:
SHA512.cs

Crée une instance de l’implémentation par défaut de SHA512.

public:
 static System::Security::Cryptography::SHA512 ^ Create();
public static System.Security.Cryptography.SHA512 Create();
static member Create : unit -> System.Security.Cryptography.SHA512
Public Shared Function Create () As SHA512

Retours

Nouvelle instance de SHA512.

Exceptions

L’algorithme a été utilisé avec le mode FIPS (Federal Information Processing Standards) activé, mais n’est pas compatible FIPS.

Voir aussi

S’applique à

Create(String)

Source:
SHA512.cs
Source:
SHA512.cs
Source:
SHA512.cs
Source:
SHA512.cs
Source:
SHA512.cs

Attention

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

Crée une instance d’une implémentation spécifiée de SHA512.

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

Paramètres

hashName
String

Nom de l’implémentation SHA512 spécifique à utiliser.

Retours

Nouvelle instance d’utilisation de SHA512 l’implémentation spécifiée.

Attributs

Exceptions

L’algorithme décrit par le hashName paramètre a été utilisé avec le mode FIPS (Federal Information Processing Standards) activé, mais n’est pas compatible FIPS.

Remarques

Les valeurs hashName possibles sont SHA512, System.Security.Cryptography.SHA512, System.Security.Cryptography.SHA512Managed et System.Security.Cryptography.SHA512CryptoServiceProvider.

Voir aussi

S’applique à