InMemorySymmetricSecurityKey.GetEncryptionTransform(String, Byte[]) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定した暗号化アルゴリズムを使用して XML を暗号化する変換を取得します。
public:
override System::Security::Cryptography::ICryptoTransform ^ GetEncryptionTransform(System::String ^ algorithm, cli::array <System::Byte> ^ iv);
public override System.Security.Cryptography.ICryptoTransform GetEncryptionTransform(string algorithm, byte[] iv);
override this.GetEncryptionTransform : string * byte[] -> System.Security.Cryptography.ICryptoTransform
Public Overrides Function GetEncryptionTransform (algorithm As String, iv As Byte()) As ICryptoTransform
パラメーター
- algorithm
- String
XML を暗号化する暗号化アルゴリズム。
返品
暗号化変換を表す ICryptoTransform 。
例外
algorithm はサポートされません。 サポートされているアルゴリズムは、 TripleDesEncryption、 Aes128Encryption、 Aes192Encryption、および Aes256Encryptionです。
注釈
SecurityAlgorithms クラスの暗号化アルゴリズムを表すフィールドを使用して、アルゴリズムを指定します。