SHA512.Create Метод

Определение

Позволяет создавать экземпляры конкретных реализаций этого абстрактного класса.

Перегрузки

Имя Описание
Create()

Создает экземпляр реализации SHA512по умолчанию.

Create(String)
Устаревшие.

Создает экземпляр указанной реализации SHA512.

Create()

Исходный код:
SHA512.cs
Исходный код:
SHA512.cs
Исходный код:
SHA512.cs
Исходный код:
SHA512.cs
Исходный код:
SHA512.cs

Создает экземпляр реализации 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

Возвращаемое значение

Новый экземпляр SHA512.

Исключения

Алгоритм использовался с включенным режимом федеральной информационной обработки (FIPS), но не совместим с FIPS.

См. также раздел

Применяется к

Create(String)

Исходный код:
SHA512.cs
Исходный код:
SHA512.cs
Исходный код:
SHA512.cs
Исходный код:
SHA512.cs
Исходный код:
SHA512.cs

Внимание!

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

Создает экземпляр указанной реализации 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

Параметры

hashName
String

Имя используемой реализации SHA512 .

Возвращаемое значение

Новый экземпляр использования указанной SHA512 реализации.

Атрибуты

Исключения

Алгоритм, описанный hashName параметром, использовался с включенным режимом федеральных стандартов обработки информации (FIPS), но не совместим с FIPS.

Комментарии

Возможные значения hashName : SHA512, System.Security.Cryptography.SHA512, System.Security.Cryptography.SHA512Managed и System.Security.Cryptography.SHA512CryptoServiceProvider.

См. также раздел

Применяется к