SqlColumnEncryptionAzureKeyVaultProvider.EncryptColumnEncryptionKey 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
此函式會使用金鑰路徑所指定的非對稱金鑰,並使用 RSA 加密演算法加密 CEK。
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
Azure 金鑰保存庫中非對稱金鑰的完整路徑
- encryptionAlgorithm
- String
非對稱金鑰加密演算法
- columnEncryptionKey
- Byte[]
純文字資料行加密金鑰。
傳回
Byte[]
加密的資料行加密金鑰