Sdílet prostřednictvím


SqlColumnEncryptionCertificateStoreProvider.DecryptColumnEncryptionKey Metoda

Definice

Dešifruje zadanou šifrovanou hodnotu šifrovacího klíče sloupce. Očekává se, že šifrovaná hodnota se zašifruje pomocí certifikátu se zadanou cestou klíče a zadaným algoritmem. Formát cesty ke klíči by měl být "Místní počítač/my/<certificate_thumbprint>" nebo "Aktuální uživatel/můj/<certificate_thumbprint>".

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()

Parametry

masterKeyPath
String

Cesta k hlavnímu klíči.

encryptionAlgorithm
String

Šifrovací algoritmus. V současné době je jediná platná hodnota: RSA_OAEP.

encryptedColumnEncryptionKey
Byte[]

Šifrovaný šifrovací klíč sloupce.

Návraty

Byte[]

Vrací objekt Byte.
Dešifrovaný šifrovací klíč sloupce.

Platí pro