summaryrefslogtreecommitdiff
path: root/libs/androidfw/ConfigDescription.cpp
diff options
context:
space:
mode:
author Victor Hsieh <victorhsieh@google.com> 2022-10-17 14:22:56 -0700
committer Victor Hsieh <victorhsieh@google.com> 2022-10-26 09:07:35 -0700
commit66ec7b279a75ccd7ea02385d2ae4bf61bdec08d6 (patch)
treec5fd9b79d03b01e72773e75ae9eadda2ef6f6ea0 /libs/androidfw/ConfigDescription.cpp
parent8c321a708f30209379ac1ceaabe4099dc06b1a3a (diff)
Provide a method to verify a PKCS#7 signature
There is existing PKCS#7 signature used in the kernel for verifying fs-verity digest. The purpose of this change is to pave the way to migrate the existing signature check to userspace (and longer term, migrate away from PKCS#7). To mitigate the complexity of PKCS#7, only the configuration we're currently using is supported. Bug: 253668864 Test: atest FrameworksCoreTests:com.android.internal.security.VerityUtilsTest Test: Manually added some code to use the API with correct and incorrect signatures. Saw the API behave expectedly. Change-Id: I80bbbd88881303c0b9a261b1fe59e9682e43bcad
Diffstat (limited to 'libs/androidfw/ConfigDescription.cpp')
0 files changed, 0 insertions, 0 deletions