RSAPKCS1KeyExchangeFormatter Konstruktorer

Definition

Initierar en ny instans av RSAPKCS1KeyExchangeFormatter klassen.

Överlagringar

Name Description
RSAPKCS1KeyExchangeFormatter()

Initierar en ny instans av RSAPKCS1KeyExchangeFormatter klassen.

RSAPKCS1KeyExchangeFormatter(AsymmetricAlgorithm)

Initierar en ny instans av RSAPKCS1KeyExchangeFormatter klassen med den angivna nyckeln.

RSAPKCS1KeyExchangeFormatter()

Initierar en ny instans av RSAPKCS1KeyExchangeFormatter klassen.

public:
 RSAPKCS1KeyExchangeFormatter();
public RSAPKCS1KeyExchangeFormatter();
Public Sub New ()

Kommentarer

Använd SetKey metoden för att ange vilken nyckel som ska användas för nyckelutbyte innan du anropar CreateKeyExchange.

Se även

Gäller för

RSAPKCS1KeyExchangeFormatter(AsymmetricAlgorithm)

Initierar en ny instans av RSAPKCS1KeyExchangeFormatter klassen med den angivna nyckeln.

public:
 RSAPKCS1KeyExchangeFormatter(System::Security::Cryptography::AsymmetricAlgorithm ^ key);
public RSAPKCS1KeyExchangeFormatter(System.Security.Cryptography.AsymmetricAlgorithm key);
new System.Security.Cryptography.RSAPKCS1KeyExchangeFormatter : System.Security.Cryptography.AsymmetricAlgorithm -> System.Security.Cryptography.RSAPKCS1KeyExchangeFormatter
Public Sub New (key As AsymmetricAlgorithm)

Parametrar

key
AsymmetricAlgorithm

Instansen av algoritmen RSA som innehåller den offentliga nyckeln.

Undantag

key är null.

Se även

Gäller för