Sdílet prostřednictvím


DSA.Create Metoda

Definice

Vytvoří kryptografický objekt použitý k provedení asymetrického algoritmu.

Přetížení

Create()

Vytvoří výchozí kryptografický objekt použitý k provedení asymetrického algoritmu.

Create(Int32)

Vytvoří nový dočasný klíč DSA se zadanou velikostí klíče.

Create(DSAParameters)

Vytvoří nový dočasný klíč DSA se zadanými parametry klíče DSA.

Create(String)
Zastaralé.

Vytvoří zadaný kryptografický objekt použitý k provedení asymetrického algoritmu.

Create()

Zdroj:
DSA.cs
Zdroj:
DSA.cs
Zdroj:
DSA.cs

Vytvoří výchozí kryptografický objekt použitý k provedení asymetrického algoritmu.

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

Návraty

DSA

Kryptografický objekt použitý k provedení asymetrického algoritmu.

Atributy

Viz také

Platí pro

Create(Int32)

Zdroj:
DSA.cs
Zdroj:
DSA.cs
Zdroj:
DSA.cs

Vytvoří nový dočasný klíč DSA se zadanou velikostí klíče.

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

Parametry

keySizeInBits
Int32

Velikost klíče v bitech.

Návraty

DSA

Nový dočasný klíč DSA se zadanou velikostí klíče.

Atributy

Výjimky

keySizeInBitsnepovoluje .LegalKeySizes

Platí pro

Create(DSAParameters)

Zdroj:
DSA.cs
Zdroj:
DSA.cs
Zdroj:
DSA.cs

Vytvoří nový dočasný klíč DSA se zadanými parametry klíče DSA.

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

Parametry

parameters
DSAParameters

Parametry DSA algoritmu.

Návraty

DSA

Nový dočasný klíč DSA.

Atributy

Platí pro

Create(String)

Zdroj:
DSA.cs
Zdroj:
DSA.cs
Zdroj:
DSA.cs

Upozornění

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

Vytvoří zadaný kryptografický objekt použitý k provedení asymetrického algoritmu.

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

Parametry

algName
String

Název konkrétní implementace, která DSA se má použít.

Návraty

DSA

Kryptografický objekt použitý k provedení asymetrického algoritmu.

Atributy

Poznámky

Pro DSApoužijte název System.Security.Cryptography.DSA.

Viz také

Platí pro