57 lines
1.6 KiB
C++
57 lines
1.6 KiB
C++
////////////////////////////////////////////////////////////////////////////////
|
|
// Copyright 2016 Google Inc.
|
|
//
|
|
// 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.
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef PROVISIONING_SDK_INTERNAL_CERTIFICATES_ROOT_CERTIFICATES_H_
|
|
#define PROVISIONING_SDK_INTERNAL_CERTIFICATES_ROOT_CERTIFICATES_H_
|
|
|
|
#include <string>
|
|
|
|
namespace widevine {
|
|
|
|
// This class contains DRM and OEM root certificates.
|
|
class RootCertificates {
|
|
public:
|
|
RootCertificates();
|
|
~RootCertificates();
|
|
|
|
const std::string& drm_root_test_certificate() const {
|
|
return drm_root_test_certificate_;
|
|
}
|
|
|
|
const std::string& drm_root_dev_certificate() const {
|
|
return drm_root_dev_certificate_;
|
|
}
|
|
|
|
const std::string& drm_root_prod_certificate() const {
|
|
return drm_root_prod_certificate_;
|
|
}
|
|
|
|
const std::string& oem_root_dev_certificate() const {
|
|
return oem_root_dev_certificate_;
|
|
}
|
|
|
|
const std::string& oem_root_prod_certificate() const {
|
|
return oem_root_prod_certificate_;
|
|
}
|
|
|
|
private:
|
|
RootCertificates(const RootCertificates&) = delete;
|
|
RootCertificates& operator=(const RootCertificates&) = delete;
|
|
|
|
std::string drm_root_test_certificate_;
|
|
std::string drm_root_dev_certificate_;
|
|
std::string drm_root_prod_certificate_;
|
|
std::string oem_root_dev_certificate_;
|
|
std::string oem_root_prod_certificate_;
|
|
};
|
|
|
|
} // namespace widevine
|
|
|
|
#endif // PROVISIONING_SDK_INTERNAL_CERTIFICATES_ROOT_CERTIFICATES_H_
|
|
|