PbeParameters(PbeEncryptionAlgorithm, HashAlgorithmName, Int32) Konstruktor

Definition

Initialisiert eine neue Instanz der PbeParameters-Klasse.

public:
 PbeParameters(System::Security::Cryptography::PbeEncryptionAlgorithm encryptionAlgorithm, System::Security::Cryptography::HashAlgorithmName hashAlgorithm, int iterationCount);
public PbeParameters(System.Security.Cryptography.PbeEncryptionAlgorithm encryptionAlgorithm, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, int iterationCount);
new System.Security.Cryptography.PbeParameters : System.Security.Cryptography.PbeEncryptionAlgorithm * System.Security.Cryptography.HashAlgorithmName * int -> System.Security.Cryptography.PbeParameters
Public Sub New (encryptionAlgorithm As PbeEncryptionAlgorithm, hashAlgorithm As HashAlgorithmName, iterationCount As Integer)

Parameter

encryptionAlgorithm
PbeEncryptionAlgorithm

Der Algorithmus, der beim Verschlüsseln von Daten verwendet werden soll.

hashAlgorithm
HashAlgorithmName

Der Name eines Hashalgorithmus, der mit der Key Derivation Function (KDF) verwendet werden soll, um ein Kennwort in einen Verschlüsselungsschlüssel umzuwandeln.

iterationCount
Int32

Die Iterationsanzahl, die der Key-Ableitungsfunktion (Key Derivation Function, KDF) zur Verfügung gestellt werden soll, um ein Kennwort in einen Verschlüsselungsschlüssel umzuwandeln.

Ausnahmen

iterationCount ist kleiner als 1.

Gilt für: