Allow two DRM certificates for each identifier
[ Merge of http://go/wvgerrit/119684 ] This allows for a default DRM certificate that includes an expiration time and a legacy one without for each app+origin specific identifier. Existing offline licenses/secure stops are not associated with a certificate, and so we cannot delete legacy certificates even after fetching a new one. New offline licenses/secure stops will be associated with certificate information, so we will not have this problem going forward. Bug: 169740403 Test: WV unit/integration tests Change-Id: I0f08f6bf98775fd43927243dc4a9f75f21bfbbcc
This commit is contained in:
@@ -18,6 +18,13 @@
|
||||
|
||||
namespace wvcdm {
|
||||
|
||||
static const std::string kAtscCertificateFileName = "atsccert.bin";
|
||||
static const std::string kCertificateFileName = "cert1.bin";
|
||||
static const std::string kCertificateFileNameExt = ".bin";
|
||||
static const std::string kCertificateFileNamePrefix = "cert1_";
|
||||
static const std::string kLegacyCertificateFileName = "cert.bin";
|
||||
static const std::string kLegacyCertificateFileNamePrefix = "cert";
|
||||
|
||||
// File class. The implementation is platform dependent.
|
||||
class CORE_UTIL_EXPORT File {
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user