Merge "Separate key session SelectKey methods"

This commit is contained in:
Srujan Gaddam
2019-02-27 01:18:18 +00:00
committed by Android (Google) Code Review
2 changed files with 33 additions and 18 deletions

View File

@@ -44,7 +44,10 @@ class EntitlementKeySession : public ContentKeySession {
OEMCrypto_EntitledContentKeyObject MakeOecEntitledKey(
const CryptoKey& input_key, std::string& message);
std::map<std::string, CryptoKey> entitled_keys_;
// Find the CryptoKey for the given entitled content key id.
std::map<KeyId, CryptoKey> entitled_keys_;
// Find the current entitled content key id for the given entitlement key id.
std::map<KeyId, KeyId> current_loaded_content_keys_;
};
} // namespace wvcdm