SqlColumnEncryptionCspProvider.EncryptColumnEncryptionKey 方法        
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
通过使用由密钥路径和指定算法所指定的非对称密钥,对给定的纯文本列加密密钥进行加密。 密钥路径将采用格式 [ProviderName]/ KeyIdentifier,并且应为存储在指定 CSP 提供程序中的非对称密钥。 用于加密/解密 CEK 的有效算法是“RSA_OAEP”。
public:
 override cli::array <System::Byte> ^ EncryptColumnEncryptionKey(System::String ^ masterKeyPath, System::String ^ encryptionAlgorithm, cli::array <System::Byte> ^ columnEncryptionKey);
	public override byte[] EncryptColumnEncryptionKey(string masterKeyPath, string encryptionAlgorithm, byte[] columnEncryptionKey);
	override this.EncryptColumnEncryptionKey : string * string * byte[] -> byte[]
	Public Overrides Function EncryptColumnEncryptionKey (masterKeyPath As String, encryptionAlgorithm As String, columnEncryptionKey As Byte()) As Byte()
	参数
- masterKeyPath
 - String
 
主密钥路径。
- encryptionAlgorithm
 - String
 
加密算法。
- columnEncryptionKey
 - Byte[]
 
纯文本列加密密钥。
返回
		Byte[]
		
	
	加密的列加密密钥。