Merge "Add DRM reprovisioning request generation" into main

This commit is contained in:
Rahul Frias
2024-03-20 17:24:36 +00:00
committed by Android (Google) Code Review
16 changed files with 164 additions and 7 deletions

View File

@@ -112,6 +112,9 @@ class CryptoSession {
// Only valid for OEM certificate-based based devices.
virtual CdmResponseType GetTokenFromOemCert(
RequestedSecurityLevel requested_security_level, std::string* oem_cert);
// Retrieves the embedded public certificate from OEMCrypto.
// Only valid for L3 devices with embedded (baked-in) certificates.
virtual CdmResponseType GetTokenFromEmbeddedCertificate(std::string* token);
// The overloaded methods with |requested_level| may be called
// without a preceding call to Open. The other method must call Open first.