次の方法で共有


NewByGenerateCertificates method of the MSFT_HgsGuardian class

Creates a guardian and a self-signed encryption certificate.

Syntax

uint32 NewByGenerateCertificates(
  [in]  string           Name,
  [in]  boolean          GenerateCertificates,
  [out] MSFT_HgsGuardian cmdletOutput
);

Parameters

Name [in]

A name to associate with this guardian when it is persisted to the guardian store.

GenerateCertificates [in]

Generates self-signed signing encryption certificates for the guardian that contain the public and private keys.

cmdletOutput [out]

On success, returns a MSFT_HgsGuardian instance containing the new guardian object.

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_HgsGuardian