InMemorySymmetricSecurityKey.GetEncryptionTransform(String, Byte[]) 메서드

정의

지정된 암호화 알고리즘을 사용하여 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을 암호화하는 암호화 알고리즘입니다.

iv
Byte[]

지정된 알고리즘에 Byte 대한 초기화 벡터(IV)가 포함된 배열입니다.

반품

ICryptoTransform 암호화 변환을 나타내는 값입니다.

예외

algorithm은 지원되지 않습니다. 지원되는 알고리즘은 TripleDesEncryption, Aes128EncryptionAes192EncryptionAes256Encryption.

설명

클래스의 암호화 알고리즘을 SecurityAlgorithms 나타내는 필드를 사용하여 알고리즘을 지정합니다.

적용 대상