SHA384.Create Method

Definition

Allows specific implementations of this abstract class to be instantiated.

Overloads

Create()

Creates an instance of the default implementation of SHA384.

Create(String)
Obsolete.

Creates an instance of a specified implementation of SHA384.

Create()

Creates an instance of the default implementation of 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

Returns

A new instance of SHA384.

Exceptions

The algorithm was used with Federal Information Processing Standards (FIPS) mode enabled, but is not FIPS compatible.

See also

Applies to

Create(String)

Caution

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

Creates an instance of a specified implementation of 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

Parameters

hashName
String

The name of the specific implementation of SHA384 to be used.

Returns

A new instance of SHA384 using the specified implementation.

Attributes

Exceptions

The algorithm described by the hashName parameter was used with Federal Information Processing Standards (FIPS) mode enabled, but is not FIPS compatible.

See also

Applies to