Fix build

This commit is contained in:
Widevine Buildbot
2020-07-25 02:53:47 +00:00
parent 37bf78103e
commit 535930dc60
15 changed files with 249 additions and 12 deletions

View File

@@ -12,8 +12,11 @@ syntax = "proto2";
package widevine;
import "protos/public/hash_algorithm.proto";
option java_package = "com.google.video.widevine.mediacasencryption";
message CasEncryptionRequest {
optional bytes content_id = 1;
optional string provider = 2;
@@ -23,6 +26,10 @@ message CasEncryptionRequest {
// return one key for EVEN and one key for ODD, otherwise only a single key is
// 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.
optional bytes group_id = 5;
}
message CasEncryptionResponse {
@@ -54,6 +61,8 @@ message CasEncryptionResponse {
optional string status_message = 2;
optional bytes content_id = 3;
repeated KeyInfo entitlement_keys = 4;
// If this is a group key license, this is the group identifier.
optional bytes group_id = 5;
}
message SignedCasEncryptionRequest {
@@ -61,6 +70,8 @@ message SignedCasEncryptionRequest {
optional bytes signature = 2;
// Identifies the entity sending / signing the request.
optional string signer = 3;
// Optional field that indicates the hash algorithm used in signature scheme.
optional HashAlgorithmProto hash_algorithm = 4;
}
message SignedCasEncryptionResponse {