[test] Check vm attestation certificate chain in CTS tests
This cl also contains a refactoring that moves the X509
verification methods for AVF e2e tests to an independent
library. The new library no longer depends on rkpd for
certificates verification.
This refactoring allows us to reuse these methods within CTS
tests for VM attestation.
Bug: 330662600
Test: atest AvfRkpdVmAttestationTestApp
Change-Id: I1c0e94c08d8c61c6221685783e7cea28c0a19740
diff --git a/tests/testapk/Android.bp b/tests/testapk/Android.bp
index 1ed48d0..84bf098 100644
--- a/tests/testapk/Android.bp
+++ b/tests/testapk/Android.bp
@@ -39,6 +39,7 @@
srcs: ["src/java/**/*.java"],
static_libs: [
"MicrodroidDeviceTestHelper",
+ "VmAttestationTestUtil",
"androidx.test.runner",
"androidx.test.ext.junit",
"authfs_test_apk_assets",