Validate Service Certificates Before Accepting Them
(This is a merge of http://go/wvgerrit/14630) To create a better flow when an application sets a service certificate manually, we will now validate the certificate when it is given to us, and if it is invalid, we will not allow the property to be set. Bug: 21307186 Change-Id: If980ad075604223fc962a859fae93e98d86a7f4f
This commit is contained in:
@@ -25,6 +25,7 @@ class WvContentDecryptionModule : public android::RefBase, public TimerHandler {
|
||||
static bool IsSupported(const std::string& init_data_type);
|
||||
static bool IsCenc(const std::string& init_data_type);
|
||||
static bool IsWebm(const std::string& init_data_type);
|
||||
static bool IsValidServiceCertificate(const std::string& certificate);
|
||||
|
||||
// Session related methods
|
||||
virtual CdmResponseType OpenSession(const CdmKeySystem& key_system,
|
||||
|
||||
Reference in New Issue
Block a user