Add Property for Provisioning ID
Adds a property that allows applications to get the provisioning-unique serial number. Bug: 9175567 Also fixes some missing mutexes that were causing intermittent failures in calls to OEMCrypto due to concurrency issues. Bug: 9175583 Merge of https://widevine-internal-review.googlesource.com/#/c/5831/ from the Widevine CDM repository Change-Id: I1d7e3ca9f3b06da345022f5f0d64e0c17a5cedca
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#define CDM_BASE_CRYPTO_ENGINE_H_
|
||||
|
||||
#include <stdint.h>
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
#include "crypto_session.h"
|
||||
@@ -51,6 +52,7 @@ class CryptoEngine {
|
||||
SecurityLevel GetSecurityLevel();
|
||||
bool GetDeviceUniqueId(std::string* deviceId);
|
||||
bool GetSystemId(uint32_t* systemId);
|
||||
bool GetProvisioningId(std::string* provisioningId);
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user