Support for group license

Content keys in ECM v3 can now additionally be encrypted by group
entitlement keys.
This commit is contained in:
Widevine Buildbot
2021-03-04 22:51:24 +00:00
parent 810ceaf1a1
commit b215264c6d
22 changed files with 123 additions and 33 deletions

View File

@@ -27,9 +27,14 @@ message CasEncryptionRequest {
// returned.
optional bool key_rotation = 4;
// Optional value which can be used to indicate a group.
// If present the CasEncryptionResponse will return key based on the group
// id.
// If present, the CasEncryptionResponse will return keys based on this group
// id, instead of |content_id|.
optional bytes group_id = 5;
// Entitlement period index for media using entitlement key rotation. It
// always corresponds to the entitlement key period. If present, the
// entitlement keys returned will corresponds to the specified entitlement
// period index.
optional uint32 entitlement_period_index = 6;
}
message CasEncryptionResponse {