Partager via


DecryptDataWithKeyProtector method of the MSFT_HgsKeyProtectorOperations class

Decrypts data by using a supplied key protector.

Syntax

uint32 DecryptDataWithKeyProtector(
  [in]  uint8 BaseKeyProtector[],
  [in]  uint8 EncryptedData[],
  [out] uint8 PlaintextData[]
);

Parameters

BaseKeyProtector [in]

The key protector desired for the data.

EncryptedData [in]

The encrypted data.

PlaintextData [out]

The decrypted data.

Requirements

Minimum supported client
Windows 10 [desktop apps only]
Minimum supported server
Windows Server 2016
Namespace
Root\Microsoft\Windows\Hgs
MOF
HgsClientWmi.mof
DLL
HgsClientWmi.dll

See also

MSFT_HgsKeyProtectorOperations