ECDsa.Create Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Vytvoří novou instanci implementace algoritmu ECDSA (Elliptic Curve Digital Signature Algorithm).
Přetížení
| Název | Description |
|---|---|
| Create() |
Vytvoří novou instanci výchozí implementace algoritmu ECDSA (Elliptic Curve Digital Signature Algorithm). |
| Create(ECCurve) |
Vytvoří novou instanci výchozí implementace algoritmu ECDSA (Elliptic Curve Digital Signature Algorithm) s nově vygenerovaným klíčem přes zadanou křivku. |
| Create(ECParameters) |
Vytvoří novou instanci výchozí implementace algoritmu ECDSA (Elliptic Curve Digital Signature Algorithm) pomocí zadaných parametrů jako klíče. |
| Create(String) |
Zastaralé.
Vytvoří novou instanci zadané implementace algoritmu ECDSA (Elliptic Curve Digital Signature Algorithm). |
Create()
- Zdroj:
- ECDsa.Create.OpenSsl.cs
- Zdroj:
- ECDsa.Create.OpenSsl.cs
- Zdroj:
- ECDsa.Create.OpenSsl.cs
- Zdroj:
- ECDsa.Create.OpenSsl.cs
- Zdroj:
- ECDsa.Create.OpenSsl.cs
Vytvoří novou instanci výchozí implementace algoritmu ECDSA (Elliptic Curve Digital Signature Algorithm).
public:
static System::Security::Cryptography::ECDsa ^ Create();
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public static System.Security.Cryptography.ECDsa Create();
public static System.Security.Cryptography.ECDsa Create();
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
static member Create : unit -> System.Security.Cryptography.ECDsa
static member Create : unit -> System.Security.Cryptography.ECDsa
Public Shared Function Create () As ECDsa
Návraty
Nová instance výchozí implementace (ECDsaCng) této třídy.
- Atributy
Platí pro
Create(ECCurve)
- Zdroj:
- ECDsa.Create.OpenSsl.cs
- Zdroj:
- ECDsa.Create.OpenSsl.cs
- Zdroj:
- ECDsa.Create.OpenSsl.cs
- Zdroj:
- ECDsa.Create.OpenSsl.cs
- Zdroj:
- ECDsa.Create.OpenSsl.cs
Vytvoří novou instanci výchozí implementace algoritmu ECDSA (Elliptic Curve Digital Signature Algorithm) s nově vygenerovaným klíčem přes zadanou křivku.
public:
static System::Security::Cryptography::ECDsa ^ Create(System::Security::Cryptography::ECCurve curve);
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public static System.Security.Cryptography.ECDsa Create(System.Security.Cryptography.ECCurve curve);
public static System.Security.Cryptography.ECDsa Create(System.Security.Cryptography.ECCurve curve);
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
static member Create : System.Security.Cryptography.ECCurve -> System.Security.Cryptography.ECDsa
static member Create : System.Security.Cryptography.ECCurve -> System.Security.Cryptography.ECDsa
Public Shared Function Create (curve As ECCurve) As ECDsa
Parametry
- curve
- ECCurve
Křivka, která se má použít pro generování klíčů.
Návraty
Nová instance výchozí implementace (ECDsaCng) této třídy.
- Atributy
Viz také
Platí pro
Create(ECParameters)
- Zdroj:
- ECDsa.Create.OpenSsl.cs
- Zdroj:
- ECDsa.Create.OpenSsl.cs
- Zdroj:
- ECDsa.Create.OpenSsl.cs
- Zdroj:
- ECDsa.Create.OpenSsl.cs
- Zdroj:
- ECDsa.Create.OpenSsl.cs
Vytvoří novou instanci výchozí implementace algoritmu ECDSA (Elliptic Curve Digital Signature Algorithm) pomocí zadaných parametrů jako klíče.
public:
static System::Security::Cryptography::ECDsa ^ Create(System::Security::Cryptography::ECParameters parameters);
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public static System.Security.Cryptography.ECDsa Create(System.Security.Cryptography.ECParameters parameters);
public static System.Security.Cryptography.ECDsa Create(System.Security.Cryptography.ECParameters parameters);
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
static member Create : System.Security.Cryptography.ECParameters -> System.Security.Cryptography.ECDsa
static member Create : System.Security.Cryptography.ECParameters -> System.Security.Cryptography.ECDsa
Public Shared Function Create (parameters As ECParameters) As ECDsa
Parametry
- parameters
- ECParameters
Parametry představující klíč, který se má použít.
Návraty
Nová instance výchozí implementace (ECDsaCng) této třídy.
- Atributy
Viz také
Platí pro
Create(String)
- Zdroj:
- ECDsa.cs
- Zdroj:
- ECDsa.cs
- Zdroj:
- ECDsa.cs
- Zdroj:
- ECDsa.cs
- Zdroj:
- ECDsa.cs
Upozornění
Cryptographic factory methods accepting an algorithm name are obsolete. Use the parameterless Create factory method on the algorithm type instead.
Vytvoří novou instanci zadané implementace algoritmu ECDSA (Elliptic Curve Digital Signature Algorithm).
public:
static System::Security::Cryptography::ECDsa ^ Create(System::String ^ algorithm);
[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.ECDsa? Create(string algorithm);
public static System.Security.Cryptography.ECDsa? Create(string algorithm);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The default algorithm implementations might be removed, use strong type references like 'RSA.Create()' instead.")]
public static System.Security.Cryptography.ECDsa? Create(string algorithm);
public static System.Security.Cryptography.ECDsa Create(string algorithm);
[<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.ECDsa
static member Create : string -> System.Security.Cryptography.ECDsa
[<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.ECDsa
Public Shared Function Create (algorithm As String) As ECDsa
Parametry
- algorithm
- String
Název implementace ECDSA. Všechny následující řetězce odkazují na stejnou implementaci, což je jediná implementace aktuálně podporovaná v .NET Frameworku:
"ECDsa"
"ECDsaCng"
"System.Security.Cryptography.ECDsaCng"
Můžete také zadat název vlastní implementace ECDSA.
Návraty
Nová instance zadané implementace této třídy. Pokud zadaný název algoritmu nenamapuje na implementaci ECDSA, vrátí tato metoda null.
- Atributy
Výjimky
Parametr algorithm je null.
Poznámky
Pokud vyvíjíte vlastní implementaci objektu ECDsa , můžete pomocí Create(String) přetížení metody vytvořit vlastní algorithm řetězec, který určuje vaši implementaci.
Pokud pro parametr zadáte vlastní hodnotu algorithm , objekt ho použije k určení, CryptoConfig zda lze vytvořit objekt ECDSA.