Entitlement rotation support

Updates also include:
- Add APIs to query current Simulcrypt channel & stream status;
- EMM format change (used only to carry fingerprinting and service
blocking info);
- Key fetcher example to use curl key fetcher.
This commit is contained in:
Lu Chen
2021-06-29 14:51:49 -07:00
parent f04e15c48c
commit b3a5fff77d
42 changed files with 1425 additions and 876 deletions

View File

@@ -105,6 +105,7 @@ cc_library(
":status",
"//base",
"//external:protobuf",
"@abseil_repo//absl/strings",
"@abseil_repo//absl/synchronization",
"//protos/public:client_identification_cc_proto",
"//protos/public:device_certificate_status_cc_proto",
@@ -134,6 +135,7 @@ cc_test(
"//external:protobuf",
"//testing:gunit_main",
"@abseil_repo//absl/memory",
"@abseil_repo//absl/strings",
"//protos/public:device_common_cc_proto",
"//protos/public:device_security_profile_data_cc_proto",
"//protos/public:device_security_profile_list_cc_proto",
@@ -305,6 +307,7 @@ cc_library(
"@abseil_repo//absl/memory",
"@abseil_repo//absl/strings",
"@abseil_repo//absl/synchronization",
"@abseil_repo//absl/time",
"//protos/public:drm_certificate_cc_proto",
"//protos/public:errors_cc_proto",
"//protos/public:signed_drm_certificate_cc_proto",
@@ -1046,6 +1049,25 @@ cc_library(
],
)
cc_library(
name = "policy_verifier",
srcs = ["policy_verifier.cc"],
hdrs = ["policy_verifier.h"],
deps = [
"//protos/public:license_protocol_cc_proto",
],
)
cc_test(
name = "policy_verifier_test",
srcs = ["policy_verifier_test.cc"],
deps = [
":policy_verifier",
"//testing:gunit_main",
"//protos/public:license_protocol_cc_proto",
],
)
cc_test(
name = "output_protection_util_test",
srcs = ["output_protection_util_test.cc"],
@@ -1150,6 +1172,7 @@ cc_library(
":sha_util",
"//base",
"@abseil_repo//absl/strings",
"//common/oemcrypto_core_message/odk",
"//common/oemcrypto_core_message/odk:kdo",
],
)
@@ -1161,6 +1184,9 @@ cc_test(
":core_message_util",
"//testing:gunit_main",
"@abseil_repo//absl/strings",
"//common/oemcrypto_core_message/odk",
"//protos/public:certificate_provisioning_cc_proto",
"//protos/public:license_protocol_cc_proto",
],
)