次の方法で共有


InMemorySymmetricSecurityKey.GetIVSize(String) メソッド

定義

指定した暗号アルゴリズムに必要な初期化ベクトル (IV) のサイズ (ビット数) を取得します。

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

パラメーター

algorithm
String

初期化ベクトル (IV) のサイズを取得する暗号アルゴリズム。

戻り値

IV パラメーターで指定した暗号アルゴリズムに必要な初期化ベクトル (algorithm) のサイズ (ビット数)。

例外

algorithm がサポートされていません。 サポートされるアルゴリズムは、TripleDesEncryptionAes128EncryptionAes192Encryption、および Aes256Encryption です。

注釈

SecurityAlgorithms クラス内の暗号アルゴリズムを表すフィールドを使用してこのアルゴリズムを指定します。

適用対象