RSA.Create Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Permite que implementações específicas de RSA sejam instanciadas.
Sobrecargas
| Name | 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 de chave especificado. |
| Create(RSAParameters) |
Cria uma nova chave RSA efémera com os parâmetros especificados da chave RSA. |
| 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
Devoluções
Uma nova instância da implementação padrão de RSA.
- Atributos
Ver 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 de 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 partes.
Devoluções
Uma nova chave RSA efémera com o tamanho especificado da chave.
- Atributos
Exceções
keySizeInBits não é suportado pela 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 especificados da chave 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
Parâmetros
- parameters
- RSAParameters
Os parâmetros para o RSA algoritmo.
Devoluções
Uma nova chave efémera RSA.
- Atributos
Exceções
parameters não representa uma chave RSA válida.
Ver também
Aplica-se a
Create(String)
- Origem:
- RSA.cs
- Origem:
- RSA.cs
- Origem:
- RSA.cs
- Origem:
- RSA.cs
- Origem:
- RSA.cs
Atenção
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
Devoluções
Uma nova instância da implementação especificada de RSA.
- Atributos