Minimal implementation of Widevine MediaCAS ECMG.
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=226515998
This commit is contained in:
@@ -16,8 +16,8 @@
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include "common/status.h"
|
||||
#include "common/certificate_type.h"
|
||||
#include "common/status.h"
|
||||
|
||||
namespace widevine {
|
||||
class X509CA;
|
||||
@@ -35,10 +35,10 @@ class VmpChecker {
|
||||
static VmpChecker* Instance();
|
||||
|
||||
// Select the type of root to use. Not thread-safe.
|
||||
virtual util::Status SelectCertificateType(CertificateType cert_type);
|
||||
virtual Status SelectCertificateType(CertificateType cert_type);
|
||||
|
||||
// Verify VMP data and return appropriate result.
|
||||
virtual util::Status VerifyVmpData(const std::string& vmp_data, Result* result);
|
||||
virtual Status VerifyVmpData(const std::string& vmp_data, Result* result);
|
||||
|
||||
// Enable/disable development code signing certificates.
|
||||
void set_allow_development_vmp(bool allow) { allow_development_vmp_ = allow; }
|
||||
|
||||
Reference in New Issue
Block a user