Add comments to clarify client and service clock times
[ Merge of http://go/wvgerrit/120510 ] * Added some comments to clarify which clock times are computed at the client and at the provisioning service. More detail is present in the device_files.proto * Moved helper methods |SetDeviceCertificate| and |ExtractFromDeviceCertificate| from class methods to anonymous namespace * Removed some commented out code Bug: 169740403 Test: WV unit/integration Change-Id: Ic263f3dfe296fff6d9b5380b2e7c663d87022cb2
This commit is contained in:
@@ -23,8 +23,6 @@ namespace wvcdm {
|
||||
|
||||
class FileSystem;
|
||||
|
||||
using video_widevine_client::sdk::DeviceCertificate;
|
||||
|
||||
class DeviceFiles {
|
||||
public:
|
||||
typedef enum {
|
||||
@@ -282,12 +280,6 @@ class DeviceFiles {
|
||||
std::string* serial_number,
|
||||
uint32_t* system_id);
|
||||
bool HasCertificate(CertificateType certificate_type);
|
||||
bool SetDeviceCertificate(const std::string& certificate,
|
||||
const CryptoWrappedKey& wrapped_private_key,
|
||||
DeviceCertificate* mutable_device_certificate);
|
||||
bool ExtractFromDeviceCertificate(const DeviceCertificate& device_certificate,
|
||||
std::string* certificate,
|
||||
CryptoWrappedKey* wrapped_private_key);
|
||||
|
||||
// Helpers that wrap the File interface and automatically handle hashing, as
|
||||
// well as adding the device files base path to to the file name.
|
||||
|
||||
Reference in New Issue
Block a user