Jazyk

RSA.Create Metoda

Definice

Umožňuje vytvoření instance konkrétních implementací RSA .

Přetížení

Název Description
Create()

Vytvoří instanci výchozí implementace RSA algoritmu.

Create(Int32)

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

Create(RSAParameters)

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

Create(String)
Zastaralé.

Vytvoří instanci zadané implementace RSA.

Create()

Zdroj:
RSA.Create.OpenSsl.cs
Zdroj:
RSA.Create.OpenSsl.cs
Zdroj:
RSA.Create.OpenSsl.cs
Zdroj:
RSA.Create.OpenSsl.cs
Zdroj:
RSA.Create.OpenSsl.cs

Vytvoří instanci výchozí implementace RSA algoritmu.

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

Návraty

RSA

Nová instance výchozí implementace RSA.

Atributy

Viz také

Platí pro

Create(Int32)

Zdroj:
RSA.cs
Zdroj:
RSA.cs
Zdroj:
RSA.cs
Zdroj:
RSA.cs
Zdroj:
RSA.cs

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

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

Parametry

keySizeInBits
Int32

Velikost klíče v bitech.

Návraty

RSA

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

Atributy

Výjimky

keySizeInBits není podporována výchozí implementací.

Platí pro

Create(RSAParameters)

Zdroj:
RSA.cs
Zdroj:
RSA.cs
Zdroj:
RSA.cs
Zdroj:
RSA.cs
Zdroj:
RSA.cs

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

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

Parametry

parameters
RSAParameters

Parametry algoritmu RSA .

Návraty

RSA

Nový dočasný klíč RSA.

Atributy

Výjimky

parameters nepředstavuje platný klíč RSA.

Viz také

Platí pro

Create(String)

Zdroj:
RSA.cs
Zdroj:
RSA.cs
Zdroj:
RSA.cs
Zdroj:
RSA.cs
Zdroj:
RSA.cs

Upozornění

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

Vytvoří instanci zadané implementace RSA.

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

Parametry

algName
String

Název implementace RSA , která se má použít.

Návraty

RSA

Nová instance zadané implementace RSA.

Atributy

Viz také

Platí pro