DSA.Create Metoda

Definice

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

Přetížení

Name Description
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
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();
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
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("browser")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
static member Create : unit -> System.Security.Cryptography.DSA
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
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
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);
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
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("browser")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
static member Create : int -> System.Security.Cryptography.DSA
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
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

keySizeInBits není povoleno LegalKeySizes.

Platí pro

Create(DSAParameters)

Zdroj:
DSA.cs
Zdroj:
DSA.cs
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);
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
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("browser")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
static member Create : System.Security.Cryptography.DSAParameters -> System.Security.Cryptography.DSA
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
Public Shared Function Create (parameters As DSAParameters) As DSA

Parametry

parameters
DSAParameters

Parametry algoritmu DSA .

Návraty

DSA

Nový dočasný klíč DSA.

Atributy

Platí pro

Create(String)

Zdroj:
DSA.cs
Zdroj:
DSA.cs
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);
[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.DSA? Create(string algName);
public static System.Security.Cryptography.DSA? Create(string algName);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The default algorithm implementations might be removed, use strong type references like 'RSA.Create()' instead.")]
public static System.Security.Cryptography.DSA? Create(string algName);
public static System.Security.Cryptography.DSA Create(string algName);
[<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.DSA
static member Create : string -> System.Security.Cryptography.DSA
[<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.DSA
Public Shared Function Create (algName As String) As DSA

Parametry

algName
String

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

Návraty

DSA

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

Atributy

Poznámky

Použijte DSAnázev System.Security.Cryptography.DSA.

Viz také

Platí pro