語言

SHA384.Create 方法

定義

允許實例化此抽象類別的特定實作。

多載

名稱 Description
Create()

建立 的 SHA384預設實作實例。

Create(String)
已淘汰.

建立指定實作 SHA384的實例。

Create()

來源:
SHA384.cs
來源:
SHA384.cs
來源:
SHA384.cs
來源:
SHA384.cs
來源:
SHA384.cs

建立 的 SHA384預設實作實例。

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

傳回

一個新的實例。SHA384

例外狀況

該演算法在啟用聯邦資訊處理標準(FIPS)模式下使用,但不相容於FIPS。

另請參閱

適用於

Create(String)

來源:
SHA384.cs
來源:
SHA384.cs
來源:
SHA384.cs
來源:
SHA384.cs
來源:
SHA384.cs

警告

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

建立指定實作 SHA384的實例。

public:
 static System::Security::Cryptography::SHA384 ^ 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.SHA384? Create(string hashName);
public static System.Security.Cryptography.SHA384? 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.SHA384? Create(string hashName);
public static System.Security.Cryptography.SHA384 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.SHA384
static member Create : string -> System.Security.Cryptography.SHA384
[<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.SHA384
Public Shared Function Create (hashName As String) As SHA384

參數

hashName
String

具體實作 SHA384 名稱。

傳回

一個使用指定實作的新實例 SHA384 。

屬性

例外狀況

參數所描述 hashName 的演算法在啟用聯邦資訊處理標準(FIPS)模式下使用,但不相容於 FIPS。

另請參閱

適用於