Get System ID From OEM Cert
(This is a merge from http://go/wvgerrit/30220) Previously, extracting the system ID was only supported on Keybox-based systems. This patch adds support for extracting the system ID from the OEM Certificate chain on Provisioning 3.0 devices. This is done by getting the Widevine intermediate cert from the chain, finding the Widevine System ID extension in that cert, and extracting the value. The code that does the extraction is separate from any code that calls OEMCrypto so that it can be unit-tested in isolation. This patch adds a crypto_session_unittest test to do this unit-testing. Bug: 34776194 Test: crypto_session_unittest Change-Id: I3e273968208fb31ae6019ccc383b419625d1ae22
This commit is contained in:
@@ -81,6 +81,7 @@ try_adb_push cdm_engine_test
|
||||
try_adb_push cdm_feature_test
|
||||
try_adb_push cdm_extended_duration_test
|
||||
try_adb_push cdm_session_unittest
|
||||
try_adb_push crypto_session_unittest
|
||||
try_adb_push device_files_unittest
|
||||
try_adb_push distribution_test
|
||||
try_adb_push event_metric_test
|
||||
|
||||
Reference in New Issue
Block a user