RSA.Create Método

Definição

Permite que implementações específicas RSA sejam instanciadas.

Sobrecargas

Nome Description
Create()

Cria uma instância da implementação padrão do RSA algoritmo.

Create(Int32)

Cria uma nova chave RSA efêmera com o tamanho da chave especificado.

Create(RSAParameters)

Cria uma nova chave RSA efêmera com os parâmetros de chave RSA especificados.

Create(String)
Obsoleto.

Cria uma instância da implementação especificada de RSA.

Create()

Origem:
RSA.Create.OpenSsl.cs
Origem:
RSA.Create.OpenSsl.cs
Origem:
RSA.Create.OpenSsl.cs
Origem:
RSA.Create.OpenSsl.cs
Origem:
RSA.Create.OpenSsl.cs

Cria uma instância da implementação padrão do RSA algoritmo.

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

Retornos

RSA

Uma nova instância da implementação padrão de RSA.

Atributos

Confira também

Aplica-se a

Create(Int32)

Origem:
RSA.cs
Origem:
RSA.cs
Origem:
RSA.cs
Origem:
RSA.cs
Origem:
RSA.cs

Cria uma nova chave RSA efêmera com o tamanho da chave especificado.

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

Parâmetros

keySizeInBits
Int32

O tamanho da chave, em bits.

Retornos

RSA

Uma nova chave RSA efêmera com o tamanho da chave especificado.

Atributos

Exceções

keySizeInBits não há suporte para a implementação padrão.

Aplica-se a

Create(RSAParameters)

Origem:
RSA.cs
Origem:
RSA.cs
Origem:
RSA.cs
Origem:
RSA.cs
Origem:
RSA.cs

Cria uma nova chave RSA efêmera com os parâmetros de chave RSA especificados.

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

Parâmetros

parameters
RSAParameters

Os parâmetros do RSA algoritmo.

Retornos

RSA

Uma nova chave RSA efêmera.

Atributos

Exceções

parameters não representa uma chave RSA válida.

Confira também

Aplica-se a

Create(String)

Origem:
RSA.cs
Origem:
RSA.cs
Origem:
RSA.cs
Origem:
RSA.cs
Origem:
RSA.cs

Cuidado

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

Cria uma instância da implementação especificada de 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

Parâmetros

algName
String

O nome da implementação a RSA ser usada.

Retornos

RSA

Uma nova instância da implementação especificada de RSA.

Atributos

Confira também

Aplica-se a