Compartilhar via


Revoke method of the MSFT_HgsKeyProtector class

Revokes key access for a given guardian. This operation requires access to the owner signing private key.

Syntax

uint32 Revoke(
  [in]  MSFT_HgsKeyProtector KeyProtector,
  [in]  MSFT_HgsGuardian     Guardian,
  [out] MSFT_HgsKeyProtector cmdletOutput
);

Parameters

KeyProtector [in]

An embedded instance of a MSFT_HgsKeyProtector class that represents the key protector from which access will be revoked.

Guardian [in]

An embedded instance of a MSFT_HgsGuardian class that represents the guardian whose access will be revoked.

cmdletOutput [out]

On success, returns an embedded instance of the resulting MSFT_HgsKeyProtector class.

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_HgsKeyProtector

MSFT_HgsGuardian