-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The EK Certificate chain can be stored in the NVRAM Indexes ranging f…
…rom 0x01c00100 to 0x01c001ff, with the certificates stored concatenated in DER format. If handles within this specified range are present, the following steps will be executed: 1. The content of all NV handles will be collected into a vector. 2. The content of the vector will be split into individual certificates. 3. Each certificate will be converted to PEM format. 4. The resulting PEM certificate chain will be provided as the 'ek_ca_chain' attribute to the registrar. I appreciate any feedback, as I have no experience with the Rust programming language.
- Loading branch information
Showing
3 changed files
with
142 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters