28 lines
971 B
C++
28 lines
971 B
C++
////////////////////////////////////////////////////////////////////////////////
|
|
// Copyright 2017 Google LLC.
|
|
//
|
|
// This software is licensed under the terms defined in the Widevine Master
|
|
// License Agreement. For a copy of this agreement, please contact
|
|
// widevine-licensing@google.com.
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Description:
|
|
// Helper methods for verifying VMP (Verified Media Pipeline) data.
|
|
|
|
#ifndef COMMON_VERIFIED_MEDIA_PIPELINE_H_
|
|
#define COMMON_VERIFIED_MEDIA_PIPELINE_H_
|
|
|
|
#include <string>
|
|
#include "common/status.h"
|
|
#include "protos/public/license_protocol.pb.h"
|
|
|
|
namespace widevine {
|
|
|
|
// Retrieve the PlatformVerificationStatus for |vmp_data|. The
|
|
// PlatformVerificationStatus is defined at
|
|
Status VerifyVmpData(const std::string& vmp_data,
|
|
PlatformVerificationStatus* platform_verification_status);
|
|
|
|
} // namespace widevine
|
|
#endif // COMMON_VERIFIED_MEDIA_PIPELINE_H_
|