Export provisioning sdk
Change-Id: I4d47d80444c9507f84896767dc676112ca11e901
This commit is contained in:
56
provisioning_sdk/internal/certificates/root_certificates.h
Normal file
56
provisioning_sdk/internal/certificates/root_certificates.h
Normal file
@@ -0,0 +1,56 @@
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// 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_
|
||||
|
||||
Reference in New Issue
Block a user