SHA384.Create 方法

定義

允許執行個體化這個抽象類別的指定實作。

多載

Create()

建立 SHA384 的預設實作的執行個體。

Create(String)
已淘汰.

建立 SHA384 的指定實作的執行個體。

Create()

來源:
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

警告

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

參數

hashName
String

要使用之 SHA384 的特定實作的名稱。

傳回

SHA384 的新執行個體,使用指定實作。

屬性

例外狀況

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

另請參閱

適用於