SqlColumnEncryptionCngProvider.DecryptColumnEncryptionKey メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
キー パスと指定したアルゴリズムで指定された非対称キーを使用して、指定された暗号化された値を復号化します。 キー パスは [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[]
復号化された列暗号化キー。