SHA512.Create Metodo

Definizione

Consente di creare un'istanza di implementazioni specifiche di questa classe astratta.

Overload

Nome Descrizione
Create()

Crea un'istanza dell'implementazione predefinita di SHA512.

Create(String)
Obsoleti.

Crea un'istanza di un'implementazione specificata di SHA512.

Create()

Origine:
SHA512.cs
Origine:
SHA512.cs
Origine:
SHA512.cs
Origine:
SHA512.cs
Origine:
SHA512.cs

Crea un'istanza dell'implementazione predefinita di 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

Valori restituiti

Nuova istanza di SHA512.

Eccezioni

L'algoritmo è stato usato con la modalità FIPS (Federal Information Processing Standards), ma non è compatibile con FIPS.

Vedi anche

Si applica a

Create(String)

Origine:
SHA512.cs
Origine:
SHA512.cs
Origine:
SHA512.cs
Origine:
SHA512.cs
Origine:
SHA512.cs

Attenzione

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

Crea un'istanza di un'implementazione specificata di 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

Parametri

hashName
String

Nome dell'implementazione specifica di SHA512 da utilizzare.

Valori restituiti

Nuova istanza di SHA512 utilizzando l'implementazione specificata.

Attributi

Eccezioni

L'algoritmo hashName descritto dal parametro è stato usato con la modalità FIPS (Federal Information Processing Standards) abilitata, ma non è compatibile con FIPS.

Commenti

I valori possibili per hashName sono SHA512, System.Security.Cryptography.SHA512, System.Security.Cryptography.SHA512Managed e System.Security.Cryptography.SHA512CryptoServiceProvider.

Vedi anche

Si applica a