RSAPKCS1KeyExchangeFormatter Constructores

Definición

Inicializa una nueva instancia de la clase RSAPKCS1KeyExchangeFormatter.

Sobrecargas

RSAPKCS1KeyExchangeFormatter()

Inicializa una nueva instancia de la clase RSAPKCS1KeyExchangeFormatter.

RSAPKCS1KeyExchangeFormatter(AsymmetricAlgorithm)

Inicializa una nueva instancia de la clase RSAPKCS1KeyExchangeFormatter con la clave especificada.

RSAPKCS1KeyExchangeFormatter()

Source:
RSAPKCS1KeyExchangeFormatter.cs
Source:
RSAPKCS1KeyExchangeFormatter.cs
Source:
RSAPKCS1KeyExchangeFormatter.cs

Inicializa una nueva instancia de la clase RSAPKCS1KeyExchangeFormatter.

C#
public RSAPKCS1KeyExchangeFormatter();

Comentarios

Use SetKey el método para establecer la clave que se usará para el intercambio de claves antes de llamar a CreateKeyExchange.

Consulte también

Se aplica a

.NET 10 y otras versiones
Producto Versiones
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

RSAPKCS1KeyExchangeFormatter(AsymmetricAlgorithm)

Source:
RSAPKCS1KeyExchangeFormatter.cs
Source:
RSAPKCS1KeyExchangeFormatter.cs
Source:
RSAPKCS1KeyExchangeFormatter.cs

Inicializa una nueva instancia de la clase RSAPKCS1KeyExchangeFormatter con la clave especificada.

C#
public RSAPKCS1KeyExchangeFormatter(System.Security.Cryptography.AsymmetricAlgorithm key);

Parámetros

key
AsymmetricAlgorithm

Instancia del algoritmo RSA que contiene la clave pública.

Excepciones

key es null.

Consulte también

Se aplica a

.NET 10 y otras versiones
Producto Versiones
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1