Maybe this will help
Is there any API to get public part of Endorsement Key(EK) of TPM?
Rahul K
51
Reputation points
- How to get EK or public EK of TPM?
- We are able to get the public key hash using powershell command: get-tpmendorsementkeyinfo -hash "Sha256"
- Is there any API in C# or C++ to get public key hash of EK.
We are planning to use this EK to uniquely identify a device, as each device has a unique EK.
reference: Stackoverflow question about using TPM as a device fingerprint
2 answers
Sort by: Most helpful
-
-
Sander van de Velde | MVP 32,641 Reputation points MVP
2022-01-02T22:53:41.703+00:00 Hello anonymous user-5396 ,
The TPM is supported for securing the IoT connection with the Azure Device provisioning service resource.
A programming sample in C# for this communication solution is seen here.
This is part of a bigger story of course (where the Azure IoT Edge runtime will complete the full enrollment circle).
Still, this could be your starting point for getting an endorsement key.