次の方法で共有


NewByCertificateThumbprints method of the MSFT_HgsGuardian class

Creates a new guardian by using the certificates identified by the specified thumbprints.

Syntax

uint32 NewByCertificateThumbprints(
  [in]  string           Name,
  [in]  string           SigningCertificateThumbprint,
  [in]  string           EncryptionCertificateThumbprint,
  [in]  boolean          AllowExpired,
  [in]  boolean          AllowUntrustedRoot,
  [out] MSFT_HgsGuardian cmdletOutput
);

Parameters

Name [in]

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

SigningCertificateThumbprint [in]

The thumbprint of the signing certificate, for the guardian, containing the public and private keys.

EncryptionCertificateThumbprint [in]

The thumbprint of the encryption certificate, for the guardian, containing the public and private keys.

AllowExpired [in]

When specified allows new guardian creation with certificates that are expired.

AllowUntrustedRoot [in]

When specified allows new guardian to be created using self-signed certificates.

cmdletOutput [out]

An MSFT_HgsGuardian that contains the new guardian object.

Return value

TBD

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