Comparteix a través de


DSA.Create Método

Definición

Crea un objeto criptográfico para realizar el algoritmo asimétrico.

Sobrecargas

Create()

Crea un objeto criptográfico predeterminado para realizar el algoritmo asimétrico.

Create(Int32)

Crea una clave DSA efímera con el tamaño de clave especificado.

Create(DSAParameters)

Crea una clave DSA efímera con los parámetros de clave DSA especificados.

Create(String)
Obsoletos.

Crea un objeto criptográfico predeterminado para realizar el algoritmo asimétrico.

Create()

Source:
DSA.cs
Source:
DSA.cs
Source:
DSA.cs

Crea un objeto criptográfico predeterminado para realizar el algoritmo asimétrico.

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

Devoluciones

DSA

Crea un objeto criptográfico para realizar el algoritmo asimétrico.

Atributos

Consulte también

Se aplica a

Create(Int32)

Source:
DSA.cs
Source:
DSA.cs
Source:
DSA.cs

Crea una clave DSA efímera con el tamaño de clave especificado.

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

Parámetros

keySizeInBits
Int32

Tamaño de la clave (en bits).

Devoluciones

DSA

Clave DSA efímera con el tamaño de clave especificado.

Atributos

Excepciones

keySizeInBits no tiene el permiso de LegalKeySizes.

Se aplica a

Create(DSAParameters)

Source:
DSA.cs
Source:
DSA.cs
Source:
DSA.cs

Crea una clave DSA efímera con los parámetros de clave DSA especificados.

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

Parámetros

parameters
DSAParameters

Parámetros del algoritmo DSA.

Devoluciones

DSA

Nueva clave DSA efímera.

Atributos

Se aplica a

Create(String)

Source:
DSA.cs
Source:
DSA.cs
Source:
DSA.cs

Precaución

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

Crea un objeto criptográfico predeterminado para realizar el algoritmo asimétrico.

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

Parámetros

algName
String

Nombre de la implementación específica de DSA que se va a utilizar.

Devoluciones

DSA

Crea un objeto criptográfico para realizar el algoritmo asimétrico.

Atributos

Comentarios

Para DSA, use el nombre System.Security.Cryptography.DSA.

Consulte también

Se aplica a