Bagikan melalui


DSA.Create Metode

Definisi

Membuat objek kriptografi yang digunakan untuk melakukan algoritma asimetris.

Overload

Create()

Membuat objek kriptografi default yang digunakan untuk melakukan algoritma asimetris.

Create(Int32)

Membuat kunci DSA ephemeral baru dengan ukuran kunci yang ditentukan.

Create(DSAParameters)

Membuat kunci DSA ephemeral baru dengan parameter kunci DSA yang ditentukan.

Create(String)
Kedaluwarsa.

Membuat objek kriptografi yang ditentukan yang digunakan untuk melakukan algoritma asimetris.

Create()

Sumber:
DSA.cs
Sumber:
DSA.cs
Sumber:
DSA.cs

Membuat objek kriptografi default yang digunakan untuk melakukan algoritma asimetris.

public:
 static System::Security::Cryptography::DSA ^ Create();
public static System.Security.Cryptography.DSA Create ();
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
public static System.Security.Cryptography.DSA Create ();
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public static System.Security.Cryptography.DSA Create ();
static member Create : unit -> System.Security.Cryptography.DSA
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
static member Create : unit -> System.Security.Cryptography.DSA
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
static member Create : unit -> System.Security.Cryptography.DSA
Public Shared Function Create () As DSA

Mengembalikan

DSA

Objek kriptografi yang digunakan untuk melakukan algoritma asimetris.

Atribut

Lihat juga

Berlaku untuk

Create(Int32)

Sumber:
DSA.cs
Sumber:
DSA.cs
Sumber:
DSA.cs

Membuat kunci DSA ephemeral baru dengan ukuran kunci yang ditentukan.

public:
 static System::Security::Cryptography::DSA ^ Create(int keySizeInBits);
public static System.Security.Cryptography.DSA Create (int keySizeInBits);
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
public static System.Security.Cryptography.DSA Create (int keySizeInBits);
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public static System.Security.Cryptography.DSA Create (int keySizeInBits);
static member Create : int -> System.Security.Cryptography.DSA
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
static member Create : int -> System.Security.Cryptography.DSA
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
static member Create : int -> System.Security.Cryptography.DSA
Public Shared Function Create (keySizeInBits As Integer) As DSA

Parameter

keySizeInBits
Int32

Ukuran kunci, dalam bit.

Mengembalikan

DSA

Kunci DSA ephemeral baru dengan ukuran kunci yang ditentukan.

Atribut

Pengecualian

keySizeInBits tidak diizinkan oleh LegalKeySizes.

Berlaku untuk

Create(DSAParameters)

Sumber:
DSA.cs
Sumber:
DSA.cs
Sumber:
DSA.cs

Membuat kunci DSA ephemeral baru dengan parameter kunci DSA yang ditentukan.

public:
 static System::Security::Cryptography::DSA ^ Create(System::Security::Cryptography::DSAParameters parameters);
public static System.Security.Cryptography.DSA Create (System.Security.Cryptography.DSAParameters parameters);
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
public static System.Security.Cryptography.DSA Create (System.Security.Cryptography.DSAParameters parameters);
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public static System.Security.Cryptography.DSA Create (System.Security.Cryptography.DSAParameters parameters);
static member Create : System.Security.Cryptography.DSAParameters -> System.Security.Cryptography.DSA
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
static member Create : System.Security.Cryptography.DSAParameters -> System.Security.Cryptography.DSA
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
static member Create : System.Security.Cryptography.DSAParameters -> System.Security.Cryptography.DSA
Public Shared Function Create (parameters As DSAParameters) As DSA

Parameter

parameters
DSAParameters

Parameter untuk DSA algoritma.

Mengembalikan

DSA

Kunci DSA ephemeral baru.

Atribut

Berlaku untuk

Create(String)

Sumber:
DSA.cs
Sumber:
DSA.cs
Sumber:
DSA.cs

Perhatian

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

Membuat objek kriptografi yang ditentukan yang digunakan untuk melakukan algoritma asimetris.

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

Parameter

algName
String

Nama implementasi spesifik untuk DSA digunakan.

Mengembalikan

DSA

Objek kriptografi yang digunakan untuk melakukan algoritma asimetris.

Atribut

Keterangan

Untuk DSA, gunakan nama System.Security.Cryptography.DSA.

Lihat juga

Berlaku untuk