commit | 996c57016449dc4581752307eed14da9926eb82d | [log] [tgz] |
---|---|---|
author | Andrew Scull <ascull@google.com> | Mon Aug 21 20:11:33 2023 +0000 |
committer | Andrew Scull <ascull@google.com> | Tue Aug 22 20:58:47 2023 +0000 |
tree | 290ab1590e71fe3fdb4821cbcf7517df48fcf3ca | |
parent | e1ee1aab9f99d05ca97dee3701afb894a6129446 [diff] |
Add shell command to dump certificate chains As an aid to debugging and development, introduce a shell command to print a certificate chain that has been provisioned to a given component on the device. The certificate chain is printed as a series of PEM-encoded X.509 certificates from leaf to root. Test: adb shell cmd remote_provisioning certify default Test: atest RemoteProvisioningShellCommandTest Change-Id: I32840aa0d30157f0668a1a37abab24a01f83a750