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:
@@ -83,6 +83,7 @@ adb_shell_run base64_test
|
||||
adb_shell_run buffer_reader_test
|
||||
adb_shell_run cdm_engine_test
|
||||
adb_shell_run cdm_session_unittest
|
||||
adb_shell_run crypto_session_unittest
|
||||
adb_shell_run device_files_unittest
|
||||
adb_shell_run distribution_test
|
||||
adb_shell_run event_metric_test
|
||||
|
||||
Reference in New Issue
Block a user