InMemorySymmetricSecurityKey.GetIVSize(String) Méthode

Définition

Obtient la taille, en bits, du vecteur d’initialisation (IV) requis pour l’algorithme de chiffrement spécifié.

public:
 override int GetIVSize(System::String ^ algorithm);
public override int GetIVSize(string algorithm);
override this.GetIVSize : string -> int
Public Overrides Function GetIVSize (algorithm As String) As Integer

Paramètres

algorithm
String

Algorithme de chiffrement pour obtenir la taille du vecteur d’initialisation (IV).

Retours

Taille, en bits, du vecteur d’initialisation (IV) requis pour l’algorithme de chiffrement spécifié dans le algorithm paramètre.

Exceptions

La fonction algorithm n'est pas prise en charge. Les algorithmes pris en charge sont TripleDesEncryption, , Aes128EncryptionAes192Encryptionet Aes256Encryption.

Remarques

Utilisez les champs qui représentent des algorithmes de chiffrement dans la SecurityAlgorithms classe pour spécifier l’algorithme.

S’applique à