Get-HgsAttestationSignerCertificate

Gets the public certificates for a key pair that attestation uses to sign attestation certificates.

Syntax

Get-HgsAttestationSignerCertificate []

Description

The Get-HgsAttestationSignerCertificate cmdlet gets the signer certificate for Host Guardian Service (HGS) attestation. The Attestation Service signs attestation certificates by using a key pair. This cmdlet gets the public certificate that corresponds to that key pair.

Examples

Example 1: Get signer certificates

PS C:\> Get-HgsAttestationSignerCertificate

This command gets Attestation Service signer certificates.

Outputs

System.Security.Cryptography.X509Certificates.X509Certificate2

This cmdlet returns an X.509 certificate.