SHA512.Create Método

Definição

Permite que implementações específicas desta classe abstrata sejam instanciadas.

Sobrecargas

Name Description
Create()

Cria uma instância da implementação padrão de SHA512.

Create(String)
Obsoleto.

Cria uma instância de uma implementação especificada de SHA512.

Create()

Origem:
SHA512.cs
Origem:
SHA512.cs
Origem:
SHA512.cs
Origem:
SHA512.cs
Origem:
SHA512.cs

Cria uma instância da implementação padrão 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

Devoluções

Uma nova instância de SHA512.

Exceções

O algoritmo foi usado com o modo Federal Information Processing Standards (FIPS) ativado, mas não é compatível com FIPS.

Ver também

Aplica-se a

Create(String)

Origem:
SHA512.cs
Origem:
SHA512.cs
Origem:
SHA512.cs
Origem:
SHA512.cs
Origem:
SHA512.cs

Atenção

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

Cria uma instância de uma implementação especificada 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

Parâmetros

hashName
String

O nome da implementação específica de SHA512 a ser utilizada.

Devoluções

Uma nova instância de SHA512 usar a implementação especificada.

Atributos

Exceções

O algoritmo descrito pelo hashName parâmetro foi usado com o modo Federal Information Processing Standards (FIPS) ativado, mas não é compatível com FIPS.

Observações

Os valores possíveis para hashName são SHA512, System.Security.Cryptography.SHA512, System.Security.Cryptography.SHA512Managed e System.Security.Cryptography.SHA512CryptoServiceProvider.

Ver também

Aplica-se a