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

정의

지정한 암호화된 키를 해독합니다.

public:
 override cli::array <System::Byte> ^ DecryptKey(System::String ^ algorithm, cli::array <System::Byte> ^ keyData);
public override byte[] DecryptKey (string algorithm, byte[] keyData);
override this.DecryptKey : string * byte[] -> byte[]
Public Overrides Function DecryptKey (algorithm As String, keyData As Byte()) As Byte()

매개 변수

algorithm
String

키를 암호화하는 데 사용된 암호화 알고리즘입니다.

keyData
Byte[]

암호화된 키를 포함하는 Byte의 배열입니다.

반환

Byte[]

해독된 키를 포함하는 Byte의 배열입니다.

예외

algorithm은 지원되지 않습니다. 지원되는 알고리즘은 TripleDesKeyWrap, Aes128KeyWrap, Aes192KeyWrapAes256KeyWrap입니다.

설명

알고리즘을 지정하려면 SecurityAlgorithms 클래스의 정적 필드를 사용합니다.

적용 대상