RSA.Create Método
Definição
Sobrecargas
| Create() |
Cria uma instância da implementação padrão do algoritmo RSA.Creates an instance of the default implementation of the RSA algorithm. |
| Create(Int32) |
Cria uma nova chave RSA efêmera com o tamanho da chave especificado.Creates a new ephemeral RSA key with the specified key size. |
| Create(RSAParameters) |
Cria uma nova chave RSA efêmera com os parâmetros de chave RSA especificados.Creates a new ephemeral RSA key with the specified RSA key parameters. |
| Create(String) |
Cria uma nova instância da implementação especificada de RSA.Creates an instance of the specified implementation of RSA. |
Create()
public:
static System::Security::Cryptography::RSA ^ Create();
public static System.Security.Cryptography.RSA Create ();
static member Create : unit -> System.Security.Cryptography.RSA
Public Shared Function Create () As RSA
Retornos
Uma nova instância da implementação padrão do RSA.A new instance of the default implementation of RSA.
Aplica-se a
Create(Int32)
Cria uma nova chave RSA efêmera com o tamanho da chave especificado.Creates a new ephemeral RSA key with the specified key size.
public:
static System::Security::Cryptography::RSA ^ Create(int keySizeInBits);
public static System.Security.Cryptography.RSA Create (int keySizeInBits);
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.The key size, in bits.
Retornos
Uma nova chave RSA efêmera com o tamanho da chave especificado.A new ephemeral RSA key with the specified key size.
Exceções
Não há suporte para keySizeInBits na implementação padrão.keySizeInBits is not supported by the default implementation.
Aplica-se a
Create(RSAParameters)
Cria uma nova chave RSA efêmera com os parâmetros de chave RSA especificados.Creates a new ephemeral RSA key with the specified RSA key parameters.
public:
static System::Security::Cryptography::RSA ^ Create(System::Security::Cryptography::RSAParameters parameters);
public static System.Security.Cryptography.RSA Create (System.Security.Cryptography.RSAParameters parameters);
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 algoritmo RSA.The parameters for the RSA algorithm.
Retornos
Uma nova chave RSA efêmera.A new ephemeral RSA key.
Exceções
parameters não representa uma chave RSA válida.parameters does not represent a valid RSA key.
Confira também
Aplica-se a
Create(String)
public:
static System::Security::Cryptography::RSA ^ Create(System::String ^ algName);
public static System.Security.Cryptography.RSA? Create (string algName);
public static System.Security.Cryptography.RSA Create (string algName);
static member Create : string -> System.Security.Cryptography.RSA
Public Shared Function Create (algName As String) As RSA
Parâmetros
Retornos
Uma nova instância da implementação especificada de RSA.A new instance of the specified implementation of RSA.