Get-TpmEndorsementKeyInfo

Get-TpmEndorsementKeyInfo

Gets information about the endorsement key and certificates of the TPM.

구문

Parameter Set: Default
Get-TpmEndorsementKeyInfo [[-HashAlgorithm] <String> ] [ <CommonParameters>]

자세한 설명

The Get-TpmEndorsementKeyInfo cmdlet gets information about the endorsement public key and certificates of the Trusted Platform Module (TPM).

매개 변수

-HashAlgorithm<String>

Specifies the hash algorithm used for the public key. 이 매개 변수에 허용되는 값은 다음과 같습니다. Sha256.

별칭

없음

필수 여부

false

위치

2

기본값

없음

파이프라인 입력 적용 여부

True (ByValue)

와일드카드 문자 허용 여부

false

<CommonParameters>

이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).

입력

입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.

  • String

    This accepts the name of the algorithm, as a string, used to hash the public key. Sha256 is the only supported algorithm.

출력

출력 유형은 cmdlet이 내보내는 개체의 유형입니다.

  • EndorsementKeyObject

    This cmdlet generates an EndorsementKeyObject that contains the following members:

    -- IsPresent. A Boolean that represents whether the endorsement public key is known to the operating system.
    -- PublicKey. An AsnEncodedData object that contains the asn.1 encoded public portion of the endorsement key.
    -- PublicKeyHash. The hash, as a String, of the public key if the cmdlet used a hash algorithm.
    -- ManufacturerCertificates. A X509Certificate2Collection object that contains the manufacturer endorsement key certificates. This object can contain the manufacturer and platform certificates.
    -- AdditionalCertificates. A X509Certificate2Collection object that contains a collection of additional endorsement key certificates that are registered to the operating system, such as any enterprise certificates.

예제

Example 1: Get endorsement key information

This command gets information about the endorsement key of the TPM. The command uses the Sha256 algorithm to hash the public key.

PS C:\> Get-TpmEndorsementKeyInfo -Hash "Sha256"