DSA.Create Metoda

Definicja

Tworzy obiekt kryptograficzny używany do wykonywania algorytmu asymetrycznego.

Przeciążenia

Nazwa Opis
Create()

Tworzy domyślny obiekt kryptograficzny używany do wykonywania algorytmu asymetrycznego.

Create(Int32)

Tworzy nowy efemeryczny klucz DSA o określonym rozmiarze klucza.

Create(DSAParameters)

Tworzy nowy efemeryczny klucz DSA z określonymi parametrami klucza DSA.

Create(String)
Przestarzałe.

Tworzy określony obiekt kryptograficzny używany do wykonywania algorytmu asymetrycznego.

Create()

Źródło:
DSA.cs
Źródło:
DSA.cs
Źródło:
DSA.cs
Źródło:
DSA.cs
Źródło:
DSA.cs

Tworzy domyślny obiekt kryptograficzny używany do wykonywania algorytmu asymetrycznego.

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

Zwraca

DSA

Obiekt kryptograficzny używany do wykonywania algorytmu asymetrycznego.

Atrybuty

Zobacz też

Dotyczy

Create(Int32)

Źródło:
DSA.cs
Źródło:
DSA.cs
Źródło:
DSA.cs
Źródło:
DSA.cs
Źródło:
DSA.cs

Tworzy nowy efemeryczny klucz DSA o określonym rozmiarze klucza.

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

Rozmiar klucza w bitach.

Zwraca

DSA

Nowy efemeryczny klucz DSA o określonym rozmiarze klucza.

Atrybuty

Wyjątki

keySizeInBits program nie jest dozwolony przez LegalKeySizes.

Dotyczy

Create(DSAParameters)

Źródło:
DSA.cs
Źródło:
DSA.cs
Źródło:
DSA.cs
Źródło:
DSA.cs
Źródło:
DSA.cs

Tworzy nowy efemeryczny klucz DSA z określonymi parametrami klucza 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 algorytmu DSA .

Zwraca

DSA

Nowy efemeryczny klucz DSA.

Atrybuty

Dotyczy

Create(String)

Źródło:
DSA.cs
Źródło:
DSA.cs
Źródło:
DSA.cs
Źródło:
DSA.cs
Źródło:
DSA.cs

Uwaga

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

Tworzy określony obiekt kryptograficzny używany do wykonywania algorytmu asymetrycznego.

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

Nazwa konkretnej implementacji DSA do użycia.

Zwraca

DSA

Obiekt kryptograficzny używany do wykonywania algorytmu asymetrycznego.

Atrybuty

Uwagi

W przypadku DSAprogramu użyj nazwy System.Security.Cryptography.DSA.

Zobacz też

Dotyczy