PbeParameters(PbeEncryptionAlgorithm, HashAlgorithmName, Int32) Konstruktor
Definicja
Ważny
Niektóre informacje dotyczą produktów przedpremierowych, które mogą zostać znacznie zmodyfikowane przed premierą. Microsoft nie udziela żadnych gwarancji, ani wyraźnych, ani domniemanych, dotyczących informacji podanych tutaj.
Inicjuje nowe wystąpienie klasy PbeParameters.
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)
Parametry
- encryptionAlgorithm
- PbeEncryptionAlgorithm
Algorytm do użycia podczas szyfrowania danych.
- hashAlgorithm
- HashAlgorithmName
Nazwa algorytmu wyznaczania wartości skrótu do użycia z funkcją wyprowadzania kluczy (KDF) w celu przekształcenia hasła w klucz szyfrowania.
- iterationCount
- Int32
Liczba iteracji w celu udostępnienia funkcji wyprowadzania kluczy (KDF) w celu przekształcenia hasła w klucz szyfrowania.
Wyjątki
iterationCount wartość jest mniejsza niż 1.