EncryptedXml.GetDecryptionIV(EncryptedData, String) メソッド

定義

EncryptedData オブジェクトから復号化初期化ベクター (IV: initialization vector) を取得します。

public:
 virtual cli::array <System::Byte> ^ GetDecryptionIV(System::Security::Cryptography::Xml::EncryptedData ^ encryptedData, System::String ^ symmetricAlgorithmUri);
public virtual byte[] GetDecryptionIV (System.Security.Cryptography.Xml.EncryptedData encryptedData, string symmetricAlgorithmUri);
public virtual byte[] GetDecryptionIV (System.Security.Cryptography.Xml.EncryptedData encryptedData, string? symmetricAlgorithmUri);
abstract member GetDecryptionIV : System.Security.Cryptography.Xml.EncryptedData * string -> byte[]
override this.GetDecryptionIV : System.Security.Cryptography.Xml.EncryptedData * string -> byte[]
Public Overridable Function GetDecryptionIV (encryptedData As EncryptedData, symmetricAlgorithmUri As String) As Byte()

パラメーター

encryptedData
EncryptedData

取得する初期化ベクター (IV) を格納している EncryptedData オブジェクト。

symmetricAlgorithmUri
String

encryptedData 値に関連付けられている暗号アルゴリズムを記述する URI (Uniform Resource Identifier)。

戻り値

Byte[]

復号化初期化ベクター (IV) を格納するバイト配列。

例外

encryptedData パラメーターの値が null です。

encryptedData パラメーター値の EncryptionMethod プロパティが null です。

- または -

symmetricAlgorithmUrisymAlgUri パラメーターの値が、サポートされているアルゴリズムではありません。

注釈

オブジェクトを指定すると EncryptedData 、このメソッドは復号化初期化ベクトル (IV) を取得します。 既定の動作では、IV がバイト配列の最初の CipherValue バイトとして取得されます。

パラメーターで symmetricAlgorithmUri サポートされる UNIFORM Resource Identifier (URI) 値の一覧については、 クラスに関連付けられている定数フィールドの一覧を EncryptedXml 参照してください。

適用対象