SqlColumnEncryptionCngProvider.DecryptColumnEncryptionKey 메서드

정의

키 경로에 지정된 비대칭 키와 지정된 알고리즘을 사용하여 지정된 암호화된 값의 암호를 해독합니다. 키 경로의 형식은 [ProviderName]/KeyIdentifier이며 지정된 CNG 키 저장소 공급자에 저장된 비대칭 키여야 합니다. CEK를 암호화하고 암호 해독하는 데 사용되는 유효한 알고리즘은 ‘RSA_OAEP’입니다.

public:
 override cli::array <System::Byte> ^ DecryptColumnEncryptionKey(System::String ^ masterKeyPath, System::String ^ encryptionAlgorithm, cli::array <System::Byte> ^ encryptedColumnEncryptionKey);
public override byte[] DecryptColumnEncryptionKey (string masterKeyPath, string encryptionAlgorithm, byte[] encryptedColumnEncryptionKey);
override this.DecryptColumnEncryptionKey : string * string * byte[] -> byte[]
Public Overrides Function DecryptColumnEncryptionKey (masterKeyPath As String, encryptionAlgorithm As String, encryptedColumnEncryptionKey As Byte()) As Byte()

매개 변수

masterKeyPath
String

마스터 키 경로입니다.

encryptionAlgorithm
String

암호화 알고리즘입니다.

encryptedColumnEncryptionKey
Byte[]

암호화된 열 암호화 키입니다.

반환

Byte[]

암호 해독된 열 암호화 키입니다.

적용 대상