33 lines
1.1 KiB
Protocol Buffer
33 lines
1.1 KiB
Protocol Buffer
////////////////////////////////////////////////////////////////////////////////
|
|
// Copyright 2016 Google LLC.
|
|
//
|
|
// 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.
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Signed device certificate definition.
|
|
|
|
syntax = "proto2";
|
|
|
|
package widevine;
|
|
|
|
import "protos/public/hash_algorithm.proto";
|
|
|
|
option java_outer_classname = "SignedDrmCertificateProtos";
|
|
option java_package = "com.google.video.widevine.protos";
|
|
|
|
|
|
// DrmCertificate signed by a higher (CA) DRM certificate.
|
|
message SignedDrmCertificate {
|
|
// Serialized certificate. Required.
|
|
optional bytes drm_certificate = 1;
|
|
// Signature of certificate. Signed with root or intermediate
|
|
// certificate specified below. Required.
|
|
optional bytes signature = 2;
|
|
// SignedDrmCertificate used to sign this certificate.
|
|
optional SignedDrmCertificate signer = 3;
|
|
// Optional field that indicates the hash algorithm used in signature scheme.
|
|
optional HashAlgorithmProto hash_algorithm = 4;
|
|
}
|