From e58510279825bd3422b2d9c123a034e633742e3e Mon Sep 17 00:00:00 2001 From: rlaphoenix Date: Sat, 24 Sep 2022 12:05:20 +0100 Subject: [PATCH] Update protobuf to v4.21.6 and recompile buffers --- poetry.lock | 55 +- pyproject.toml | 2 +- pywidevine/license_protocol.proto | 4 +- pywidevine/license_protocol_pb2.py | 3159 ++------------------------- pywidevine/license_protocol_pb2.pyi | 605 +++++ 5 files changed, 757 insertions(+), 3068 deletions(-) create mode 100644 pywidevine/license_protocol_pb2.pyi diff --git a/poetry.lock b/poetry.lock index bdf24eb..5d1a873 100644 --- a/poetry.lock +++ b/poetry.lock @@ -168,11 +168,11 @@ python-versions = ">=3.7" [[package]] name = "protobuf" -version = "3.19.5" -description = "Protocol Buffers" +version = "4.21.6" +description = "" category = "main" optional = false -python-versions = ">=3.5" +python-versions = ">=3.7" [[package]] name = "pycryptodome" @@ -279,7 +279,7 @@ serve = ["aiohttp", "PyYAML"] [metadata] lock-version = "1.1" python-versions = ">=3.7,<3.11" -content-hash = "35d7f614b5c080b48a15f6d299274ec399bb4e2cf6e8f2a79c00815e3bc57308" +content-hash = "d0658d6c8f08997e9ebd6a12e2613f76275c21b7c133e2e976d16f8b63c9437f" [metadata.files] aiohttp = [ @@ -594,32 +594,20 @@ multidict = [ {file = "multidict-6.0.2.tar.gz", hash = "sha256:5ff3bd75f38e4c43f1f470f2df7a4d430b821c4ce22be384e1459cb57d6bb013"}, ] protobuf = [ - {file = "protobuf-3.19.5-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:6eca9ae238ba615d702387a2ddea635d535d769994a9968c09a4ca920c487ab9"}, - {file = "protobuf-3.19.5-cp310-cp310-manylinux2014_aarch64.whl", hash = "sha256:f2b599a21c9a32e171ec29a2ac54e03297736c578698e11b099d031f79da114b"}, - {file = "protobuf-3.19.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f976234e20ab2785f54224bcdafa027674e23663b132fa3ca0caa291a6cfbde7"}, - {file = "protobuf-3.19.5-cp310-cp310-win32.whl", hash = "sha256:4ee2af7051d3b10c8a4fe6fd1a2c69f201fea36aeee7086cf202a692e1b99ee1"}, - {file = "protobuf-3.19.5-cp310-cp310-win_amd64.whl", hash = "sha256:dca2284378a5f2a86ffed35c6ac147d14c48b525eefcd1083e5a9ce28dfa8657"}, - {file = "protobuf-3.19.5-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:c0f80876a8ff0ae7064084ed094eb86497bd5a3812e6fc96a05318b92301674e"}, - {file = "protobuf-3.19.5-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3c4160b601220627f7e91154e572baf5e161a9c3f445a8242d536ee3d0b7b17c"}, - {file = "protobuf-3.19.5-cp36-cp36m-win32.whl", hash = "sha256:f2bde37667b18c2b5280df83bc799204394a5d2d774e4deaf9de0eb741df6833"}, - {file = "protobuf-3.19.5-cp36-cp36m-win_amd64.whl", hash = "sha256:1867f93b06a183f87696871bb8d1e99ee71dbb69d468ce1f0cc8bf3d30f982f3"}, - {file = "protobuf-3.19.5-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:a89aa0c042e61e11ade320b802d6db4ee5391d8d973e46d3a48172c1597789f8"}, - {file = "protobuf-3.19.5-cp37-cp37m-manylinux2014_aarch64.whl", hash = "sha256:f9cebda093c2f6bfed88f1c17cdade09d4d96096421b344026feee236532d4de"}, - {file = "protobuf-3.19.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:67efb5d20618020aa9596e17bfc37ca068c28ec0c1507d9507f73c93d46c9855"}, - {file = "protobuf-3.19.5-cp37-cp37m-win32.whl", hash = "sha256:950abd6c00e7b51f87ae8b18a0ce4d69fea217f62f171426e77de5061f6d9850"}, - {file = "protobuf-3.19.5-cp37-cp37m-win_amd64.whl", hash = "sha256:d3973a2d58aefc7d1230725c2447ce7f86a71cbc094b86a77c6ee1505ac7cdb1"}, - {file = "protobuf-3.19.5-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:9e1d74032f56ff25f417cfe84c8147047732e5059137ca42efad20cbbd25f5e0"}, - {file = "protobuf-3.19.5-cp38-cp38-manylinux2014_aarch64.whl", hash = "sha256:d249519ba5ecf5dd6b18150c9b6bcde510b273714b696f3923ff8308fc11ae49"}, - {file = "protobuf-3.19.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9f957ef53e872d58a0afd3bf6d80d48535d28c99b40e75e6634cbc33ea42fd54"}, - {file = "protobuf-3.19.5-cp38-cp38-win32.whl", hash = "sha256:5470f892961af464ae6eaf0f3099e2c1190ae8c7f36f174b89491281341f79ca"}, - {file = "protobuf-3.19.5-cp38-cp38-win_amd64.whl", hash = "sha256:c44e3282cff74ad18c7e8a0375f407f69ee50c2116364b44492a196293e08b21"}, - {file = "protobuf-3.19.5-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:66d14b5b90090353efe75c9fb1bf65ef7267383034688d255b500822e37d5c2f"}, - {file = "protobuf-3.19.5-cp39-cp39-manylinux2014_aarch64.whl", hash = "sha256:f4f909f4dde413dec435a44b0894956d55bb928ded7d6e3c726556ca4c796e84"}, - {file = "protobuf-3.19.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5266c36cc0af3bb3dbf44f199d225b33da66a9a5c3bdc2b14865ad10eddf0e37"}, - {file = "protobuf-3.19.5-cp39-cp39-win32.whl", hash = "sha256:6a02172b9650f819d01fb8e224fc69b0706458fc1ab4f1c669281243c71c1a5e"}, - {file = "protobuf-3.19.5-cp39-cp39-win_amd64.whl", hash = "sha256:696e6cfab94cc15a14946f2bf72719dced087d437adbd994fff34f38986628bc"}, - {file = "protobuf-3.19.5-py2.py3-none-any.whl", hash = "sha256:9e42b1cf2ecd8a1bd161239e693f22035ba99905ae6d7efeac8a0546c7ec1a27"}, - {file = "protobuf-3.19.5.tar.gz", hash = "sha256:e63b0b3c42e51c94add62b010366cd4979cb6d5f06158bcae8faac4c294f91e1"}, + {file = "protobuf-4.21.6-cp310-abi3-win32.whl", hash = "sha256:49f88d56a9180dbb7f6199c920f5bb5c1dd0172f672983bb281298d57c2ac8eb"}, + {file = "protobuf-4.21.6-cp310-abi3-win_amd64.whl", hash = "sha256:7a6cc8842257265bdfd6b74d088b829e44bcac3cca234c5fdd6052730017b9ea"}, + {file = "protobuf-4.21.6-cp37-abi3-macosx_10_9_universal2.whl", hash = "sha256:ba596b9ffb85c909fcfe1b1a23136224ed678af3faf9912d3fa483d5f9813c4e"}, + {file = "protobuf-4.21.6-cp37-abi3-manylinux2014_aarch64.whl", hash = "sha256:4143513c766db85b9d7c18dbf8339673c8a290131b2a0fe73855ab20770f72b0"}, + {file = "protobuf-4.21.6-cp37-abi3-manylinux2014_x86_64.whl", hash = "sha256:b6cea204865595a92a7b240e4b65bcaaca3ad5d2ce25d9db3756eba06041138e"}, + {file = "protobuf-4.21.6-cp37-cp37m-win32.whl", hash = "sha256:9666da97129138585b26afcb63ad4887f602e169cafe754a8258541c553b8b5d"}, + {file = "protobuf-4.21.6-cp37-cp37m-win_amd64.whl", hash = "sha256:308173d3e5a3528787bb8c93abea81d5a950bdce62840d9760effc84127fb39c"}, + {file = "protobuf-4.21.6-cp38-cp38-win32.whl", hash = "sha256:aa29113ec901281f29d9d27b01193407a98aa9658b8a777b0325e6d97149f5ce"}, + {file = "protobuf-4.21.6-cp38-cp38-win_amd64.whl", hash = "sha256:8f9e60f7d44592c66e7b332b6a7b4b6e8d8b889393c79dbc3a91f815118f8eac"}, + {file = "protobuf-4.21.6-cp39-cp39-win32.whl", hash = "sha256:80e6540381080715fddac12690ee42d087d0d17395f8d0078dfd6f1181e7be4c"}, + {file = "protobuf-4.21.6-cp39-cp39-win_amd64.whl", hash = "sha256:77b355c8604fe285536155286b28b0c4cbc57cf81b08d8357bf34829ea982860"}, + {file = "protobuf-4.21.6-py2.py3-none-any.whl", hash = "sha256:07a0bb9cc6114f16a39c866dc28b6e3d96fa4ffb9cc1033057412547e6e75cb9"}, + {file = "protobuf-4.21.6-py3-none-any.whl", hash = "sha256:c7c864148a237f058c739ae7a05a2b403c0dfa4ce7d1f3e5213f352ad52d57c6"}, + {file = "protobuf-4.21.6.tar.gz", hash = "sha256:6b1040a5661cd5f6e610cbca9cfaa2a17d60e2bb545309bc1b278bb05be44bdd"}, ] pycryptodome = [ {file = "pycryptodome-3.15.0-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:ff7ae90e36c1715a54446e7872b76102baa5c63aa980917f4aa45e8c78d1a3ec"}, @@ -664,13 +652,6 @@ pyyaml = [ {file = "PyYAML-6.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:f84fbc98b019fef2ee9a1cb3ce93e3187a6df0b2538a651bfb890254ba9f90b5"}, {file = "PyYAML-6.0-cp310-cp310-win32.whl", hash = "sha256:2cd5df3de48857ed0544b34e2d40e9fac445930039f3cfe4bcc592a1f836d513"}, {file = "PyYAML-6.0-cp310-cp310-win_amd64.whl", hash = "sha256:daf496c58a8c52083df09b80c860005194014c3698698d1a57cbcfa182142a3a"}, - {file = "PyYAML-6.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:d4b0ba9512519522b118090257be113b9468d804b19d63c71dbcf4a48fa32358"}, - {file = "PyYAML-6.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:81957921f441d50af23654aa6c5e5eaf9b06aba7f0a19c18a538dc7ef291c5a1"}, - {file = "PyYAML-6.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:afa17f5bc4d1b10afd4466fd3a44dc0e245382deca5b3c353d8b757f9e3ecb8d"}, - {file = "PyYAML-6.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:dbad0e9d368bb989f4515da330b88a057617d16b6a8245084f1b05400f24609f"}, - {file = "PyYAML-6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:432557aa2c09802be39460360ddffd48156e30721f5e8d917f01d31694216782"}, - {file = "PyYAML-6.0-cp311-cp311-win32.whl", hash = "sha256:bfaef573a63ba8923503d27530362590ff4f576c626d86a9fed95822a8255fd7"}, - {file = "PyYAML-6.0-cp311-cp311-win_amd64.whl", hash = "sha256:01b45c0191e6d66c470b6cf1b9531a771a83c1c4208272ead47a3ae4f2f603bf"}, {file = "PyYAML-6.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:897b80890765f037df3403d22bab41627ca8811ae55e9a722fd0392850ec4d86"}, {file = "PyYAML-6.0-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:50602afada6d6cbfad699b0c7bb50d5ccffa7e46a3d738092afddc1f9758427f"}, {file = "PyYAML-6.0-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:48c346915c114f5fdb3ead70312bd042a953a8ce5c7106d5bfb1a5254e47da92"}, diff --git a/pyproject.toml b/pyproject.toml index abd7219..7784a3e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,7 +28,7 @@ classifiers = [ [tool.poetry.dependencies] python = ">=3.7,<3.11" -protobuf = "3.19.5" +protobuf = "4.21.6" pymp4 = "^1.2.0" pycryptodome = "^3.15.0" click = "^8.1.3" diff --git a/pywidevine/license_protocol.proto b/pywidevine/license_protocol.proto index 9a3d14c..cd2fe4f 100644 --- a/pywidevine/license_protocol.proto +++ b/pywidevine/license_protocol.proto @@ -1,11 +1,11 @@ syntax = "proto2"; -package video_widevine; +package pywidevine_license_protocol; // need this if we are using libprotobuf-cpp-2.3.0-lite option optimize_for = LITE_RUNTIME; -option java_package = "com.google.video.widevine.protos"; +option java_package = "com.rlaphoenix.pywidevine.protos"; enum LicenseType { STREAMING = 1; diff --git a/pywidevine/license_protocol_pb2.py b/pywidevine/license_protocol_pb2.py index 9f30791..2b776a3 100644 --- a/pywidevine/license_protocol_pb2.py +++ b/pywidevine/license_protocol_pb2.py @@ -1,14 +1,11 @@ +# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: pywidevine/license_protocol.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf.internal import enum_type_wrapper +# source: license_protocol.proto +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database -from google.protobuf import descriptor_pb2 # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -16,3024 +13,130 @@ _sym_db = _symbol_database.Default() -DESCRIPTOR = _descriptor.FileDescriptor( - name='pywidevine/license_protocol.proto', - package='video_widevine', - serialized_pb=_b('\n!pywidevine/license_protocol.proto\x12\x0evideo_widevine\"\xb0\x01\n\x15LicenseIdentification\x12\x12\n\nrequest_id\x18\x01 \x01(\x0c\x12\x12\n\nsession_id\x18\x02 \x01(\x0c\x12\x13\n\x0bpurchase_id\x18\x03 \x01(\x0c\x12)\n\x04type\x18\x04 \x01(\x0e\x32\x1b.video_widevine.LicenseType\x12\x0f\n\x07version\x18\x05 \x01(\x05\x12\x1e\n\x16provider_session_token\x18\x06 \x01(\x0c\"\xae\x17\n\x07License\x12\x31\n\x02id\x18\x01 \x01(\x0b\x32%.video_widevine.LicenseIdentification\x12.\n\x06policy\x18\x02 \x01(\x0b\x32\x1e.video_widevine.License.Policy\x12\x31\n\x03key\x18\x03 \x03(\x0b\x32$.video_widevine.License.KeyContainer\x12\x1a\n\x12license_start_time\x18\x04 \x01(\x03\x12*\n\x1bremote_attestation_verified\x18\x05 \x01(\x08:\x05\x66\x61lse\x12\x1d\n\x15provider_client_token\x18\x06 \x01(\x0c\x12\x19\n\x11protection_scheme\x18\x07 \x01(\r\x12\x17\n\x0fsrm_requirement\x18\x08 \x01(\x0c\x12\x12\n\nsrm_update\x18\t \x01(\x0c\x12j\n\x1cplatform_verification_status\x18\n \x01(\x0e\x32*.video_widevine.PlatformVerificationStatus:\x18PLATFORM_NO_VERIFICATION\x12\x11\n\tgroup_ids\x18\x0b \x03(\x0c\x1a\xae\x04\n\x06Policy\x12\x17\n\x08\x63\x61n_play\x18\x01 \x01(\x08:\x05\x66\x61lse\x12\x1a\n\x0b\x63\x61n_persist\x18\x02 \x01(\x08:\x05\x66\x61lse\x12\x18\n\tcan_renew\x18\x03 \x01(\x08:\x05\x66\x61lse\x12\"\n\x17rental_duration_seconds\x18\x04 \x01(\x03:\x01\x30\x12$\n\x19playback_duration_seconds\x18\x05 \x01(\x03:\x01\x30\x12#\n\x18license_duration_seconds\x18\x06 \x01(\x03:\x01\x30\x12,\n!renewal_recovery_duration_seconds\x18\x07 \x01(\x03:\x01\x30\x12\x1a\n\x12renewal_server_url\x18\x08 \x01(\t\x12 \n\x15renewal_delay_seconds\x18\t \x01(\x03:\x01\x30\x12)\n\x1erenewal_retry_interval_seconds\x18\n \x01(\x03:\x01\x30\x12\x1f\n\x10renew_with_usage\x18\x0b \x01(\x08:\x05\x66\x61lse\x12\'\n\x18\x61lways_include_client_id\x18\x0c \x01(\x08:\x05\x66\x61lse\x12*\n\x1fplay_start_grace_period_seconds\x18\r \x01(\x03:\x01\x30\x12-\n\x1esoft_enforce_playback_duration\x18\x0e \x01(\x08:\x05\x66\x61lse\x12*\n\x1csoft_enforce_rental_duration\x18\x0f \x01(\x08:\x04true\x1a\xad\x0f\n\x0cKeyContainer\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\n\n\x02iv\x18\x02 \x01(\x0c\x12\x0b\n\x03key\x18\x03 \x01(\x0c\x12:\n\x04type\x18\x04 \x01(\x0e\x32,.video_widevine.License.KeyContainer.KeyType\x12S\n\x05level\x18\x05 \x01(\x0e\x32\x32.video_widevine.License.KeyContainer.SecurityLevel:\x10SW_SECURE_CRYPTO\x12R\n\x13required_protection\x18\x06 \x01(\x0b\x32\x35.video_widevine.License.KeyContainer.OutputProtection\x12S\n\x14requested_protection\x18\x07 \x01(\x0b\x32\x35.video_widevine.License.KeyContainer.OutputProtection\x12\x44\n\x0bkey_control\x18\x08 \x01(\x0b\x32/.video_widevine.License.KeyContainer.KeyControl\x12l\n operator_session_key_permissions\x18\t \x01(\x0b\x32\x42.video_widevine.License.KeyContainer.OperatorSessionKeyPermissions\x12\x64\n\x1cvideo_resolution_constraints\x18\n \x03(\x0b\x32>.video_widevine.License.KeyContainer.VideoResolutionConstraint\x12(\n\x19\x61nti_rollback_usage_table\x18\x0b \x01(\x08:\x05\x66\x61lse\x12\x13\n\x0btrack_label\x18\x0c \x01(\t\x1a\x33\n\nKeyControl\x12\x19\n\x11key_control_block\x18\x01 \x01(\x0c\x12\n\n\x02iv\x18\x02 \x01(\x0c\x1a\xf5\x04\n\x10OutputProtection\x12S\n\x04hdcp\x18\x01 \x01(\x0e\x32:.video_widevine.License.KeyContainer.OutputProtection.HDCP:\tHDCP_NONE\x12Y\n\ncgms_flags\x18\x02 \x01(\x0e\x32:.video_widevine.License.KeyContainer.OutputProtection.CGMS:\tCGMS_NONE\x12l\n\rhdcp_srm_rule\x18\x03 \x01(\x0e\x32\x41.video_widevine.License.KeyContainer.OutputProtection.HdcpSrmRule:\x12HDCP_SRM_RULE_NONE\x12$\n\x15\x64isable_analog_output\x18\x04 \x01(\x08:\x05\x66\x61lse\x12%\n\x16\x64isable_digital_output\x18\x05 \x01(\x08:\x05\x66\x61lse\"y\n\x04HDCP\x12\r\n\tHDCP_NONE\x10\x00\x12\x0b\n\x07HDCP_V1\x10\x01\x12\x0b\n\x07HDCP_V2\x10\x02\x12\r\n\tHDCP_V2_1\x10\x03\x12\r\n\tHDCP_V2_2\x10\x04\x12\r\n\tHDCP_V2_3\x10\x05\x12\x1b\n\x16HDCP_NO_DIGITAL_OUTPUT\x10\xff\x01\"C\n\x04\x43GMS\x12\r\n\tCGMS_NONE\x10*\x12\r\n\tCOPY_FREE\x10\x00\x12\r\n\tCOPY_ONCE\x10\x02\x12\x0e\n\nCOPY_NEVER\x10\x03\"6\n\x0bHdcpSrmRule\x12\x16\n\x12HDCP_SRM_RULE_NONE\x10\x00\x12\x0f\n\x0b\x43URRENT_SRM\x10\x01\x1a\xad\x01\n\x19VideoResolutionConstraint\x12\x1d\n\x15min_resolution_pixels\x18\x01 \x01(\r\x12\x1d\n\x15max_resolution_pixels\x18\x02 \x01(\r\x12R\n\x13required_protection\x18\x03 \x01(\x0b\x32\x35.video_widevine.License.KeyContainer.OutputProtection\x1a\x9d\x01\n\x1dOperatorSessionKeyPermissions\x12\x1c\n\rallow_encrypt\x18\x01 \x01(\x08:\x05\x66\x61lse\x12\x1c\n\rallow_decrypt\x18\x02 \x01(\x08:\x05\x66\x61lse\x12\x19\n\nallow_sign\x18\x03 \x01(\x08:\x05\x66\x61lse\x12%\n\x16\x61llow_signature_verify\x18\x04 \x01(\x08:\x05\x66\x61lse\"l\n\x07KeyType\x12\x0b\n\x07SIGNING\x10\x01\x12\x0b\n\x07\x43ONTENT\x10\x02\x12\x0f\n\x0bKEY_CONTROL\x10\x03\x12\x14\n\x10OPERATOR_SESSION\x10\x04\x12\x0f\n\x0b\x45NTITLEMENT\x10\x05\x12\x0f\n\x0bOEM_CONTENT\x10\x06\"z\n\rSecurityLevel\x12\x14\n\x10SW_SECURE_CRYPTO\x10\x01\x12\x14\n\x10SW_SECURE_DECODE\x10\x02\x12\x14\n\x10HW_SECURE_CRYPTO\x10\x03\x12\x14\n\x10HW_SECURE_DECODE\x10\x04\x12\x11\n\rHW_SECURE_ALL\x10\x05\"\x87\x0c\n\x0eLicenseRequest\x12\x37\n\tclient_id\x18\x01 \x01(\x0b\x32$.video_widevine.ClientIdentification\x12H\n\ncontent_id\x18\x02 \x01(\x0b\x32\x34.video_widevine.LicenseRequest.ContentIdentification\x12\x38\n\x04type\x18\x03 \x01(\x0e\x32*.video_widevine.LicenseRequest.RequestType\x12\x14\n\x0crequest_time\x18\x04 \x01(\x03\x12$\n\x1ckey_control_nonce_deprecated\x18\x05 \x01(\x0c\x12\x46\n\x10protocol_version\x18\x06 \x01(\x0e\x32\x1f.video_widevine.ProtocolVersion:\x0bVERSION_2_0\x12\x19\n\x11key_control_nonce\x18\x07 \x01(\r\x12J\n\x13\x65ncrypted_client_id\x18\x08 \x01(\x0b\x32-.video_widevine.EncryptedClientIdentification\x1a\x9a\x08\n\x15\x43ontentIdentification\x12\x63\n\x12widevine_pssh_data\x18\x01 \x01(\x0b\x32\x45.video_widevine.LicenseRequest.ContentIdentification.WidevinePsshDataH\x00\x12U\n\x0bwebm_key_id\x18\x02 \x01(\x0b\x32>.video_widevine.LicenseRequest.ContentIdentification.WebmKeyIdH\x00\x12`\n\x10\x65xisting_license\x18\x03 \x01(\x0b\x32\x44.video_widevine.LicenseRequest.ContentIdentification.ExistingLicenseH\x00\x12R\n\tinit_data\x18\x04 \x01(\x0b\x32=.video_widevine.LicenseRequest.ContentIdentification.InitDataH\x00\x1al\n\x10WidevinePsshData\x12\x11\n\tpssh_data\x18\x01 \x03(\x0c\x12\x31\n\x0clicense_type\x18\x02 \x01(\x0e\x32\x1b.video_widevine.LicenseType\x12\x12\n\nrequest_id\x18\x03 \x01(\x0c\x1a\x62\n\tWebmKeyId\x12\x0e\n\x06header\x18\x01 \x01(\x0c\x12\x31\n\x0clicense_type\x18\x02 \x01(\x0e\x32\x1b.video_widevine.LicenseType\x12\x12\n\nrequest_id\x18\x03 \x01(\x0c\x1a\xb1\x01\n\x0f\x45xistingLicense\x12\x39\n\nlicense_id\x18\x01 \x01(\x0b\x32%.video_widevine.LicenseIdentification\x12\x1d\n\x15seconds_since_started\x18\x02 \x01(\x03\x12!\n\x19seconds_since_last_played\x18\x03 \x01(\x03\x12!\n\x19session_usage_table_entry\x18\x04 \x01(\x0c\x1a\xf2\x01\n\x08InitData\x12h\n\x0einit_data_type\x18\x01 \x01(\x0e\x32J.video_widevine.LicenseRequest.ContentIdentification.InitData.InitDataType:\x04\x43\x45NC\x12\x11\n\tinit_data\x18\x02 \x01(\x0c\x12\x31\n\x0clicense_type\x18\x03 \x01(\x0e\x32\x1b.video_widevine.LicenseType\x12\x12\n\nrequest_id\x18\x04 \x01(\x0c\"\"\n\x0cInitDataType\x12\x08\n\x04\x43\x45NC\x10\x01\x12\x08\n\x04WEBM\x10\x02\x42\x14\n\x12\x63ontent_id_variant\"0\n\x0bRequestType\x12\x07\n\x03NEW\x10\x01\x12\x0b\n\x07RENEWAL\x10\x02\x12\x0b\n\x07RELEASE\x10\x03\"\xd9\x01\n\nMetricData\x12\x12\n\nstage_name\x18\x01 \x01(\t\x12\x39\n\x0bmetric_data\x18\x02 \x03(\x0b\x32$.video_widevine.MetricData.TypeValue\x1aR\n\tTypeValue\x12\x33\n\x04type\x18\x01 \x01(\x0e\x32%.video_widevine.MetricData.MetricType\x12\x10\n\x05value\x18\x02 \x01(\x03:\x01\x30\"(\n\nMetricType\x12\x0b\n\x07LATENCY\x10\x01\x12\r\n\tTIMESTAMP\x10\x02\"K\n\x0bVersionInfo\x12\x1b\n\x13license_sdk_version\x18\x01 \x01(\t\x12\x1f\n\x17license_service_version\x18\x02 \x01(\t\"\xc2\x05\n\rSignedMessage\x12\x37\n\x04type\x18\x01 \x01(\x0e\x32).video_widevine.SignedMessage.MessageType\x12\x0b\n\x03msg\x18\x02 \x01(\x0c\x12\x11\n\tsignature\x18\x03 \x01(\x0c\x12\x13\n\x0bsession_key\x18\x04 \x01(\x0c\x12\x1a\n\x12remote_attestation\x18\x05 \x01(\x0c\x12/\n\x0bmetric_data\x18\x06 \x03(\x0b\x32\x1a.video_widevine.MetricData\x12\x39\n\x14service_version_info\x18\x07 \x01(\x0b\x32\x1b.video_widevine.VersionInfo\x12W\n\x10session_key_type\x18\x08 \x01(\x0e\x32,.video_widevine.SignedMessage.SessionKeyType:\x0fWRAPPED_AES_KEY\x12\x1e\n\x16oemcrypto_core_message\x18\t \x01(\x0c\"\xec\x01\n\x0bMessageType\x12\x13\n\x0fLICENSE_REQUEST\x10\x01\x12\x0b\n\x07LICENSE\x10\x02\x12\x12\n\x0e\x45RROR_RESPONSE\x10\x03\x12\x1f\n\x1bSERVICE_CERTIFICATE_REQUEST\x10\x04\x12\x17\n\x13SERVICE_CERTIFICATE\x10\x05\x12\x0f\n\x0bSUB_LICENSE\x10\x06\x12\x17\n\x13\x43\x41S_LICENSE_REQUEST\x10\x07\x12\x0f\n\x0b\x43\x41S_LICENSE\x10\x08\x12\x1c\n\x18\x45XTERNAL_LICENSE_REQUEST\x10\t\x12\x14\n\x10\x45XTERNAL_LICENSE\x10\n\"S\n\x0eSessionKeyType\x12\r\n\tUNDEFINED\x10\x00\x12\x13\n\x0fWRAPPED_AES_KEY\x10\x01\x12\x1d\n\x19\x45PHERMERAL_ECC_PUBLIC_KEY\x10\x02\"\xdf\r\n\x14\x43lientIdentification\x12\x44\n\x04type\x18\x01 \x01(\x0e\x32..video_widevine.ClientIdentification.TokenType:\x06KEYBOX\x12\r\n\x05token\x18\x02 \x01(\x0c\x12\x43\n\x0b\x63lient_info\x18\x03 \x03(\x0b\x32..video_widevine.ClientIdentification.NameValue\x12\x1d\n\x15provider_client_token\x18\x04 \x01(\x0c\x12\x17\n\x0flicense_counter\x18\x05 \x01(\r\x12T\n\x13\x63lient_capabilities\x18\x06 \x01(\x0b\x32\x37.video_widevine.ClientIdentification.ClientCapabilities\x12\x10\n\x08vmp_data\x18\x07 \x01(\x0c\x12R\n\x12\x64\x65vice_credentials\x18\x08 \x03(\x0b\x32\x36.video_widevine.ClientIdentification.ClientCredentials\x1a(\n\tNameValue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x1a\xaf\x08\n\x12\x43lientCapabilities\x12\x1b\n\x0c\x63lient_token\x18\x01 \x01(\x08:\x05\x66\x61lse\x12\x1c\n\rsession_token\x18\x02 \x01(\x08:\x05\x66\x61lse\x12+\n\x1cvideo_resolution_constraints\x18\x03 \x01(\x08:\x05\x66\x61lse\x12h\n\x10max_hdcp_version\x18\x04 \x01(\x0e\x32\x43.video_widevine.ClientIdentification.ClientCapabilities.HdcpVersion:\tHDCP_NONE\x12\x1e\n\x16oem_crypto_api_version\x18\x05 \x01(\r\x12(\n\x19\x61nti_rollback_usage_table\x18\x06 \x01(\x08:\x05\x66\x61lse\x12\x13\n\x0bsrm_version\x18\x07 \x01(\r\x12\x1d\n\x0e\x63\x61n_update_srm\x18\x08 \x01(\x08:\x05\x66\x61lse\x12r\n\x1esupported_certificate_key_type\x18\t \x03(\x0e\x32J.video_widevine.ClientIdentification.ClientCapabilities.CertificateKeyType\x12\x8b\x01\n\x1a\x61nalog_output_capabilities\x18\n \x01(\x0e\x32P.video_widevine.ClientIdentification.ClientCapabilities.AnalogOutputCapabilities:\x15\x41NALOG_OUTPUT_UNKNOWN\x12(\n\x19\x63\x61n_disable_analog_output\x18\x0b \x01(\x08:\x05\x66\x61lse\x12\x1f\n\x14resource_rating_tier\x18\x0c \x01(\r:\x01\x30\"\x80\x01\n\x0bHdcpVersion\x12\r\n\tHDCP_NONE\x10\x00\x12\x0b\n\x07HDCP_V1\x10\x01\x12\x0b\n\x07HDCP_V2\x10\x02\x12\r\n\tHDCP_V2_1\x10\x03\x12\r\n\tHDCP_V2_2\x10\x04\x12\r\n\tHDCP_V2_3\x10\x05\x12\x1b\n\x16HDCP_NO_DIGITAL_OUTPUT\x10\xff\x01\"i\n\x12\x43\x65rtificateKeyType\x12\x0c\n\x08RSA_2048\x10\x00\x12\x0c\n\x08RSA_3072\x10\x01\x12\x11\n\rECC_SECP256R1\x10\x02\x12\x11\n\rECC_SECP384R1\x10\x03\x12\x11\n\rECC_SECP521R1\x10\x04\"\x8d\x01\n\x18\x41nalogOutputCapabilities\x12\x19\n\x15\x41NALOG_OUTPUT_UNKNOWN\x10\x00\x12\x16\n\x12\x41NALOG_OUTPUT_NONE\x10\x01\x12\x1b\n\x17\x41NALOG_OUTPUT_SUPPORTED\x10\x02\x12!\n\x1d\x41NALOG_OUTPUT_SUPPORTS_CGMS_A\x10\x03\x1ah\n\x11\x43lientCredentials\x12\x44\n\x04type\x18\x01 \x01(\x0e\x32..video_widevine.ClientIdentification.TokenType:\x06KEYBOX\x12\r\n\x05token\x18\x02 \x01(\x0c\"s\n\tTokenType\x12\n\n\x06KEYBOX\x10\x00\x12\x1a\n\x16\x44RM_DEVICE_CERTIFICATE\x10\x01\x12\"\n\x1eREMOTE_ATTESTATION_CERTIFICATE\x10\x02\x12\x1a\n\x16OEM_DEVICE_CERTIFICATE\x10\x03\"\xbb\x01\n\x1d\x45ncryptedClientIdentification\x12\x13\n\x0bprovider_id\x18\x01 \x01(\t\x12)\n!service_certificate_serial_number\x18\x02 \x01(\x0c\x12\x1b\n\x13\x65ncrypted_client_id\x18\x03 \x01(\x0c\x12\x1e\n\x16\x65ncrypted_client_id_iv\x18\x04 \x01(\x0c\x12\x1d\n\x15\x65ncrypted_privacy_key\x18\x05 \x01(\x0c\"\xf9\x06\n\x0e\x44rmCertificate\x12\x31\n\x04type\x18\x01 \x01(\x0e\x32#.video_widevine.DrmCertificate.Type\x12\x15\n\rserial_number\x18\x02 \x01(\x0c\x12\x1d\n\x15\x63reation_time_seconds\x18\x03 \x01(\r\x12\x1f\n\x17\x65xpiration_time_seconds\x18\x0c \x01(\r\x12\x12\n\npublic_key\x18\x04 \x01(\x0c\x12\x11\n\tsystem_id\x18\x05 \x01(\r\x12\"\n\x16test_device_deprecated\x18\x06 \x01(\x08\x42\x02\x18\x01\x12\x13\n\x0bprovider_id\x18\x07 \x01(\t\x12\x41\n\rservice_types\x18\x08 \x03(\x0e\x32*.video_widevine.DrmCertificate.ServiceType\x12@\n\talgorithm\x18\t \x01(\x0e\x32(.video_widevine.DrmCertificate.Algorithm:\x03RSA\x12\x0e\n\x06rot_id\x18\n \x01(\x0c\x12\x44\n\x0e\x65ncryption_key\x18\x0b \x01(\x0b\x32,.video_widevine.DrmCertificate.EncryptionKey\x1a\x65\n\rEncryptionKey\x12\x12\n\npublic_key\x18\x01 \x01(\x0c\x12@\n\talgorithm\x18\x02 \x01(\x0e\x32(.video_widevine.DrmCertificate.Algorithm:\x03RSA\"L\n\x04Type\x12\x08\n\x04ROOT\x10\x00\x12\x10\n\x0c\x44\x45VICE_MODEL\x10\x01\x12\n\n\x06\x44\x45VICE\x10\x02\x12\x0b\n\x07SERVICE\x10\x03\x12\x0f\n\x0bPROVISIONER\x10\x04\"\x86\x01\n\x0bServiceType\x12\x18\n\x14UNKNOWN_SERVICE_TYPE\x10\x00\x12\x16\n\x12LICENSE_SERVER_SDK\x10\x01\x12\x1c\n\x18LICENSE_SERVER_PROXY_SDK\x10\x02\x12\x14\n\x10PROVISIONING_SDK\x10\x03\x12\x11\n\rCAS_PROXY_SDK\x10\x04\"d\n\tAlgorithm\x12\x15\n\x11UNKNOWN_ALGORITHM\x10\x00\x12\x07\n\x03RSA\x10\x01\x12\x11\n\rECC_SECP256R1\x10\x02\x12\x11\n\rECC_SECP384R1\x10\x03\x12\x11\n\rECC_SECP521R1\x10\x04\"\xb4\x01\n\x14SignedDrmCertificate\x12\x17\n\x0f\x64rm_certificate\x18\x01 \x01(\x0c\x12\x11\n\tsignature\x18\x02 \x01(\x0c\x12\x34\n\x06signer\x18\x03 \x01(\x0b\x32$.video_widevine.SignedDrmCertificate\x12:\n\x0ehash_algorithm\x18\x04 \x01(\x0e\x32\".video_widevine.HashAlgorithmProto\"\xcf\x05\n\x10WidevinePsshData\x12\x0f\n\x07key_ids\x18\x02 \x03(\x0c\x12\x12\n\ncontent_id\x18\x04 \x01(\x0c\x12\x1b\n\x13\x63rypto_period_index\x18\x07 \x01(\r\x12\x19\n\x11protection_scheme\x18\t \x01(\r\x12\x1d\n\x15\x63rypto_period_seconds\x18\n \x01(\r\x12;\n\x04type\x18\x0b \x01(\x0e\x32%.video_widevine.WidevinePsshData.Type:\x06SINGLE\x12\x14\n\x0ckey_sequence\x18\x0c \x01(\r\x12\x11\n\tgroup_ids\x18\r \x03(\x0c\x12\x43\n\rentitled_keys\x18\x0e \x03(\x0b\x32,.video_widevine.WidevinePsshData.EntitledKey\x12\x15\n\rvideo_feature\x18\x0f \x01(\t\x12\x41\n\talgorithm\x18\x01 \x01(\x0e\x32*.video_widevine.WidevinePsshData.AlgorithmB\x02\x18\x01\x12\x14\n\x08provider\x18\x03 \x01(\tB\x02\x18\x01\x12\x16\n\ntrack_type\x18\x05 \x01(\tB\x02\x18\x01\x12\x12\n\x06policy\x18\x06 \x01(\tB\x02\x18\x01\x12\x1b\n\x0fgrouped_license\x18\x08 \x01(\x0c\x42\x02\x18\x01\x1az\n\x0b\x45ntitledKey\x12\x1a\n\x12\x65ntitlement_key_id\x18\x01 \x01(\x0c\x12\x0e\n\x06key_id\x18\x02 \x01(\x0c\x12\x0b\n\x03key\x18\x03 \x01(\x0c\x12\n\n\x02iv\x18\x04 \x01(\x0c\x12&\n\x1a\x65ntitlement_key_size_bytes\x18\x05 \x01(\r:\x02\x33\x32\"5\n\x04Type\x12\n\n\x06SINGLE\x10\x00\x12\x0f\n\x0b\x45NTITLEMENT\x10\x01\x12\x10\n\x0c\x45NTITLED_KEY\x10\x02\"(\n\tAlgorithm\x12\x0f\n\x0bUNENCRYPTED\x10\x00\x12\n\n\x06\x41\x45SCTR\x10\x01\"\xc4\x01\n\nFileHashes\x12\x0e\n\x06signer\x18\x01 \x01(\x0c\x12\x38\n\nsignatures\x18\x02 \x03(\x0b\x32$.video_widevine.FileHashes.Signature\x1al\n\tSignature\x12\x10\n\x08\x66ilename\x18\x01 \x01(\t\x12\x14\n\x0ctest_signing\x18\x02 \x01(\x08\x12\x12\n\nSHA512Hash\x18\x03 \x01(\x0c\x12\x10\n\x08main_exe\x18\x04 \x01(\x08\x12\x11\n\tsignature\x18\x05 \x01(\x0c*8\n\x0bLicenseType\x12\r\n\tSTREAMING\x10\x01\x12\x0b\n\x07OFFLINE\x10\x02\x12\r\n\tAUTOMATIC\x10\x03*\xd9\x01\n\x1aPlatformVerificationStatus\x12\x17\n\x13PLATFORM_UNVERIFIED\x10\x00\x12\x15\n\x11PLATFORM_TAMPERED\x10\x01\x12\x1e\n\x1aPLATFORM_SOFTWARE_VERIFIED\x10\x02\x12\x1e\n\x1aPLATFORM_HARDWARE_VERIFIED\x10\x03\x12\x1c\n\x18PLATFORM_NO_VERIFICATION\x10\x04\x12-\n)PLATFORM_SECURE_STORAGE_SOFTWARE_VERIFIED\x10\x05*D\n\x0fProtocolVersion\x12\x0f\n\x0bVERSION_2_0\x10\x14\x12\x0f\n\x0bVERSION_2_1\x10\x15\x12\x0f\n\x0bVERSION_2_2\x10\x16*\x86\x01\n\x12HashAlgorithmProto\x12\x1e\n\x1aHASH_ALGORITHM_UNSPECIFIED\x10\x00\x12\x18\n\x14HASH_ALGORITHM_SHA_1\x10\x01\x12\x1a\n\x16HASH_ALGORITHM_SHA_256\x10\x02\x12\x1a\n\x16HASH_ALGORITHM_SHA_384\x10\x03\x42$\n com.google.video.widevine.protosH\x03') -) -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -_LICENSETYPE = _descriptor.EnumDescriptor( - name='LicenseType', - full_name='video_widevine.LicenseType', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='STREAMING', index=0, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='OFFLINE', index=1, number=2, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='AUTOMATIC', index=2, number=3, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=9725, - serialized_end=9781, -) -_sym_db.RegisterEnumDescriptor(_LICENSETYPE) - -LicenseType = enum_type_wrapper.EnumTypeWrapper(_LICENSETYPE) -_PLATFORMVERIFICATIONSTATUS = _descriptor.EnumDescriptor( - name='PlatformVerificationStatus', - full_name='video_widevine.PlatformVerificationStatus', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='PLATFORM_UNVERIFIED', index=0, number=0, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PLATFORM_TAMPERED', index=1, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PLATFORM_SOFTWARE_VERIFIED', index=2, number=2, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PLATFORM_HARDWARE_VERIFIED', index=3, number=3, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PLATFORM_NO_VERIFICATION', index=4, number=4, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PLATFORM_SECURE_STORAGE_SOFTWARE_VERIFIED', index=5, number=5, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=9784, - serialized_end=10001, -) -_sym_db.RegisterEnumDescriptor(_PLATFORMVERIFICATIONSTATUS) - -PlatformVerificationStatus = enum_type_wrapper.EnumTypeWrapper(_PLATFORMVERIFICATIONSTATUS) -_PROTOCOLVERSION = _descriptor.EnumDescriptor( - name='ProtocolVersion', - full_name='video_widevine.ProtocolVersion', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='VERSION_2_0', index=0, number=20, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='VERSION_2_1', index=1, number=21, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='VERSION_2_2', index=2, number=22, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=10003, - serialized_end=10071, -) -_sym_db.RegisterEnumDescriptor(_PROTOCOLVERSION) - -ProtocolVersion = enum_type_wrapper.EnumTypeWrapper(_PROTOCOLVERSION) -_HASHALGORITHMPROTO = _descriptor.EnumDescriptor( - name='HashAlgorithmProto', - full_name='video_widevine.HashAlgorithmProto', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='HASH_ALGORITHM_UNSPECIFIED', index=0, number=0, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HASH_ALGORITHM_SHA_1', index=1, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HASH_ALGORITHM_SHA_256', index=2, number=2, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HASH_ALGORITHM_SHA_384', index=3, number=3, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=10074, - serialized_end=10208, -) -_sym_db.RegisterEnumDescriptor(_HASHALGORITHMPROTO) - -HashAlgorithmProto = enum_type_wrapper.EnumTypeWrapper(_HASHALGORITHMPROTO) -STREAMING = 1 -OFFLINE = 2 -AUTOMATIC = 3 -PLATFORM_UNVERIFIED = 0 -PLATFORM_TAMPERED = 1 -PLATFORM_SOFTWARE_VERIFIED = 2 -PLATFORM_HARDWARE_VERIFIED = 3 -PLATFORM_NO_VERIFICATION = 4 -PLATFORM_SECURE_STORAGE_SOFTWARE_VERIFIED = 5 -VERSION_2_0 = 20 -VERSION_2_1 = 21 -VERSION_2_2 = 22 -HASH_ALGORITHM_UNSPECIFIED = 0 -HASH_ALGORITHM_SHA_1 = 1 -HASH_ALGORITHM_SHA_256 = 2 -HASH_ALGORITHM_SHA_384 = 3 - - -_LICENSE_KEYCONTAINER_OUTPUTPROTECTION_HDCP = _descriptor.EnumDescriptor( - name='HDCP', - full_name='video_widevine.License.KeyContainer.OutputProtection.HDCP', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='HDCP_NONE', index=0, number=0, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HDCP_V1', index=1, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HDCP_V2', index=2, number=2, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HDCP_V2_1', index=3, number=3, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HDCP_V2_2', index=4, number=4, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HDCP_V2_3', index=5, number=5, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HDCP_NO_DIGITAL_OUTPUT', index=6, number=255, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=2407, - serialized_end=2528, -) -_sym_db.RegisterEnumDescriptor(_LICENSE_KEYCONTAINER_OUTPUTPROTECTION_HDCP) - -_LICENSE_KEYCONTAINER_OUTPUTPROTECTION_CGMS = _descriptor.EnumDescriptor( - name='CGMS', - full_name='video_widevine.License.KeyContainer.OutputProtection.CGMS', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='CGMS_NONE', index=0, number=42, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='COPY_FREE', index=1, number=0, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='COPY_ONCE', index=2, number=2, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='COPY_NEVER', index=3, number=3, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=2530, - serialized_end=2597, -) -_sym_db.RegisterEnumDescriptor(_LICENSE_KEYCONTAINER_OUTPUTPROTECTION_CGMS) - -_LICENSE_KEYCONTAINER_OUTPUTPROTECTION_HDCPSRMRULE = _descriptor.EnumDescriptor( - name='HdcpSrmRule', - full_name='video_widevine.License.KeyContainer.OutputProtection.HdcpSrmRule', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='HDCP_SRM_RULE_NONE', index=0, number=0, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CURRENT_SRM', index=1, number=1, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=2599, - serialized_end=2653, -) -_sym_db.RegisterEnumDescriptor(_LICENSE_KEYCONTAINER_OUTPUTPROTECTION_HDCPSRMRULE) - -_LICENSE_KEYCONTAINER_KEYTYPE = _descriptor.EnumDescriptor( - name='KeyType', - full_name='video_widevine.License.KeyContainer.KeyType', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='SIGNING', index=0, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CONTENT', index=1, number=2, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='KEY_CONTROL', index=2, number=3, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='OPERATOR_SESSION', index=3, number=4, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ENTITLEMENT', index=4, number=5, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='OEM_CONTENT', index=5, number=6, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=2991, - serialized_end=3099, -) -_sym_db.RegisterEnumDescriptor(_LICENSE_KEYCONTAINER_KEYTYPE) - -_LICENSE_KEYCONTAINER_SECURITYLEVEL = _descriptor.EnumDescriptor( - name='SecurityLevel', - full_name='video_widevine.License.KeyContainer.SecurityLevel', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='SW_SECURE_CRYPTO', index=0, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SW_SECURE_DECODE', index=1, number=2, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HW_SECURE_CRYPTO', index=2, number=3, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HW_SECURE_DECODE', index=3, number=4, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HW_SECURE_ALL', index=4, number=5, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=3101, - serialized_end=3223, -) -_sym_db.RegisterEnumDescriptor(_LICENSE_KEYCONTAINER_SECURITYLEVEL) - -_LICENSEREQUEST_CONTENTIDENTIFICATION_INITDATA_INITDATATYPE = _descriptor.EnumDescriptor( - name='InitDataType', - full_name='video_widevine.LicenseRequest.ContentIdentification.InitData.InitDataType', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='CENC', index=0, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='WEBM', index=1, number=2, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=4663, - serialized_end=4697, -) -_sym_db.RegisterEnumDescriptor(_LICENSEREQUEST_CONTENTIDENTIFICATION_INITDATA_INITDATATYPE) - -_LICENSEREQUEST_REQUESTTYPE = _descriptor.EnumDescriptor( - name='RequestType', - full_name='video_widevine.LicenseRequest.RequestType', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='NEW', index=0, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='RENEWAL', index=1, number=2, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='RELEASE', index=2, number=3, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=4721, - serialized_end=4769, -) -_sym_db.RegisterEnumDescriptor(_LICENSEREQUEST_REQUESTTYPE) - -_METRICDATA_METRICTYPE = _descriptor.EnumDescriptor( - name='MetricType', - full_name='video_widevine.MetricData.MetricType', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='LATENCY', index=0, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TIMESTAMP', index=1, number=2, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=4949, - serialized_end=4989, -) -_sym_db.RegisterEnumDescriptor(_METRICDATA_METRICTYPE) - -_SIGNEDMESSAGE_MESSAGETYPE = _descriptor.EnumDescriptor( - name='MessageType', - full_name='video_widevine.SignedMessage.MessageType', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='LICENSE_REQUEST', index=0, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LICENSE', index=1, number=2, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ERROR_RESPONSE', index=2, number=3, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SERVICE_CERTIFICATE_REQUEST', index=3, number=4, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SERVICE_CERTIFICATE', index=4, number=5, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SUB_LICENSE', index=5, number=6, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CAS_LICENSE_REQUEST', index=6, number=7, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CAS_LICENSE', index=7, number=8, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EXTERNAL_LICENSE_REQUEST', index=8, number=9, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EXTERNAL_LICENSE', index=9, number=10, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=5454, - serialized_end=5690, -) -_sym_db.RegisterEnumDescriptor(_SIGNEDMESSAGE_MESSAGETYPE) - -_SIGNEDMESSAGE_SESSIONKEYTYPE = _descriptor.EnumDescriptor( - name='SessionKeyType', - full_name='video_widevine.SignedMessage.SessionKeyType', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='UNDEFINED', index=0, number=0, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='WRAPPED_AES_KEY', index=1, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EPHERMERAL_ECC_PUBLIC_KEY', index=2, number=2, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=5692, - serialized_end=5775, -) -_sym_db.RegisterEnumDescriptor(_SIGNEDMESSAGE_SESSIONKEYTYPE) - -_CLIENTIDENTIFICATION_CLIENTCAPABILITIES_HDCPVERSION = _descriptor.EnumDescriptor( - name='HdcpVersion', - full_name='video_widevine.ClientIdentification.ClientCapabilities.HdcpVersion', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='HDCP_NONE', index=0, number=0, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HDCP_V1', index=1, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HDCP_V2', index=2, number=2, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HDCP_V2_1', index=3, number=3, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HDCP_V2_2', index=4, number=4, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HDCP_V2_3', index=5, number=5, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HDCP_NO_DIGITAL_OUTPUT', index=6, number=255, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=6935, - serialized_end=7063, -) -_sym_db.RegisterEnumDescriptor(_CLIENTIDENTIFICATION_CLIENTCAPABILITIES_HDCPVERSION) - -_CLIENTIDENTIFICATION_CLIENTCAPABILITIES_CERTIFICATEKEYTYPE = _descriptor.EnumDescriptor( - name='CertificateKeyType', - full_name='video_widevine.ClientIdentification.ClientCapabilities.CertificateKeyType', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='RSA_2048', index=0, number=0, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='RSA_3072', index=1, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ECC_SECP256R1', index=2, number=2, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ECC_SECP384R1', index=3, number=3, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ECC_SECP521R1', index=4, number=4, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=7065, - serialized_end=7170, -) -_sym_db.RegisterEnumDescriptor(_CLIENTIDENTIFICATION_CLIENTCAPABILITIES_CERTIFICATEKEYTYPE) - -_CLIENTIDENTIFICATION_CLIENTCAPABILITIES_ANALOGOUTPUTCAPABILITIES = _descriptor.EnumDescriptor( - name='AnalogOutputCapabilities', - full_name='video_widevine.ClientIdentification.ClientCapabilities.AnalogOutputCapabilities', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='ANALOG_OUTPUT_UNKNOWN', index=0, number=0, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ANALOG_OUTPUT_NONE', index=1, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ANALOG_OUTPUT_SUPPORTED', index=2, number=2, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ANALOG_OUTPUT_SUPPORTS_CGMS_A', index=3, number=3, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=7173, - serialized_end=7314, -) -_sym_db.RegisterEnumDescriptor(_CLIENTIDENTIFICATION_CLIENTCAPABILITIES_ANALOGOUTPUTCAPABILITIES) - -_CLIENTIDENTIFICATION_TOKENTYPE = _descriptor.EnumDescriptor( - name='TokenType', - full_name='video_widevine.ClientIdentification.TokenType', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='KEYBOX', index=0, number=0, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DRM_DEVICE_CERTIFICATE', index=1, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='REMOTE_ATTESTATION_CERTIFICATE', index=2, number=2, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='OEM_DEVICE_CERTIFICATE', index=3, number=3, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=7422, - serialized_end=7537, -) -_sym_db.RegisterEnumDescriptor(_CLIENTIDENTIFICATION_TOKENTYPE) - -_DRMCERTIFICATE_TYPE = _descriptor.EnumDescriptor( - name='Type', - full_name='video_widevine.DrmCertificate.Type', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='ROOT', index=0, number=0, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DEVICE_MODEL', index=1, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DEVICE', index=2, number=2, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SERVICE', index=3, number=3, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROVISIONER', index=4, number=4, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=8304, - serialized_end=8380, -) -_sym_db.RegisterEnumDescriptor(_DRMCERTIFICATE_TYPE) - -_DRMCERTIFICATE_SERVICETYPE = _descriptor.EnumDescriptor( - name='ServiceType', - full_name='video_widevine.DrmCertificate.ServiceType', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='UNKNOWN_SERVICE_TYPE', index=0, number=0, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LICENSE_SERVER_SDK', index=1, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LICENSE_SERVER_PROXY_SDK', index=2, number=2, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROVISIONING_SDK', index=3, number=3, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CAS_PROXY_SDK', index=4, number=4, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=8383, - serialized_end=8517, -) -_sym_db.RegisterEnumDescriptor(_DRMCERTIFICATE_SERVICETYPE) - -_DRMCERTIFICATE_ALGORITHM = _descriptor.EnumDescriptor( - name='Algorithm', - full_name='video_widevine.DrmCertificate.Algorithm', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='UNKNOWN_ALGORITHM', index=0, number=0, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='RSA', index=1, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ECC_SECP256R1', index=2, number=2, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ECC_SECP384R1', index=3, number=3, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ECC_SECP521R1', index=4, number=4, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=8519, - serialized_end=8619, -) -_sym_db.RegisterEnumDescriptor(_DRMCERTIFICATE_ALGORITHM) - -_WIDEVINEPSSHDATA_TYPE = _descriptor.EnumDescriptor( - name='Type', - full_name='video_widevine.WidevinePsshData.Type', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='SINGLE', index=0, number=0, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ENTITLEMENT', index=1, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ENTITLED_KEY', index=2, number=2, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=9429, - serialized_end=9482, -) -_sym_db.RegisterEnumDescriptor(_WIDEVINEPSSHDATA_TYPE) - -_WIDEVINEPSSHDATA_ALGORITHM = _descriptor.EnumDescriptor( - name='Algorithm', - full_name='video_widevine.WidevinePsshData.Algorithm', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='UNENCRYPTED', index=0, number=0, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='AESCTR', index=1, number=1, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=9484, - serialized_end=9524, -) -_sym_db.RegisterEnumDescriptor(_WIDEVINEPSSHDATA_ALGORITHM) - - -_LICENSEIDENTIFICATION = _descriptor.Descriptor( - name='LicenseIdentification', - full_name='video_widevine.LicenseIdentification', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='request_id', full_name='video_widevine.LicenseIdentification.request_id', index=0, - number=1, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='session_id', full_name='video_widevine.LicenseIdentification.session_id', index=1, - number=2, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='purchase_id', full_name='video_widevine.LicenseIdentification.purchase_id', index=2, - number=3, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='type', full_name='video_widevine.LicenseIdentification.type', index=3, - number=4, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=1, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='version', full_name='video_widevine.LicenseIdentification.version', index=4, - number=5, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='provider_session_token', full_name='video_widevine.LicenseIdentification.provider_session_token', index=5, - number=6, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - extension_ranges=[], - oneofs=[ - ], - serialized_start=54, - serialized_end=230, -) - - -_LICENSE_POLICY = _descriptor.Descriptor( - name='Policy', - full_name='video_widevine.License.Policy', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='can_play', full_name='video_widevine.License.Policy.can_play', index=0, - number=1, type=8, cpp_type=7, label=1, - has_default_value=True, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='can_persist', full_name='video_widevine.License.Policy.can_persist', index=1, - number=2, type=8, cpp_type=7, label=1, - has_default_value=True, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='can_renew', full_name='video_widevine.License.Policy.can_renew', index=2, - number=3, type=8, cpp_type=7, label=1, - has_default_value=True, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='rental_duration_seconds', full_name='video_widevine.License.Policy.rental_duration_seconds', index=3, - number=4, type=3, cpp_type=2, label=1, - has_default_value=True, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='playback_duration_seconds', full_name='video_widevine.License.Policy.playback_duration_seconds', index=4, - number=5, type=3, cpp_type=2, label=1, - has_default_value=True, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='license_duration_seconds', full_name='video_widevine.License.Policy.license_duration_seconds', index=5, - number=6, type=3, cpp_type=2, label=1, - has_default_value=True, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='renewal_recovery_duration_seconds', full_name='video_widevine.License.Policy.renewal_recovery_duration_seconds', index=6, - number=7, type=3, cpp_type=2, label=1, - has_default_value=True, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='renewal_server_url', full_name='video_widevine.License.Policy.renewal_server_url', index=7, - number=8, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='renewal_delay_seconds', full_name='video_widevine.License.Policy.renewal_delay_seconds', index=8, - number=9, type=3, cpp_type=2, label=1, - has_default_value=True, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='renewal_retry_interval_seconds', full_name='video_widevine.License.Policy.renewal_retry_interval_seconds', index=9, - number=10, type=3, cpp_type=2, label=1, - has_default_value=True, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='renew_with_usage', full_name='video_widevine.License.Policy.renew_with_usage', index=10, - number=11, type=8, cpp_type=7, label=1, - has_default_value=True, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='always_include_client_id', full_name='video_widevine.License.Policy.always_include_client_id', index=11, - number=12, type=8, cpp_type=7, label=1, - has_default_value=True, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='play_start_grace_period_seconds', full_name='video_widevine.License.Policy.play_start_grace_period_seconds', index=12, - number=13, type=3, cpp_type=2, label=1, - has_default_value=True, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='soft_enforce_playback_duration', full_name='video_widevine.License.Policy.soft_enforce_playback_duration', index=13, - number=14, type=8, cpp_type=7, label=1, - has_default_value=True, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='soft_enforce_rental_duration', full_name='video_widevine.License.Policy.soft_enforce_rental_duration', index=14, - number=15, type=8, cpp_type=7, label=1, - has_default_value=True, default_value=True, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - extension_ranges=[], - oneofs=[ - ], - serialized_start=697, - serialized_end=1255, -) - -_LICENSE_KEYCONTAINER_KEYCONTROL = _descriptor.Descriptor( - name='KeyControl', - full_name='video_widevine.License.KeyContainer.KeyControl', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='key_control_block', full_name='video_widevine.License.KeyContainer.KeyControl.key_control_block', index=0, - number=1, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='iv', full_name='video_widevine.License.KeyContainer.KeyControl.iv', index=1, - number=2, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - extension_ranges=[], - oneofs=[ - ], - serialized_start=1970, - serialized_end=2021, -) - -_LICENSE_KEYCONTAINER_OUTPUTPROTECTION = _descriptor.Descriptor( - name='OutputProtection', - full_name='video_widevine.License.KeyContainer.OutputProtection', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='hdcp', full_name='video_widevine.License.KeyContainer.OutputProtection.hdcp', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=True, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='cgms_flags', full_name='video_widevine.License.KeyContainer.OutputProtection.cgms_flags', index=1, - number=2, type=14, cpp_type=8, label=1, - has_default_value=True, default_value=42, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='hdcp_srm_rule', full_name='video_widevine.License.KeyContainer.OutputProtection.hdcp_srm_rule', index=2, - number=3, type=14, cpp_type=8, label=1, - has_default_value=True, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='disable_analog_output', full_name='video_widevine.License.KeyContainer.OutputProtection.disable_analog_output', index=3, - number=4, type=8, cpp_type=7, label=1, - has_default_value=True, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='disable_digital_output', full_name='video_widevine.License.KeyContainer.OutputProtection.disable_digital_output', index=4, - number=5, type=8, cpp_type=7, label=1, - has_default_value=True, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _LICENSE_KEYCONTAINER_OUTPUTPROTECTION_HDCP, - _LICENSE_KEYCONTAINER_OUTPUTPROTECTION_CGMS, - _LICENSE_KEYCONTAINER_OUTPUTPROTECTION_HDCPSRMRULE, - ], - options=None, - is_extendable=False, - extension_ranges=[], - oneofs=[ - ], - serialized_start=2024, - serialized_end=2653, -) - -_LICENSE_KEYCONTAINER_VIDEORESOLUTIONCONSTRAINT = _descriptor.Descriptor( - name='VideoResolutionConstraint', - full_name='video_widevine.License.KeyContainer.VideoResolutionConstraint', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='min_resolution_pixels', full_name='video_widevine.License.KeyContainer.VideoResolutionConstraint.min_resolution_pixels', index=0, - number=1, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='max_resolution_pixels', full_name='video_widevine.License.KeyContainer.VideoResolutionConstraint.max_resolution_pixels', index=1, - number=2, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='required_protection', full_name='video_widevine.License.KeyContainer.VideoResolutionConstraint.required_protection', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - extension_ranges=[], - oneofs=[ - ], - serialized_start=2656, - serialized_end=2829, -) - -_LICENSE_KEYCONTAINER_OPERATORSESSIONKEYPERMISSIONS = _descriptor.Descriptor( - name='OperatorSessionKeyPermissions', - full_name='video_widevine.License.KeyContainer.OperatorSessionKeyPermissions', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='allow_encrypt', full_name='video_widevine.License.KeyContainer.OperatorSessionKeyPermissions.allow_encrypt', index=0, - number=1, type=8, cpp_type=7, label=1, - has_default_value=True, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='allow_decrypt', full_name='video_widevine.License.KeyContainer.OperatorSessionKeyPermissions.allow_decrypt', index=1, - number=2, type=8, cpp_type=7, label=1, - has_default_value=True, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='allow_sign', full_name='video_widevine.License.KeyContainer.OperatorSessionKeyPermissions.allow_sign', index=2, - number=3, type=8, cpp_type=7, label=1, - has_default_value=True, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='allow_signature_verify', full_name='video_widevine.License.KeyContainer.OperatorSessionKeyPermissions.allow_signature_verify', index=3, - number=4, type=8, cpp_type=7, label=1, - has_default_value=True, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - extension_ranges=[], - oneofs=[ - ], - serialized_start=2832, - serialized_end=2989, -) - -_LICENSE_KEYCONTAINER = _descriptor.Descriptor( - name='KeyContainer', - full_name='video_widevine.License.KeyContainer', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='video_widevine.License.KeyContainer.id', index=0, - number=1, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='iv', full_name='video_widevine.License.KeyContainer.iv', index=1, - number=2, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='key', full_name='video_widevine.License.KeyContainer.key', index=2, - number=3, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='type', full_name='video_widevine.License.KeyContainer.type', index=3, - number=4, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=1, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='level', full_name='video_widevine.License.KeyContainer.level', index=4, - number=5, type=14, cpp_type=8, label=1, - has_default_value=True, default_value=1, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='required_protection', full_name='video_widevine.License.KeyContainer.required_protection', index=5, - number=6, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='requested_protection', full_name='video_widevine.License.KeyContainer.requested_protection', index=6, - number=7, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='key_control', full_name='video_widevine.License.KeyContainer.key_control', index=7, - number=8, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='operator_session_key_permissions', full_name='video_widevine.License.KeyContainer.operator_session_key_permissions', index=8, - number=9, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='video_resolution_constraints', full_name='video_widevine.License.KeyContainer.video_resolution_constraints', index=9, - number=10, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='anti_rollback_usage_table', full_name='video_widevine.License.KeyContainer.anti_rollback_usage_table', index=10, - number=11, type=8, cpp_type=7, label=1, - has_default_value=True, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='track_label', full_name='video_widevine.License.KeyContainer.track_label', index=11, - number=12, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[_LICENSE_KEYCONTAINER_KEYCONTROL, _LICENSE_KEYCONTAINER_OUTPUTPROTECTION, _LICENSE_KEYCONTAINER_VIDEORESOLUTIONCONSTRAINT, _LICENSE_KEYCONTAINER_OPERATORSESSIONKEYPERMISSIONS, ], - enum_types=[ - _LICENSE_KEYCONTAINER_KEYTYPE, - _LICENSE_KEYCONTAINER_SECURITYLEVEL, - ], - options=None, - is_extendable=False, - extension_ranges=[], - oneofs=[ - ], - serialized_start=1258, - serialized_end=3223, -) - -_LICENSE = _descriptor.Descriptor( - name='License', - full_name='video_widevine.License', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='video_widevine.License.id', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='policy', full_name='video_widevine.License.policy', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='key', full_name='video_widevine.License.key', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='license_start_time', full_name='video_widevine.License.license_start_time', index=3, - number=4, type=3, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='remote_attestation_verified', full_name='video_widevine.License.remote_attestation_verified', index=4, - number=5, type=8, cpp_type=7, label=1, - has_default_value=True, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='provider_client_token', full_name='video_widevine.License.provider_client_token', index=5, - number=6, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='protection_scheme', full_name='video_widevine.License.protection_scheme', index=6, - number=7, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='srm_requirement', full_name='video_widevine.License.srm_requirement', index=7, - number=8, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='srm_update', full_name='video_widevine.License.srm_update', index=8, - number=9, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='platform_verification_status', full_name='video_widevine.License.platform_verification_status', index=9, - number=10, type=14, cpp_type=8, label=1, - has_default_value=True, default_value=4, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='group_ids', full_name='video_widevine.License.group_ids', index=10, - number=11, type=12, cpp_type=9, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[_LICENSE_POLICY, _LICENSE_KEYCONTAINER, ], - enum_types=[ - ], - options=None, - is_extendable=False, - extension_ranges=[], - oneofs=[ - ], - serialized_start=233, - serialized_end=3223, -) - - -_LICENSEREQUEST_CONTENTIDENTIFICATION_WIDEVINEPSSHDATA = _descriptor.Descriptor( - name='WidevinePsshData', - full_name='video_widevine.LicenseRequest.ContentIdentification.WidevinePsshData', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='pssh_data', full_name='video_widevine.LicenseRequest.ContentIdentification.WidevinePsshData.pssh_data', index=0, - number=1, type=12, cpp_type=9, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='license_type', full_name='video_widevine.LicenseRequest.ContentIdentification.WidevinePsshData.license_type', index=1, - number=2, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=1, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='request_id', full_name='video_widevine.LicenseRequest.ContentIdentification.WidevinePsshData.request_id', index=2, - number=3, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - extension_ranges=[], - oneofs=[ - ], - serialized_start=4064, - serialized_end=4172, -) - -_LICENSEREQUEST_CONTENTIDENTIFICATION_WEBMKEYID = _descriptor.Descriptor( - name='WebmKeyId', - full_name='video_widevine.LicenseRequest.ContentIdentification.WebmKeyId', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='header', full_name='video_widevine.LicenseRequest.ContentIdentification.WebmKeyId.header', index=0, - number=1, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='license_type', full_name='video_widevine.LicenseRequest.ContentIdentification.WebmKeyId.license_type', index=1, - number=2, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=1, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='request_id', full_name='video_widevine.LicenseRequest.ContentIdentification.WebmKeyId.request_id', index=2, - number=3, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - extension_ranges=[], - oneofs=[ - ], - serialized_start=4174, - serialized_end=4272, -) - -_LICENSEREQUEST_CONTENTIDENTIFICATION_EXISTINGLICENSE = _descriptor.Descriptor( - name='ExistingLicense', - full_name='video_widevine.LicenseRequest.ContentIdentification.ExistingLicense', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='license_id', full_name='video_widevine.LicenseRequest.ContentIdentification.ExistingLicense.license_id', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='seconds_since_started', full_name='video_widevine.LicenseRequest.ContentIdentification.ExistingLicense.seconds_since_started', index=1, - number=2, type=3, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='seconds_since_last_played', full_name='video_widevine.LicenseRequest.ContentIdentification.ExistingLicense.seconds_since_last_played', index=2, - number=3, type=3, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='session_usage_table_entry', full_name='video_widevine.LicenseRequest.ContentIdentification.ExistingLicense.session_usage_table_entry', index=3, - number=4, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - extension_ranges=[], - oneofs=[ - ], - serialized_start=4275, - serialized_end=4452, -) - -_LICENSEREQUEST_CONTENTIDENTIFICATION_INITDATA = _descriptor.Descriptor( - name='InitData', - full_name='video_widevine.LicenseRequest.ContentIdentification.InitData', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='init_data_type', full_name='video_widevine.LicenseRequest.ContentIdentification.InitData.init_data_type', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=True, default_value=1, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='init_data', full_name='video_widevine.LicenseRequest.ContentIdentification.InitData.init_data', index=1, - number=2, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='license_type', full_name='video_widevine.LicenseRequest.ContentIdentification.InitData.license_type', index=2, - number=3, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=1, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='request_id', full_name='video_widevine.LicenseRequest.ContentIdentification.InitData.request_id', index=3, - number=4, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _LICENSEREQUEST_CONTENTIDENTIFICATION_INITDATA_INITDATATYPE, - ], - options=None, - is_extendable=False, - extension_ranges=[], - oneofs=[ - ], - serialized_start=4455, - serialized_end=4697, -) - -_LICENSEREQUEST_CONTENTIDENTIFICATION = _descriptor.Descriptor( - name='ContentIdentification', - full_name='video_widevine.LicenseRequest.ContentIdentification', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='widevine_pssh_data', full_name='video_widevine.LicenseRequest.ContentIdentification.widevine_pssh_data', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='webm_key_id', full_name='video_widevine.LicenseRequest.ContentIdentification.webm_key_id', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='existing_license', full_name='video_widevine.LicenseRequest.ContentIdentification.existing_license', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='init_data', full_name='video_widevine.LicenseRequest.ContentIdentification.init_data', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[_LICENSEREQUEST_CONTENTIDENTIFICATION_WIDEVINEPSSHDATA, _LICENSEREQUEST_CONTENTIDENTIFICATION_WEBMKEYID, _LICENSEREQUEST_CONTENTIDENTIFICATION_EXISTINGLICENSE, _LICENSEREQUEST_CONTENTIDENTIFICATION_INITDATA, ], - enum_types=[ - ], - options=None, - is_extendable=False, - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='content_id_variant', full_name='video_widevine.LicenseRequest.ContentIdentification.content_id_variant', - index=0, containing_type=None, fields=[]), - ], - serialized_start=3669, - serialized_end=4719, -) - -_LICENSEREQUEST = _descriptor.Descriptor( - name='LicenseRequest', - full_name='video_widevine.LicenseRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='client_id', full_name='video_widevine.LicenseRequest.client_id', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='content_id', full_name='video_widevine.LicenseRequest.content_id', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='type', full_name='video_widevine.LicenseRequest.type', index=2, - number=3, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=1, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='request_time', full_name='video_widevine.LicenseRequest.request_time', index=3, - number=4, type=3, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='key_control_nonce_deprecated', full_name='video_widevine.LicenseRequest.key_control_nonce_deprecated', index=4, - number=5, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='protocol_version', full_name='video_widevine.LicenseRequest.protocol_version', index=5, - number=6, type=14, cpp_type=8, label=1, - has_default_value=True, default_value=20, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='key_control_nonce', full_name='video_widevine.LicenseRequest.key_control_nonce', index=6, - number=7, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='encrypted_client_id', full_name='video_widevine.LicenseRequest.encrypted_client_id', index=7, - number=8, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[_LICENSEREQUEST_CONTENTIDENTIFICATION, ], - enum_types=[ - _LICENSEREQUEST_REQUESTTYPE, - ], - options=None, - is_extendable=False, - extension_ranges=[], - oneofs=[ - ], - serialized_start=3226, - serialized_end=4769, -) - - -_METRICDATA_TYPEVALUE = _descriptor.Descriptor( - name='TypeValue', - full_name='video_widevine.MetricData.TypeValue', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='type', full_name='video_widevine.MetricData.TypeValue.type', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=1, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='value', full_name='video_widevine.MetricData.TypeValue.value', index=1, - number=2, type=3, cpp_type=2, label=1, - has_default_value=True, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - extension_ranges=[], - oneofs=[ - ], - serialized_start=4865, - serialized_end=4947, -) - -_METRICDATA = _descriptor.Descriptor( - name='MetricData', - full_name='video_widevine.MetricData', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='stage_name', full_name='video_widevine.MetricData.stage_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='metric_data', full_name='video_widevine.MetricData.metric_data', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[_METRICDATA_TYPEVALUE, ], - enum_types=[ - _METRICDATA_METRICTYPE, - ], - options=None, - is_extendable=False, - extension_ranges=[], - oneofs=[ - ], - serialized_start=4772, - serialized_end=4989, -) - - -_VERSIONINFO = _descriptor.Descriptor( - name='VersionInfo', - full_name='video_widevine.VersionInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='license_sdk_version', full_name='video_widevine.VersionInfo.license_sdk_version', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='license_service_version', full_name='video_widevine.VersionInfo.license_service_version', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - extension_ranges=[], - oneofs=[ - ], - serialized_start=4991, - serialized_end=5066, -) - - -_SIGNEDMESSAGE = _descriptor.Descriptor( - name='SignedMessage', - full_name='video_widevine.SignedMessage', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='type', full_name='video_widevine.SignedMessage.type', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=1, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='msg', full_name='video_widevine.SignedMessage.msg', index=1, - number=2, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='signature', full_name='video_widevine.SignedMessage.signature', index=2, - number=3, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='session_key', full_name='video_widevine.SignedMessage.session_key', index=3, - number=4, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='remote_attestation', full_name='video_widevine.SignedMessage.remote_attestation', index=4, - number=5, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='metric_data', full_name='video_widevine.SignedMessage.metric_data', index=5, - number=6, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='service_version_info', full_name='video_widevine.SignedMessage.service_version_info', index=6, - number=7, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='session_key_type', full_name='video_widevine.SignedMessage.session_key_type', index=7, - number=8, type=14, cpp_type=8, label=1, - has_default_value=True, default_value=1, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='oemcrypto_core_message', full_name='video_widevine.SignedMessage.oemcrypto_core_message', index=8, - number=9, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _SIGNEDMESSAGE_MESSAGETYPE, - _SIGNEDMESSAGE_SESSIONKEYTYPE, - ], - options=None, - is_extendable=False, - extension_ranges=[], - oneofs=[ - ], - serialized_start=5069, - serialized_end=5775, -) - - -_CLIENTIDENTIFICATION_NAMEVALUE = _descriptor.Descriptor( - name='NameValue', - full_name='video_widevine.ClientIdentification.NameValue', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='name', full_name='video_widevine.ClientIdentification.NameValue.name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='value', full_name='video_widevine.ClientIdentification.NameValue.value', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - extension_ranges=[], - oneofs=[ - ], - serialized_start=6200, - serialized_end=6240, -) - -_CLIENTIDENTIFICATION_CLIENTCAPABILITIES = _descriptor.Descriptor( - name='ClientCapabilities', - full_name='video_widevine.ClientIdentification.ClientCapabilities', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='client_token', full_name='video_widevine.ClientIdentification.ClientCapabilities.client_token', index=0, - number=1, type=8, cpp_type=7, label=1, - has_default_value=True, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='session_token', full_name='video_widevine.ClientIdentification.ClientCapabilities.session_token', index=1, - number=2, type=8, cpp_type=7, label=1, - has_default_value=True, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='video_resolution_constraints', full_name='video_widevine.ClientIdentification.ClientCapabilities.video_resolution_constraints', index=2, - number=3, type=8, cpp_type=7, label=1, - has_default_value=True, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='max_hdcp_version', full_name='video_widevine.ClientIdentification.ClientCapabilities.max_hdcp_version', index=3, - number=4, type=14, cpp_type=8, label=1, - has_default_value=True, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='oem_crypto_api_version', full_name='video_widevine.ClientIdentification.ClientCapabilities.oem_crypto_api_version', index=4, - number=5, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='anti_rollback_usage_table', full_name='video_widevine.ClientIdentification.ClientCapabilities.anti_rollback_usage_table', index=5, - number=6, type=8, cpp_type=7, label=1, - has_default_value=True, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='srm_version', full_name='video_widevine.ClientIdentification.ClientCapabilities.srm_version', index=6, - number=7, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='can_update_srm', full_name='video_widevine.ClientIdentification.ClientCapabilities.can_update_srm', index=7, - number=8, type=8, cpp_type=7, label=1, - has_default_value=True, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='supported_certificate_key_type', full_name='video_widevine.ClientIdentification.ClientCapabilities.supported_certificate_key_type', index=8, - number=9, type=14, cpp_type=8, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='analog_output_capabilities', full_name='video_widevine.ClientIdentification.ClientCapabilities.analog_output_capabilities', index=9, - number=10, type=14, cpp_type=8, label=1, - has_default_value=True, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='can_disable_analog_output', full_name='video_widevine.ClientIdentification.ClientCapabilities.can_disable_analog_output', index=10, - number=11, type=8, cpp_type=7, label=1, - has_default_value=True, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='resource_rating_tier', full_name='video_widevine.ClientIdentification.ClientCapabilities.resource_rating_tier', index=11, - number=12, type=13, cpp_type=3, label=1, - has_default_value=True, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CLIENTIDENTIFICATION_CLIENTCAPABILITIES_HDCPVERSION, - _CLIENTIDENTIFICATION_CLIENTCAPABILITIES_CERTIFICATEKEYTYPE, - _CLIENTIDENTIFICATION_CLIENTCAPABILITIES_ANALOGOUTPUTCAPABILITIES, - ], - options=None, - is_extendable=False, - extension_ranges=[], - oneofs=[ - ], - serialized_start=6243, - serialized_end=7314, -) - -_CLIENTIDENTIFICATION_CLIENTCREDENTIALS = _descriptor.Descriptor( - name='ClientCredentials', - full_name='video_widevine.ClientIdentification.ClientCredentials', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='type', full_name='video_widevine.ClientIdentification.ClientCredentials.type', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=True, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='token', full_name='video_widevine.ClientIdentification.ClientCredentials.token', index=1, - number=2, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - extension_ranges=[], - oneofs=[ - ], - serialized_start=7316, - serialized_end=7420, -) - -_CLIENTIDENTIFICATION = _descriptor.Descriptor( - name='ClientIdentification', - full_name='video_widevine.ClientIdentification', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='type', full_name='video_widevine.ClientIdentification.type', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=True, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='token', full_name='video_widevine.ClientIdentification.token', index=1, - number=2, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='client_info', full_name='video_widevine.ClientIdentification.client_info', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='provider_client_token', full_name='video_widevine.ClientIdentification.provider_client_token', index=3, - number=4, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='license_counter', full_name='video_widevine.ClientIdentification.license_counter', index=4, - number=5, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='client_capabilities', full_name='video_widevine.ClientIdentification.client_capabilities', index=5, - number=6, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='vmp_data', full_name='video_widevine.ClientIdentification.vmp_data', index=6, - number=7, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='device_credentials', full_name='video_widevine.ClientIdentification.device_credentials', index=7, - number=8, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[_CLIENTIDENTIFICATION_NAMEVALUE, _CLIENTIDENTIFICATION_CLIENTCAPABILITIES, _CLIENTIDENTIFICATION_CLIENTCREDENTIALS, ], - enum_types=[ - _CLIENTIDENTIFICATION_TOKENTYPE, - ], - options=None, - is_extendable=False, - extension_ranges=[], - oneofs=[ - ], - serialized_start=5778, - serialized_end=7537, -) - - -_ENCRYPTEDCLIENTIDENTIFICATION = _descriptor.Descriptor( - name='EncryptedClientIdentification', - full_name='video_widevine.EncryptedClientIdentification', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='provider_id', full_name='video_widevine.EncryptedClientIdentification.provider_id', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='service_certificate_serial_number', full_name='video_widevine.EncryptedClientIdentification.service_certificate_serial_number', index=1, - number=2, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='encrypted_client_id', full_name='video_widevine.EncryptedClientIdentification.encrypted_client_id', index=2, - number=3, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='encrypted_client_id_iv', full_name='video_widevine.EncryptedClientIdentification.encrypted_client_id_iv', index=3, - number=4, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='encrypted_privacy_key', full_name='video_widevine.EncryptedClientIdentification.encrypted_privacy_key', index=4, - number=5, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - extension_ranges=[], - oneofs=[ - ], - serialized_start=7540, - serialized_end=7727, -) - - -_DRMCERTIFICATE_ENCRYPTIONKEY = _descriptor.Descriptor( - name='EncryptionKey', - full_name='video_widevine.DrmCertificate.EncryptionKey', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='public_key', full_name='video_widevine.DrmCertificate.EncryptionKey.public_key', index=0, - number=1, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='algorithm', full_name='video_widevine.DrmCertificate.EncryptionKey.algorithm', index=1, - number=2, type=14, cpp_type=8, label=1, - has_default_value=True, default_value=1, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - extension_ranges=[], - oneofs=[ - ], - serialized_start=8201, - serialized_end=8302, -) - -_DRMCERTIFICATE = _descriptor.Descriptor( - name='DrmCertificate', - full_name='video_widevine.DrmCertificate', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='type', full_name='video_widevine.DrmCertificate.type', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='serial_number', full_name='video_widevine.DrmCertificate.serial_number', index=1, - number=2, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='creation_time_seconds', full_name='video_widevine.DrmCertificate.creation_time_seconds', index=2, - number=3, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='expiration_time_seconds', full_name='video_widevine.DrmCertificate.expiration_time_seconds', index=3, - number=12, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='public_key', full_name='video_widevine.DrmCertificate.public_key', index=4, - number=4, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='system_id', full_name='video_widevine.DrmCertificate.system_id', index=5, - number=5, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='test_device_deprecated', full_name='video_widevine.DrmCertificate.test_device_deprecated', index=6, - number=6, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))), - _descriptor.FieldDescriptor( - name='provider_id', full_name='video_widevine.DrmCertificate.provider_id', index=7, - number=7, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='service_types', full_name='video_widevine.DrmCertificate.service_types', index=8, - number=8, type=14, cpp_type=8, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='algorithm', full_name='video_widevine.DrmCertificate.algorithm', index=9, - number=9, type=14, cpp_type=8, label=1, - has_default_value=True, default_value=1, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='rot_id', full_name='video_widevine.DrmCertificate.rot_id', index=10, - number=10, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='encryption_key', full_name='video_widevine.DrmCertificate.encryption_key', index=11, - number=11, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[_DRMCERTIFICATE_ENCRYPTIONKEY, ], - enum_types=[ - _DRMCERTIFICATE_TYPE, - _DRMCERTIFICATE_SERVICETYPE, - _DRMCERTIFICATE_ALGORITHM, - ], - options=None, - is_extendable=False, - extension_ranges=[], - oneofs=[ - ], - serialized_start=7730, - serialized_end=8619, -) - - -_SIGNEDDRMCERTIFICATE = _descriptor.Descriptor( - name='SignedDrmCertificate', - full_name='video_widevine.SignedDrmCertificate', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='drm_certificate', full_name='video_widevine.SignedDrmCertificate.drm_certificate', index=0, - number=1, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='signature', full_name='video_widevine.SignedDrmCertificate.signature', index=1, - number=2, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='signer', full_name='video_widevine.SignedDrmCertificate.signer', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='hash_algorithm', full_name='video_widevine.SignedDrmCertificate.hash_algorithm', index=3, - number=4, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - extension_ranges=[], - oneofs=[ - ], - serialized_start=8622, - serialized_end=8802, -) - - -_WIDEVINEPSSHDATA_ENTITLEDKEY = _descriptor.Descriptor( - name='EntitledKey', - full_name='video_widevine.WidevinePsshData.EntitledKey', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='entitlement_key_id', full_name='video_widevine.WidevinePsshData.EntitledKey.entitlement_key_id', index=0, - number=1, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='key_id', full_name='video_widevine.WidevinePsshData.EntitledKey.key_id', index=1, - number=2, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='key', full_name='video_widevine.WidevinePsshData.EntitledKey.key', index=2, - number=3, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='iv', full_name='video_widevine.WidevinePsshData.EntitledKey.iv', index=3, - number=4, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='entitlement_key_size_bytes', full_name='video_widevine.WidevinePsshData.EntitledKey.entitlement_key_size_bytes', index=4, - number=5, type=13, cpp_type=3, label=1, - has_default_value=True, default_value=32, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - extension_ranges=[], - oneofs=[ - ], - serialized_start=9305, - serialized_end=9427, -) - -_WIDEVINEPSSHDATA = _descriptor.Descriptor( - name='WidevinePsshData', - full_name='video_widevine.WidevinePsshData', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='key_ids', full_name='video_widevine.WidevinePsshData.key_ids', index=0, - number=2, type=12, cpp_type=9, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='content_id', full_name='video_widevine.WidevinePsshData.content_id', index=1, - number=4, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='crypto_period_index', full_name='video_widevine.WidevinePsshData.crypto_period_index', index=2, - number=7, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='protection_scheme', full_name='video_widevine.WidevinePsshData.protection_scheme', index=3, - number=9, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='crypto_period_seconds', full_name='video_widevine.WidevinePsshData.crypto_period_seconds', index=4, - number=10, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='type', full_name='video_widevine.WidevinePsshData.type', index=5, - number=11, type=14, cpp_type=8, label=1, - has_default_value=True, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='key_sequence', full_name='video_widevine.WidevinePsshData.key_sequence', index=6, - number=12, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='group_ids', full_name='video_widevine.WidevinePsshData.group_ids', index=7, - number=13, type=12, cpp_type=9, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='entitled_keys', full_name='video_widevine.WidevinePsshData.entitled_keys', index=8, - number=14, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='video_feature', full_name='video_widevine.WidevinePsshData.video_feature', index=9, - number=15, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='algorithm', full_name='video_widevine.WidevinePsshData.algorithm', index=10, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))), - _descriptor.FieldDescriptor( - name='provider', full_name='video_widevine.WidevinePsshData.provider', index=11, - number=3, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))), - _descriptor.FieldDescriptor( - name='track_type', full_name='video_widevine.WidevinePsshData.track_type', index=12, - number=5, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))), - _descriptor.FieldDescriptor( - name='policy', full_name='video_widevine.WidevinePsshData.policy', index=13, - number=6, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))), - _descriptor.FieldDescriptor( - name='grouped_license', full_name='video_widevine.WidevinePsshData.grouped_license', index=14, - number=8, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))), - ], - extensions=[ - ], - nested_types=[_WIDEVINEPSSHDATA_ENTITLEDKEY, ], - enum_types=[ - _WIDEVINEPSSHDATA_TYPE, - _WIDEVINEPSSHDATA_ALGORITHM, - ], - options=None, - is_extendable=False, - extension_ranges=[], - oneofs=[ - ], - serialized_start=8805, - serialized_end=9524, -) - - -_FILEHASHES_SIGNATURE = _descriptor.Descriptor( - name='Signature', - full_name='video_widevine.FileHashes.Signature', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='filename', full_name='video_widevine.FileHashes.Signature.filename', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='test_signing', full_name='video_widevine.FileHashes.Signature.test_signing', index=1, - number=2, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='SHA512Hash', full_name='video_widevine.FileHashes.Signature.SHA512Hash', index=2, - number=3, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='main_exe', full_name='video_widevine.FileHashes.Signature.main_exe', index=3, - number=4, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='signature', full_name='video_widevine.FileHashes.Signature.signature', index=4, - number=5, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - extension_ranges=[], - oneofs=[ - ], - serialized_start=9615, - serialized_end=9723, -) - -_FILEHASHES = _descriptor.Descriptor( - name='FileHashes', - full_name='video_widevine.FileHashes', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='signer', full_name='video_widevine.FileHashes.signer', index=0, - number=1, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='signatures', full_name='video_widevine.FileHashes.signatures', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[_FILEHASHES_SIGNATURE, ], - enum_types=[ - ], - options=None, - is_extendable=False, - extension_ranges=[], - oneofs=[ - ], - serialized_start=9527, - serialized_end=9723, -) - -_LICENSEIDENTIFICATION.fields_by_name['type'].enum_type = _LICENSETYPE -_LICENSE_POLICY.containing_type = _LICENSE -_LICENSE_KEYCONTAINER_KEYCONTROL.containing_type = _LICENSE_KEYCONTAINER -_LICENSE_KEYCONTAINER_OUTPUTPROTECTION.fields_by_name['hdcp'].enum_type = _LICENSE_KEYCONTAINER_OUTPUTPROTECTION_HDCP -_LICENSE_KEYCONTAINER_OUTPUTPROTECTION.fields_by_name['cgms_flags'].enum_type = _LICENSE_KEYCONTAINER_OUTPUTPROTECTION_CGMS -_LICENSE_KEYCONTAINER_OUTPUTPROTECTION.fields_by_name['hdcp_srm_rule'].enum_type = _LICENSE_KEYCONTAINER_OUTPUTPROTECTION_HDCPSRMRULE -_LICENSE_KEYCONTAINER_OUTPUTPROTECTION.containing_type = _LICENSE_KEYCONTAINER -_LICENSE_KEYCONTAINER_OUTPUTPROTECTION_HDCP.containing_type = _LICENSE_KEYCONTAINER_OUTPUTPROTECTION -_LICENSE_KEYCONTAINER_OUTPUTPROTECTION_CGMS.containing_type = _LICENSE_KEYCONTAINER_OUTPUTPROTECTION -_LICENSE_KEYCONTAINER_OUTPUTPROTECTION_HDCPSRMRULE.containing_type = _LICENSE_KEYCONTAINER_OUTPUTPROTECTION -_LICENSE_KEYCONTAINER_VIDEORESOLUTIONCONSTRAINT.fields_by_name['required_protection'].message_type = _LICENSE_KEYCONTAINER_OUTPUTPROTECTION -_LICENSE_KEYCONTAINER_VIDEORESOLUTIONCONSTRAINT.containing_type = _LICENSE_KEYCONTAINER -_LICENSE_KEYCONTAINER_OPERATORSESSIONKEYPERMISSIONS.containing_type = _LICENSE_KEYCONTAINER -_LICENSE_KEYCONTAINER.fields_by_name['type'].enum_type = _LICENSE_KEYCONTAINER_KEYTYPE -_LICENSE_KEYCONTAINER.fields_by_name['level'].enum_type = _LICENSE_KEYCONTAINER_SECURITYLEVEL -_LICENSE_KEYCONTAINER.fields_by_name['required_protection'].message_type = _LICENSE_KEYCONTAINER_OUTPUTPROTECTION -_LICENSE_KEYCONTAINER.fields_by_name['requested_protection'].message_type = _LICENSE_KEYCONTAINER_OUTPUTPROTECTION -_LICENSE_KEYCONTAINER.fields_by_name['key_control'].message_type = _LICENSE_KEYCONTAINER_KEYCONTROL -_LICENSE_KEYCONTAINER.fields_by_name['operator_session_key_permissions'].message_type = _LICENSE_KEYCONTAINER_OPERATORSESSIONKEYPERMISSIONS -_LICENSE_KEYCONTAINER.fields_by_name['video_resolution_constraints'].message_type = _LICENSE_KEYCONTAINER_VIDEORESOLUTIONCONSTRAINT -_LICENSE_KEYCONTAINER.containing_type = _LICENSE -_LICENSE_KEYCONTAINER_KEYTYPE.containing_type = _LICENSE_KEYCONTAINER -_LICENSE_KEYCONTAINER_SECURITYLEVEL.containing_type = _LICENSE_KEYCONTAINER -_LICENSE.fields_by_name['id'].message_type = _LICENSEIDENTIFICATION -_LICENSE.fields_by_name['policy'].message_type = _LICENSE_POLICY -_LICENSE.fields_by_name['key'].message_type = _LICENSE_KEYCONTAINER -_LICENSE.fields_by_name['platform_verification_status'].enum_type = _PLATFORMVERIFICATIONSTATUS -_LICENSEREQUEST_CONTENTIDENTIFICATION_WIDEVINEPSSHDATA.fields_by_name['license_type'].enum_type = _LICENSETYPE -_LICENSEREQUEST_CONTENTIDENTIFICATION_WIDEVINEPSSHDATA.containing_type = _LICENSEREQUEST_CONTENTIDENTIFICATION -_LICENSEREQUEST_CONTENTIDENTIFICATION_WEBMKEYID.fields_by_name['license_type'].enum_type = _LICENSETYPE -_LICENSEREQUEST_CONTENTIDENTIFICATION_WEBMKEYID.containing_type = _LICENSEREQUEST_CONTENTIDENTIFICATION -_LICENSEREQUEST_CONTENTIDENTIFICATION_EXISTINGLICENSE.fields_by_name['license_id'].message_type = _LICENSEIDENTIFICATION -_LICENSEREQUEST_CONTENTIDENTIFICATION_EXISTINGLICENSE.containing_type = _LICENSEREQUEST_CONTENTIDENTIFICATION -_LICENSEREQUEST_CONTENTIDENTIFICATION_INITDATA.fields_by_name['init_data_type'].enum_type = _LICENSEREQUEST_CONTENTIDENTIFICATION_INITDATA_INITDATATYPE -_LICENSEREQUEST_CONTENTIDENTIFICATION_INITDATA.fields_by_name['license_type'].enum_type = _LICENSETYPE -_LICENSEREQUEST_CONTENTIDENTIFICATION_INITDATA.containing_type = _LICENSEREQUEST_CONTENTIDENTIFICATION -_LICENSEREQUEST_CONTENTIDENTIFICATION_INITDATA_INITDATATYPE.containing_type = _LICENSEREQUEST_CONTENTIDENTIFICATION_INITDATA -_LICENSEREQUEST_CONTENTIDENTIFICATION.fields_by_name['widevine_pssh_data'].message_type = _LICENSEREQUEST_CONTENTIDENTIFICATION_WIDEVINEPSSHDATA -_LICENSEREQUEST_CONTENTIDENTIFICATION.fields_by_name['webm_key_id'].message_type = _LICENSEREQUEST_CONTENTIDENTIFICATION_WEBMKEYID -_LICENSEREQUEST_CONTENTIDENTIFICATION.fields_by_name['existing_license'].message_type = _LICENSEREQUEST_CONTENTIDENTIFICATION_EXISTINGLICENSE -_LICENSEREQUEST_CONTENTIDENTIFICATION.fields_by_name['init_data'].message_type = _LICENSEREQUEST_CONTENTIDENTIFICATION_INITDATA -_LICENSEREQUEST_CONTENTIDENTIFICATION.containing_type = _LICENSEREQUEST -_LICENSEREQUEST_CONTENTIDENTIFICATION.oneofs_by_name['content_id_variant'].fields.append( - _LICENSEREQUEST_CONTENTIDENTIFICATION.fields_by_name['widevine_pssh_data']) -_LICENSEREQUEST_CONTENTIDENTIFICATION.fields_by_name['widevine_pssh_data'].containing_oneof = _LICENSEREQUEST_CONTENTIDENTIFICATION.oneofs_by_name['content_id_variant'] -_LICENSEREQUEST_CONTENTIDENTIFICATION.oneofs_by_name['content_id_variant'].fields.append( - _LICENSEREQUEST_CONTENTIDENTIFICATION.fields_by_name['webm_key_id']) -_LICENSEREQUEST_CONTENTIDENTIFICATION.fields_by_name['webm_key_id'].containing_oneof = _LICENSEREQUEST_CONTENTIDENTIFICATION.oneofs_by_name['content_id_variant'] -_LICENSEREQUEST_CONTENTIDENTIFICATION.oneofs_by_name['content_id_variant'].fields.append( - _LICENSEREQUEST_CONTENTIDENTIFICATION.fields_by_name['existing_license']) -_LICENSEREQUEST_CONTENTIDENTIFICATION.fields_by_name['existing_license'].containing_oneof = _LICENSEREQUEST_CONTENTIDENTIFICATION.oneofs_by_name['content_id_variant'] -_LICENSEREQUEST_CONTENTIDENTIFICATION.oneofs_by_name['content_id_variant'].fields.append( - _LICENSEREQUEST_CONTENTIDENTIFICATION.fields_by_name['init_data']) -_LICENSEREQUEST_CONTENTIDENTIFICATION.fields_by_name['init_data'].containing_oneof = _LICENSEREQUEST_CONTENTIDENTIFICATION.oneofs_by_name['content_id_variant'] -_LICENSEREQUEST.fields_by_name['client_id'].message_type = _CLIENTIDENTIFICATION -_LICENSEREQUEST.fields_by_name['content_id'].message_type = _LICENSEREQUEST_CONTENTIDENTIFICATION -_LICENSEREQUEST.fields_by_name['type'].enum_type = _LICENSEREQUEST_REQUESTTYPE -_LICENSEREQUEST.fields_by_name['protocol_version'].enum_type = _PROTOCOLVERSION -_LICENSEREQUEST.fields_by_name['encrypted_client_id'].message_type = _ENCRYPTEDCLIENTIDENTIFICATION -_LICENSEREQUEST_REQUESTTYPE.containing_type = _LICENSEREQUEST -_METRICDATA_TYPEVALUE.fields_by_name['type'].enum_type = _METRICDATA_METRICTYPE -_METRICDATA_TYPEVALUE.containing_type = _METRICDATA -_METRICDATA.fields_by_name['metric_data'].message_type = _METRICDATA_TYPEVALUE -_METRICDATA_METRICTYPE.containing_type = _METRICDATA -_SIGNEDMESSAGE.fields_by_name['type'].enum_type = _SIGNEDMESSAGE_MESSAGETYPE -_SIGNEDMESSAGE.fields_by_name['metric_data'].message_type = _METRICDATA -_SIGNEDMESSAGE.fields_by_name['service_version_info'].message_type = _VERSIONINFO -_SIGNEDMESSAGE.fields_by_name['session_key_type'].enum_type = _SIGNEDMESSAGE_SESSIONKEYTYPE -_SIGNEDMESSAGE_MESSAGETYPE.containing_type = _SIGNEDMESSAGE -_SIGNEDMESSAGE_SESSIONKEYTYPE.containing_type = _SIGNEDMESSAGE -_CLIENTIDENTIFICATION_NAMEVALUE.containing_type = _CLIENTIDENTIFICATION -_CLIENTIDENTIFICATION_CLIENTCAPABILITIES.fields_by_name['max_hdcp_version'].enum_type = _CLIENTIDENTIFICATION_CLIENTCAPABILITIES_HDCPVERSION -_CLIENTIDENTIFICATION_CLIENTCAPABILITIES.fields_by_name['supported_certificate_key_type'].enum_type = _CLIENTIDENTIFICATION_CLIENTCAPABILITIES_CERTIFICATEKEYTYPE -_CLIENTIDENTIFICATION_CLIENTCAPABILITIES.fields_by_name['analog_output_capabilities'].enum_type = _CLIENTIDENTIFICATION_CLIENTCAPABILITIES_ANALOGOUTPUTCAPABILITIES -_CLIENTIDENTIFICATION_CLIENTCAPABILITIES.containing_type = _CLIENTIDENTIFICATION -_CLIENTIDENTIFICATION_CLIENTCAPABILITIES_HDCPVERSION.containing_type = _CLIENTIDENTIFICATION_CLIENTCAPABILITIES -_CLIENTIDENTIFICATION_CLIENTCAPABILITIES_CERTIFICATEKEYTYPE.containing_type = _CLIENTIDENTIFICATION_CLIENTCAPABILITIES -_CLIENTIDENTIFICATION_CLIENTCAPABILITIES_ANALOGOUTPUTCAPABILITIES.containing_type = _CLIENTIDENTIFICATION_CLIENTCAPABILITIES -_CLIENTIDENTIFICATION_CLIENTCREDENTIALS.fields_by_name['type'].enum_type = _CLIENTIDENTIFICATION_TOKENTYPE -_CLIENTIDENTIFICATION_CLIENTCREDENTIALS.containing_type = _CLIENTIDENTIFICATION -_CLIENTIDENTIFICATION.fields_by_name['type'].enum_type = _CLIENTIDENTIFICATION_TOKENTYPE -_CLIENTIDENTIFICATION.fields_by_name['client_info'].message_type = _CLIENTIDENTIFICATION_NAMEVALUE -_CLIENTIDENTIFICATION.fields_by_name['client_capabilities'].message_type = _CLIENTIDENTIFICATION_CLIENTCAPABILITIES -_CLIENTIDENTIFICATION.fields_by_name['device_credentials'].message_type = _CLIENTIDENTIFICATION_CLIENTCREDENTIALS -_CLIENTIDENTIFICATION_TOKENTYPE.containing_type = _CLIENTIDENTIFICATION -_DRMCERTIFICATE_ENCRYPTIONKEY.fields_by_name['algorithm'].enum_type = _DRMCERTIFICATE_ALGORITHM -_DRMCERTIFICATE_ENCRYPTIONKEY.containing_type = _DRMCERTIFICATE -_DRMCERTIFICATE.fields_by_name['type'].enum_type = _DRMCERTIFICATE_TYPE -_DRMCERTIFICATE.fields_by_name['service_types'].enum_type = _DRMCERTIFICATE_SERVICETYPE -_DRMCERTIFICATE.fields_by_name['algorithm'].enum_type = _DRMCERTIFICATE_ALGORITHM -_DRMCERTIFICATE.fields_by_name['encryption_key'].message_type = _DRMCERTIFICATE_ENCRYPTIONKEY -_DRMCERTIFICATE_TYPE.containing_type = _DRMCERTIFICATE -_DRMCERTIFICATE_SERVICETYPE.containing_type = _DRMCERTIFICATE -_DRMCERTIFICATE_ALGORITHM.containing_type = _DRMCERTIFICATE -_SIGNEDDRMCERTIFICATE.fields_by_name['signer'].message_type = _SIGNEDDRMCERTIFICATE -_SIGNEDDRMCERTIFICATE.fields_by_name['hash_algorithm'].enum_type = _HASHALGORITHMPROTO -_WIDEVINEPSSHDATA_ENTITLEDKEY.containing_type = _WIDEVINEPSSHDATA -_WIDEVINEPSSHDATA.fields_by_name['type'].enum_type = _WIDEVINEPSSHDATA_TYPE -_WIDEVINEPSSHDATA.fields_by_name['entitled_keys'].message_type = _WIDEVINEPSSHDATA_ENTITLEDKEY -_WIDEVINEPSSHDATA.fields_by_name['algorithm'].enum_type = _WIDEVINEPSSHDATA_ALGORITHM -_WIDEVINEPSSHDATA_TYPE.containing_type = _WIDEVINEPSSHDATA -_WIDEVINEPSSHDATA_ALGORITHM.containing_type = _WIDEVINEPSSHDATA -_FILEHASHES_SIGNATURE.containing_type = _FILEHASHES -_FILEHASHES.fields_by_name['signatures'].message_type = _FILEHASHES_SIGNATURE -DESCRIPTOR.message_types_by_name['LicenseIdentification'] = _LICENSEIDENTIFICATION -DESCRIPTOR.message_types_by_name['License'] = _LICENSE -DESCRIPTOR.message_types_by_name['LicenseRequest'] = _LICENSEREQUEST -DESCRIPTOR.message_types_by_name['MetricData'] = _METRICDATA -DESCRIPTOR.message_types_by_name['VersionInfo'] = _VERSIONINFO -DESCRIPTOR.message_types_by_name['SignedMessage'] = _SIGNEDMESSAGE -DESCRIPTOR.message_types_by_name['ClientIdentification'] = _CLIENTIDENTIFICATION -DESCRIPTOR.message_types_by_name['EncryptedClientIdentification'] = _ENCRYPTEDCLIENTIDENTIFICATION -DESCRIPTOR.message_types_by_name['DrmCertificate'] = _DRMCERTIFICATE -DESCRIPTOR.message_types_by_name['SignedDrmCertificate'] = _SIGNEDDRMCERTIFICATE -DESCRIPTOR.message_types_by_name['WidevinePsshData'] = _WIDEVINEPSSHDATA -DESCRIPTOR.message_types_by_name['FileHashes'] = _FILEHASHES -DESCRIPTOR.enum_types_by_name['LicenseType'] = _LICENSETYPE -DESCRIPTOR.enum_types_by_name['PlatformVerificationStatus'] = _PLATFORMVERIFICATIONSTATUS -DESCRIPTOR.enum_types_by_name['ProtocolVersion'] = _PROTOCOLVERSION -DESCRIPTOR.enum_types_by_name['HashAlgorithmProto'] = _HASHALGORITHMPROTO - -LicenseIdentification = _reflection.GeneratedProtocolMessageType('LicenseIdentification', (_message.Message,), dict( - DESCRIPTOR = _LICENSEIDENTIFICATION, - __module__ = 'pywidevine.license_protocol_pb2' - # @@protoc_insertion_point(class_scope:video_widevine.LicenseIdentification) - )) -_sym_db.RegisterMessage(LicenseIdentification) - -License = _reflection.GeneratedProtocolMessageType('License', (_message.Message,), dict( - - Policy = _reflection.GeneratedProtocolMessageType('Policy', (_message.Message,), dict( - DESCRIPTOR = _LICENSE_POLICY, - __module__ = 'pywidevine.license_protocol_pb2' - # @@protoc_insertion_point(class_scope:video_widevine.License.Policy) - )) - , - - KeyContainer = _reflection.GeneratedProtocolMessageType('KeyContainer', (_message.Message,), dict( - - KeyControl = _reflection.GeneratedProtocolMessageType('KeyControl', (_message.Message,), dict( - DESCRIPTOR = _LICENSE_KEYCONTAINER_KEYCONTROL, - __module__ = 'pywidevine.license_protocol_pb2' - # @@protoc_insertion_point(class_scope:video_widevine.License.KeyContainer.KeyControl) - )) - , - - OutputProtection = _reflection.GeneratedProtocolMessageType('OutputProtection', (_message.Message,), dict( - DESCRIPTOR = _LICENSE_KEYCONTAINER_OUTPUTPROTECTION, - __module__ = 'pywidevine.license_protocol_pb2' - # @@protoc_insertion_point(class_scope:video_widevine.License.KeyContainer.OutputProtection) - )) - , - - VideoResolutionConstraint = _reflection.GeneratedProtocolMessageType('VideoResolutionConstraint', (_message.Message,), dict( - DESCRIPTOR = _LICENSE_KEYCONTAINER_VIDEORESOLUTIONCONSTRAINT, - __module__ = 'pywidevine.license_protocol_pb2' - # @@protoc_insertion_point(class_scope:video_widevine.License.KeyContainer.VideoResolutionConstraint) - )) - , - - OperatorSessionKeyPermissions = _reflection.GeneratedProtocolMessageType('OperatorSessionKeyPermissions', (_message.Message,), dict( - DESCRIPTOR = _LICENSE_KEYCONTAINER_OPERATORSESSIONKEYPERMISSIONS, - __module__ = 'pywidevine.license_protocol_pb2' - # @@protoc_insertion_point(class_scope:video_widevine.License.KeyContainer.OperatorSessionKeyPermissions) - )) - , - DESCRIPTOR = _LICENSE_KEYCONTAINER, - __module__ = 'pywidevine.license_protocol_pb2' - # @@protoc_insertion_point(class_scope:video_widevine.License.KeyContainer) - )) - , - DESCRIPTOR = _LICENSE, - __module__ = 'pywidevine.license_protocol_pb2' - # @@protoc_insertion_point(class_scope:video_widevine.License) - )) -_sym_db.RegisterMessage(License) -_sym_db.RegisterMessage(License.Policy) -_sym_db.RegisterMessage(License.KeyContainer) -_sym_db.RegisterMessage(License.KeyContainer.KeyControl) -_sym_db.RegisterMessage(License.KeyContainer.OutputProtection) -_sym_db.RegisterMessage(License.KeyContainer.VideoResolutionConstraint) -_sym_db.RegisterMessage(License.KeyContainer.OperatorSessionKeyPermissions) - -LicenseRequest = _reflection.GeneratedProtocolMessageType('LicenseRequest', (_message.Message,), dict( - - ContentIdentification = _reflection.GeneratedProtocolMessageType('ContentIdentification', (_message.Message,), dict( - - WidevinePsshData = _reflection.GeneratedProtocolMessageType('WidevinePsshData', (_message.Message,), dict( - DESCRIPTOR = _LICENSEREQUEST_CONTENTIDENTIFICATION_WIDEVINEPSSHDATA, - __module__ = 'pywidevine.license_protocol_pb2' - # @@protoc_insertion_point(class_scope:video_widevine.LicenseRequest.ContentIdentification.WidevinePsshData) - )) - , - - WebmKeyId = _reflection.GeneratedProtocolMessageType('WebmKeyId', (_message.Message,), dict( - DESCRIPTOR = _LICENSEREQUEST_CONTENTIDENTIFICATION_WEBMKEYID, - __module__ = 'pywidevine.license_protocol_pb2' - # @@protoc_insertion_point(class_scope:video_widevine.LicenseRequest.ContentIdentification.WebmKeyId) - )) - , - - ExistingLicense = _reflection.GeneratedProtocolMessageType('ExistingLicense', (_message.Message,), dict( - DESCRIPTOR = _LICENSEREQUEST_CONTENTIDENTIFICATION_EXISTINGLICENSE, - __module__ = 'pywidevine.license_protocol_pb2' - # @@protoc_insertion_point(class_scope:video_widevine.LicenseRequest.ContentIdentification.ExistingLicense) - )) - , - - InitData = _reflection.GeneratedProtocolMessageType('InitData', (_message.Message,), dict( - DESCRIPTOR = _LICENSEREQUEST_CONTENTIDENTIFICATION_INITDATA, - __module__ = 'pywidevine.license_protocol_pb2' - # @@protoc_insertion_point(class_scope:video_widevine.LicenseRequest.ContentIdentification.InitData) - )) - , - DESCRIPTOR = _LICENSEREQUEST_CONTENTIDENTIFICATION, - __module__ = 'pywidevine.license_protocol_pb2' - # @@protoc_insertion_point(class_scope:video_widevine.LicenseRequest.ContentIdentification) - )) - , - DESCRIPTOR = _LICENSEREQUEST, - __module__ = 'pywidevine.license_protocol_pb2' - # @@protoc_insertion_point(class_scope:video_widevine.LicenseRequest) - )) -_sym_db.RegisterMessage(LicenseRequest) -_sym_db.RegisterMessage(LicenseRequest.ContentIdentification) -_sym_db.RegisterMessage(LicenseRequest.ContentIdentification.WidevinePsshData) -_sym_db.RegisterMessage(LicenseRequest.ContentIdentification.WebmKeyId) -_sym_db.RegisterMessage(LicenseRequest.ContentIdentification.ExistingLicense) -_sym_db.RegisterMessage(LicenseRequest.ContentIdentification.InitData) - -MetricData = _reflection.GeneratedProtocolMessageType('MetricData', (_message.Message,), dict( - - TypeValue = _reflection.GeneratedProtocolMessageType('TypeValue', (_message.Message,), dict( - DESCRIPTOR = _METRICDATA_TYPEVALUE, - __module__ = 'pywidevine.license_protocol_pb2' - # @@protoc_insertion_point(class_scope:video_widevine.MetricData.TypeValue) - )) - , - DESCRIPTOR = _METRICDATA, - __module__ = 'pywidevine.license_protocol_pb2' - # @@protoc_insertion_point(class_scope:video_widevine.MetricData) - )) -_sym_db.RegisterMessage(MetricData) -_sym_db.RegisterMessage(MetricData.TypeValue) - -VersionInfo = _reflection.GeneratedProtocolMessageType('VersionInfo', (_message.Message,), dict( - DESCRIPTOR = _VERSIONINFO, - __module__ = 'pywidevine.license_protocol_pb2' - # @@protoc_insertion_point(class_scope:video_widevine.VersionInfo) - )) -_sym_db.RegisterMessage(VersionInfo) - -SignedMessage = _reflection.GeneratedProtocolMessageType('SignedMessage', (_message.Message,), dict( - DESCRIPTOR = _SIGNEDMESSAGE, - __module__ = 'pywidevine.license_protocol_pb2' - # @@protoc_insertion_point(class_scope:video_widevine.SignedMessage) - )) -_sym_db.RegisterMessage(SignedMessage) - -ClientIdentification = _reflection.GeneratedProtocolMessageType('ClientIdentification', (_message.Message,), dict( - - NameValue = _reflection.GeneratedProtocolMessageType('NameValue', (_message.Message,), dict( - DESCRIPTOR = _CLIENTIDENTIFICATION_NAMEVALUE, - __module__ = 'pywidevine.license_protocol_pb2' - # @@protoc_insertion_point(class_scope:video_widevine.ClientIdentification.NameValue) - )) - , - - ClientCapabilities = _reflection.GeneratedProtocolMessageType('ClientCapabilities', (_message.Message,), dict( - DESCRIPTOR = _CLIENTIDENTIFICATION_CLIENTCAPABILITIES, - __module__ = 'pywidevine.license_protocol_pb2' - # @@protoc_insertion_point(class_scope:video_widevine.ClientIdentification.ClientCapabilities) - )) - , - - ClientCredentials = _reflection.GeneratedProtocolMessageType('ClientCredentials', (_message.Message,), dict( - DESCRIPTOR = _CLIENTIDENTIFICATION_CLIENTCREDENTIALS, - __module__ = 'pywidevine.license_protocol_pb2' - # @@protoc_insertion_point(class_scope:video_widevine.ClientIdentification.ClientCredentials) - )) - , - DESCRIPTOR = _CLIENTIDENTIFICATION, - __module__ = 'pywidevine.license_protocol_pb2' - # @@protoc_insertion_point(class_scope:video_widevine.ClientIdentification) - )) -_sym_db.RegisterMessage(ClientIdentification) -_sym_db.RegisterMessage(ClientIdentification.NameValue) -_sym_db.RegisterMessage(ClientIdentification.ClientCapabilities) -_sym_db.RegisterMessage(ClientIdentification.ClientCredentials) - -EncryptedClientIdentification = _reflection.GeneratedProtocolMessageType('EncryptedClientIdentification', (_message.Message,), dict( - DESCRIPTOR = _ENCRYPTEDCLIENTIDENTIFICATION, - __module__ = 'pywidevine.license_protocol_pb2' - # @@protoc_insertion_point(class_scope:video_widevine.EncryptedClientIdentification) - )) -_sym_db.RegisterMessage(EncryptedClientIdentification) - -DrmCertificate = _reflection.GeneratedProtocolMessageType('DrmCertificate', (_message.Message,), dict( - - EncryptionKey = _reflection.GeneratedProtocolMessageType('EncryptionKey', (_message.Message,), dict( - DESCRIPTOR = _DRMCERTIFICATE_ENCRYPTIONKEY, - __module__ = 'pywidevine.license_protocol_pb2' - # @@protoc_insertion_point(class_scope:video_widevine.DrmCertificate.EncryptionKey) - )) - , - DESCRIPTOR = _DRMCERTIFICATE, - __module__ = 'pywidevine.license_protocol_pb2' - # @@protoc_insertion_point(class_scope:video_widevine.DrmCertificate) - )) -_sym_db.RegisterMessage(DrmCertificate) -_sym_db.RegisterMessage(DrmCertificate.EncryptionKey) - -SignedDrmCertificate = _reflection.GeneratedProtocolMessageType('SignedDrmCertificate', (_message.Message,), dict( - DESCRIPTOR = _SIGNEDDRMCERTIFICATE, - __module__ = 'pywidevine.license_protocol_pb2' - # @@protoc_insertion_point(class_scope:video_widevine.SignedDrmCertificate) - )) -_sym_db.RegisterMessage(SignedDrmCertificate) - -WidevinePsshData = _reflection.GeneratedProtocolMessageType('WidevinePsshData', (_message.Message,), dict( - - EntitledKey = _reflection.GeneratedProtocolMessageType('EntitledKey', (_message.Message,), dict( - DESCRIPTOR = _WIDEVINEPSSHDATA_ENTITLEDKEY, - __module__ = 'pywidevine.license_protocol_pb2' - # @@protoc_insertion_point(class_scope:video_widevine.WidevinePsshData.EntitledKey) - )) - , - DESCRIPTOR = _WIDEVINEPSSHDATA, - __module__ = 'pywidevine.license_protocol_pb2' - # @@protoc_insertion_point(class_scope:video_widevine.WidevinePsshData) - )) -_sym_db.RegisterMessage(WidevinePsshData) -_sym_db.RegisterMessage(WidevinePsshData.EntitledKey) - -FileHashes = _reflection.GeneratedProtocolMessageType('FileHashes', (_message.Message,), dict( - - Signature = _reflection.GeneratedProtocolMessageType('Signature', (_message.Message,), dict( - DESCRIPTOR = _FILEHASHES_SIGNATURE, - __module__ = 'pywidevine.license_protocol_pb2' - # @@protoc_insertion_point(class_scope:video_widevine.FileHashes.Signature) - )) - , - DESCRIPTOR = _FILEHASHES, - __module__ = 'pywidevine.license_protocol_pb2' - # @@protoc_insertion_point(class_scope:video_widevine.FileHashes) - )) -_sym_db.RegisterMessage(FileHashes) -_sym_db.RegisterMessage(FileHashes.Signature) - - -DESCRIPTOR.has_options = True -DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\n com.google.video.widevine.protosH\003')) -_DRMCERTIFICATE.fields_by_name['test_device_deprecated'].has_options = True -_DRMCERTIFICATE.fields_by_name['test_device_deprecated']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001')) -_WIDEVINEPSSHDATA.fields_by_name['algorithm'].has_options = True -_WIDEVINEPSSHDATA.fields_by_name['algorithm']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001')) -_WIDEVINEPSSHDATA.fields_by_name['provider'].has_options = True -_WIDEVINEPSSHDATA.fields_by_name['provider']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001')) -_WIDEVINEPSSHDATA.fields_by_name['track_type'].has_options = True -_WIDEVINEPSSHDATA.fields_by_name['track_type']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001')) -_WIDEVINEPSSHDATA.fields_by_name['policy'].has_options = True -_WIDEVINEPSSHDATA.fields_by_name['policy']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001')) -_WIDEVINEPSSHDATA.fields_by_name['grouped_license'].has_options = True -_WIDEVINEPSSHDATA.fields_by_name['grouped_license']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001')) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16license_protocol.proto\x12\x0evideo_widevine\"\xb0\x01\n\x15LicenseIdentification\x12\x12\n\nrequest_id\x18\x01 \x01(\x0c\x12\x12\n\nsession_id\x18\x02 \x01(\x0c\x12\x13\n\x0bpurchase_id\x18\x03 \x01(\x0c\x12)\n\x04type\x18\x04 \x01(\x0e\x32\x1b.video_widevine.LicenseType\x12\x0f\n\x07version\x18\x05 \x01(\x05\x12\x1e\n\x16provider_session_token\x18\x06 \x01(\x0c\"\xae\x17\n\x07License\x12\x31\n\x02id\x18\x01 \x01(\x0b\x32%.video_widevine.LicenseIdentification\x12.\n\x06policy\x18\x02 \x01(\x0b\x32\x1e.video_widevine.License.Policy\x12\x31\n\x03key\x18\x03 \x03(\x0b\x32$.video_widevine.License.KeyContainer\x12\x1a\n\x12license_start_time\x18\x04 \x01(\x03\x12*\n\x1bremote_attestation_verified\x18\x05 \x01(\x08:\x05\x66\x61lse\x12\x1d\n\x15provider_client_token\x18\x06 \x01(\x0c\x12\x19\n\x11protection_scheme\x18\x07 \x01(\r\x12\x17\n\x0fsrm_requirement\x18\x08 \x01(\x0c\x12\x12\n\nsrm_update\x18\t \x01(\x0c\x12j\n\x1cplatform_verification_status\x18\n \x01(\x0e\x32*.video_widevine.PlatformVerificationStatus:\x18PLATFORM_NO_VERIFICATION\x12\x11\n\tgroup_ids\x18\x0b \x03(\x0c\x1a\xae\x04\n\x06Policy\x12\x17\n\x08\x63\x61n_play\x18\x01 \x01(\x08:\x05\x66\x61lse\x12\x1a\n\x0b\x63\x61n_persist\x18\x02 \x01(\x08:\x05\x66\x61lse\x12\x18\n\tcan_renew\x18\x03 \x01(\x08:\x05\x66\x61lse\x12\"\n\x17rental_duration_seconds\x18\x04 \x01(\x03:\x01\x30\x12$\n\x19playback_duration_seconds\x18\x05 \x01(\x03:\x01\x30\x12#\n\x18license_duration_seconds\x18\x06 \x01(\x03:\x01\x30\x12,\n!renewal_recovery_duration_seconds\x18\x07 \x01(\x03:\x01\x30\x12\x1a\n\x12renewal_server_url\x18\x08 \x01(\t\x12 \n\x15renewal_delay_seconds\x18\t \x01(\x03:\x01\x30\x12)\n\x1erenewal_retry_interval_seconds\x18\n \x01(\x03:\x01\x30\x12\x1f\n\x10renew_with_usage\x18\x0b \x01(\x08:\x05\x66\x61lse\x12\'\n\x18\x61lways_include_client_id\x18\x0c \x01(\x08:\x05\x66\x61lse\x12*\n\x1fplay_start_grace_period_seconds\x18\r \x01(\x03:\x01\x30\x12-\n\x1esoft_enforce_playback_duration\x18\x0e \x01(\x08:\x05\x66\x61lse\x12*\n\x1csoft_enforce_rental_duration\x18\x0f \x01(\x08:\x04true\x1a\xad\x0f\n\x0cKeyContainer\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\n\n\x02iv\x18\x02 \x01(\x0c\x12\x0b\n\x03key\x18\x03 \x01(\x0c\x12:\n\x04type\x18\x04 \x01(\x0e\x32,.video_widevine.License.KeyContainer.KeyType\x12S\n\x05level\x18\x05 \x01(\x0e\x32\x32.video_widevine.License.KeyContainer.SecurityLevel:\x10SW_SECURE_CRYPTO\x12R\n\x13required_protection\x18\x06 \x01(\x0b\x32\x35.video_widevine.License.KeyContainer.OutputProtection\x12S\n\x14requested_protection\x18\x07 \x01(\x0b\x32\x35.video_widevine.License.KeyContainer.OutputProtection\x12\x44\n\x0bkey_control\x18\x08 \x01(\x0b\x32/.video_widevine.License.KeyContainer.KeyControl\x12l\n operator_session_key_permissions\x18\t \x01(\x0b\x32\x42.video_widevine.License.KeyContainer.OperatorSessionKeyPermissions\x12\x64\n\x1cvideo_resolution_constraints\x18\n \x03(\x0b\x32>.video_widevine.License.KeyContainer.VideoResolutionConstraint\x12(\n\x19\x61nti_rollback_usage_table\x18\x0b \x01(\x08:\x05\x66\x61lse\x12\x13\n\x0btrack_label\x18\x0c \x01(\t\x1a\x33\n\nKeyControl\x12\x19\n\x11key_control_block\x18\x01 \x01(\x0c\x12\n\n\x02iv\x18\x02 \x01(\x0c\x1a\xf5\x04\n\x10OutputProtection\x12S\n\x04hdcp\x18\x01 \x01(\x0e\x32:.video_widevine.License.KeyContainer.OutputProtection.HDCP:\tHDCP_NONE\x12Y\n\ncgms_flags\x18\x02 \x01(\x0e\x32:.video_widevine.License.KeyContainer.OutputProtection.CGMS:\tCGMS_NONE\x12l\n\rhdcp_srm_rule\x18\x03 \x01(\x0e\x32\x41.video_widevine.License.KeyContainer.OutputProtection.HdcpSrmRule:\x12HDCP_SRM_RULE_NONE\x12$\n\x15\x64isable_analog_output\x18\x04 \x01(\x08:\x05\x66\x61lse\x12%\n\x16\x64isable_digital_output\x18\x05 \x01(\x08:\x05\x66\x61lse\"y\n\x04HDCP\x12\r\n\tHDCP_NONE\x10\x00\x12\x0b\n\x07HDCP_V1\x10\x01\x12\x0b\n\x07HDCP_V2\x10\x02\x12\r\n\tHDCP_V2_1\x10\x03\x12\r\n\tHDCP_V2_2\x10\x04\x12\r\n\tHDCP_V2_3\x10\x05\x12\x1b\n\x16HDCP_NO_DIGITAL_OUTPUT\x10\xff\x01\"C\n\x04\x43GMS\x12\r\n\tCGMS_NONE\x10*\x12\r\n\tCOPY_FREE\x10\x00\x12\r\n\tCOPY_ONCE\x10\x02\x12\x0e\n\nCOPY_NEVER\x10\x03\"6\n\x0bHdcpSrmRule\x12\x16\n\x12HDCP_SRM_RULE_NONE\x10\x00\x12\x0f\n\x0b\x43URRENT_SRM\x10\x01\x1a\xad\x01\n\x19VideoResolutionConstraint\x12\x1d\n\x15min_resolution_pixels\x18\x01 \x01(\r\x12\x1d\n\x15max_resolution_pixels\x18\x02 \x01(\r\x12R\n\x13required_protection\x18\x03 \x01(\x0b\x32\x35.video_widevine.License.KeyContainer.OutputProtection\x1a\x9d\x01\n\x1dOperatorSessionKeyPermissions\x12\x1c\n\rallow_encrypt\x18\x01 \x01(\x08:\x05\x66\x61lse\x12\x1c\n\rallow_decrypt\x18\x02 \x01(\x08:\x05\x66\x61lse\x12\x19\n\nallow_sign\x18\x03 \x01(\x08:\x05\x66\x61lse\x12%\n\x16\x61llow_signature_verify\x18\x04 \x01(\x08:\x05\x66\x61lse\"l\n\x07KeyType\x12\x0b\n\x07SIGNING\x10\x01\x12\x0b\n\x07\x43ONTENT\x10\x02\x12\x0f\n\x0bKEY_CONTROL\x10\x03\x12\x14\n\x10OPERATOR_SESSION\x10\x04\x12\x0f\n\x0b\x45NTITLEMENT\x10\x05\x12\x0f\n\x0bOEM_CONTENT\x10\x06\"z\n\rSecurityLevel\x12\x14\n\x10SW_SECURE_CRYPTO\x10\x01\x12\x14\n\x10SW_SECURE_DECODE\x10\x02\x12\x14\n\x10HW_SECURE_CRYPTO\x10\x03\x12\x14\n\x10HW_SECURE_DECODE\x10\x04\x12\x11\n\rHW_SECURE_ALL\x10\x05\"\x87\x0c\n\x0eLicenseRequest\x12\x37\n\tclient_id\x18\x01 \x01(\x0b\x32$.video_widevine.ClientIdentification\x12H\n\ncontent_id\x18\x02 \x01(\x0b\x32\x34.video_widevine.LicenseRequest.ContentIdentification\x12\x38\n\x04type\x18\x03 \x01(\x0e\x32*.video_widevine.LicenseRequest.RequestType\x12\x14\n\x0crequest_time\x18\x04 \x01(\x03\x12$\n\x1ckey_control_nonce_deprecated\x18\x05 \x01(\x0c\x12\x46\n\x10protocol_version\x18\x06 \x01(\x0e\x32\x1f.video_widevine.ProtocolVersion:\x0bVERSION_2_0\x12\x19\n\x11key_control_nonce\x18\x07 \x01(\r\x12J\n\x13\x65ncrypted_client_id\x18\x08 \x01(\x0b\x32-.video_widevine.EncryptedClientIdentification\x1a\x9a\x08\n\x15\x43ontentIdentification\x12\x63\n\x12widevine_pssh_data\x18\x01 \x01(\x0b\x32\x45.video_widevine.LicenseRequest.ContentIdentification.WidevinePsshDataH\x00\x12U\n\x0bwebm_key_id\x18\x02 \x01(\x0b\x32>.video_widevine.LicenseRequest.ContentIdentification.WebmKeyIdH\x00\x12`\n\x10\x65xisting_license\x18\x03 \x01(\x0b\x32\x44.video_widevine.LicenseRequest.ContentIdentification.ExistingLicenseH\x00\x12R\n\tinit_data\x18\x04 \x01(\x0b\x32=.video_widevine.LicenseRequest.ContentIdentification.InitDataH\x00\x1al\n\x10WidevinePsshData\x12\x11\n\tpssh_data\x18\x01 \x03(\x0c\x12\x31\n\x0clicense_type\x18\x02 \x01(\x0e\x32\x1b.video_widevine.LicenseType\x12\x12\n\nrequest_id\x18\x03 \x01(\x0c\x1a\x62\n\tWebmKeyId\x12\x0e\n\x06header\x18\x01 \x01(\x0c\x12\x31\n\x0clicense_type\x18\x02 \x01(\x0e\x32\x1b.video_widevine.LicenseType\x12\x12\n\nrequest_id\x18\x03 \x01(\x0c\x1a\xb1\x01\n\x0f\x45xistingLicense\x12\x39\n\nlicense_id\x18\x01 \x01(\x0b\x32%.video_widevine.LicenseIdentification\x12\x1d\n\x15seconds_since_started\x18\x02 \x01(\x03\x12!\n\x19seconds_since_last_played\x18\x03 \x01(\x03\x12!\n\x19session_usage_table_entry\x18\x04 \x01(\x0c\x1a\xf2\x01\n\x08InitData\x12h\n\x0einit_data_type\x18\x01 \x01(\x0e\x32J.video_widevine.LicenseRequest.ContentIdentification.InitData.InitDataType:\x04\x43\x45NC\x12\x11\n\tinit_data\x18\x02 \x01(\x0c\x12\x31\n\x0clicense_type\x18\x03 \x01(\x0e\x32\x1b.video_widevine.LicenseType\x12\x12\n\nrequest_id\x18\x04 \x01(\x0c\"\"\n\x0cInitDataType\x12\x08\n\x04\x43\x45NC\x10\x01\x12\x08\n\x04WEBM\x10\x02\x42\x14\n\x12\x63ontent_id_variant\"0\n\x0bRequestType\x12\x07\n\x03NEW\x10\x01\x12\x0b\n\x07RENEWAL\x10\x02\x12\x0b\n\x07RELEASE\x10\x03\"\xd9\x01\n\nMetricData\x12\x12\n\nstage_name\x18\x01 \x01(\t\x12\x39\n\x0bmetric_data\x18\x02 \x03(\x0b\x32$.video_widevine.MetricData.TypeValue\x1aR\n\tTypeValue\x12\x33\n\x04type\x18\x01 \x01(\x0e\x32%.video_widevine.MetricData.MetricType\x12\x10\n\x05value\x18\x02 \x01(\x03:\x01\x30\"(\n\nMetricType\x12\x0b\n\x07LATENCY\x10\x01\x12\r\n\tTIMESTAMP\x10\x02\"K\n\x0bVersionInfo\x12\x1b\n\x13license_sdk_version\x18\x01 \x01(\t\x12\x1f\n\x17license_service_version\x18\x02 \x01(\t\"\xc2\x05\n\rSignedMessage\x12\x37\n\x04type\x18\x01 \x01(\x0e\x32).video_widevine.SignedMessage.MessageType\x12\x0b\n\x03msg\x18\x02 \x01(\x0c\x12\x11\n\tsignature\x18\x03 \x01(\x0c\x12\x13\n\x0bsession_key\x18\x04 \x01(\x0c\x12\x1a\n\x12remote_attestation\x18\x05 \x01(\x0c\x12/\n\x0bmetric_data\x18\x06 \x03(\x0b\x32\x1a.video_widevine.MetricData\x12\x39\n\x14service_version_info\x18\x07 \x01(\x0b\x32\x1b.video_widevine.VersionInfo\x12W\n\x10session_key_type\x18\x08 \x01(\x0e\x32,.video_widevine.SignedMessage.SessionKeyType:\x0fWRAPPED_AES_KEY\x12\x1e\n\x16oemcrypto_core_message\x18\t \x01(\x0c\"\xec\x01\n\x0bMessageType\x12\x13\n\x0fLICENSE_REQUEST\x10\x01\x12\x0b\n\x07LICENSE\x10\x02\x12\x12\n\x0e\x45RROR_RESPONSE\x10\x03\x12\x1f\n\x1bSERVICE_CERTIFICATE_REQUEST\x10\x04\x12\x17\n\x13SERVICE_CERTIFICATE\x10\x05\x12\x0f\n\x0bSUB_LICENSE\x10\x06\x12\x17\n\x13\x43\x41S_LICENSE_REQUEST\x10\x07\x12\x0f\n\x0b\x43\x41S_LICENSE\x10\x08\x12\x1c\n\x18\x45XTERNAL_LICENSE_REQUEST\x10\t\x12\x14\n\x10\x45XTERNAL_LICENSE\x10\n\"S\n\x0eSessionKeyType\x12\r\n\tUNDEFINED\x10\x00\x12\x13\n\x0fWRAPPED_AES_KEY\x10\x01\x12\x1d\n\x19\x45PHERMERAL_ECC_PUBLIC_KEY\x10\x02\"\xdf\r\n\x14\x43lientIdentification\x12\x44\n\x04type\x18\x01 \x01(\x0e\x32..video_widevine.ClientIdentification.TokenType:\x06KEYBOX\x12\r\n\x05token\x18\x02 \x01(\x0c\x12\x43\n\x0b\x63lient_info\x18\x03 \x03(\x0b\x32..video_widevine.ClientIdentification.NameValue\x12\x1d\n\x15provider_client_token\x18\x04 \x01(\x0c\x12\x17\n\x0flicense_counter\x18\x05 \x01(\r\x12T\n\x13\x63lient_capabilities\x18\x06 \x01(\x0b\x32\x37.video_widevine.ClientIdentification.ClientCapabilities\x12\x10\n\x08vmp_data\x18\x07 \x01(\x0c\x12R\n\x12\x64\x65vice_credentials\x18\x08 \x03(\x0b\x32\x36.video_widevine.ClientIdentification.ClientCredentials\x1a(\n\tNameValue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x1a\xaf\x08\n\x12\x43lientCapabilities\x12\x1b\n\x0c\x63lient_token\x18\x01 \x01(\x08:\x05\x66\x61lse\x12\x1c\n\rsession_token\x18\x02 \x01(\x08:\x05\x66\x61lse\x12+\n\x1cvideo_resolution_constraints\x18\x03 \x01(\x08:\x05\x66\x61lse\x12h\n\x10max_hdcp_version\x18\x04 \x01(\x0e\x32\x43.video_widevine.ClientIdentification.ClientCapabilities.HdcpVersion:\tHDCP_NONE\x12\x1e\n\x16oem_crypto_api_version\x18\x05 \x01(\r\x12(\n\x19\x61nti_rollback_usage_table\x18\x06 \x01(\x08:\x05\x66\x61lse\x12\x13\n\x0bsrm_version\x18\x07 \x01(\r\x12\x1d\n\x0e\x63\x61n_update_srm\x18\x08 \x01(\x08:\x05\x66\x61lse\x12r\n\x1esupported_certificate_key_type\x18\t \x03(\x0e\x32J.video_widevine.ClientIdentification.ClientCapabilities.CertificateKeyType\x12\x8b\x01\n\x1a\x61nalog_output_capabilities\x18\n \x01(\x0e\x32P.video_widevine.ClientIdentification.ClientCapabilities.AnalogOutputCapabilities:\x15\x41NALOG_OUTPUT_UNKNOWN\x12(\n\x19\x63\x61n_disable_analog_output\x18\x0b \x01(\x08:\x05\x66\x61lse\x12\x1f\n\x14resource_rating_tier\x18\x0c \x01(\r:\x01\x30\"\x80\x01\n\x0bHdcpVersion\x12\r\n\tHDCP_NONE\x10\x00\x12\x0b\n\x07HDCP_V1\x10\x01\x12\x0b\n\x07HDCP_V2\x10\x02\x12\r\n\tHDCP_V2_1\x10\x03\x12\r\n\tHDCP_V2_2\x10\x04\x12\r\n\tHDCP_V2_3\x10\x05\x12\x1b\n\x16HDCP_NO_DIGITAL_OUTPUT\x10\xff\x01\"i\n\x12\x43\x65rtificateKeyType\x12\x0c\n\x08RSA_2048\x10\x00\x12\x0c\n\x08RSA_3072\x10\x01\x12\x11\n\rECC_SECP256R1\x10\x02\x12\x11\n\rECC_SECP384R1\x10\x03\x12\x11\n\rECC_SECP521R1\x10\x04\"\x8d\x01\n\x18\x41nalogOutputCapabilities\x12\x19\n\x15\x41NALOG_OUTPUT_UNKNOWN\x10\x00\x12\x16\n\x12\x41NALOG_OUTPUT_NONE\x10\x01\x12\x1b\n\x17\x41NALOG_OUTPUT_SUPPORTED\x10\x02\x12!\n\x1d\x41NALOG_OUTPUT_SUPPORTS_CGMS_A\x10\x03\x1ah\n\x11\x43lientCredentials\x12\x44\n\x04type\x18\x01 \x01(\x0e\x32..video_widevine.ClientIdentification.TokenType:\x06KEYBOX\x12\r\n\x05token\x18\x02 \x01(\x0c\"s\n\tTokenType\x12\n\n\x06KEYBOX\x10\x00\x12\x1a\n\x16\x44RM_DEVICE_CERTIFICATE\x10\x01\x12\"\n\x1eREMOTE_ATTESTATION_CERTIFICATE\x10\x02\x12\x1a\n\x16OEM_DEVICE_CERTIFICATE\x10\x03\"\xbb\x01\n\x1d\x45ncryptedClientIdentification\x12\x13\n\x0bprovider_id\x18\x01 \x01(\t\x12)\n!service_certificate_serial_number\x18\x02 \x01(\x0c\x12\x1b\n\x13\x65ncrypted_client_id\x18\x03 \x01(\x0c\x12\x1e\n\x16\x65ncrypted_client_id_iv\x18\x04 \x01(\x0c\x12\x1d\n\x15\x65ncrypted_privacy_key\x18\x05 \x01(\x0c\"\xf9\x06\n\x0e\x44rmCertificate\x12\x31\n\x04type\x18\x01 \x01(\x0e\x32#.video_widevine.DrmCertificate.Type\x12\x15\n\rserial_number\x18\x02 \x01(\x0c\x12\x1d\n\x15\x63reation_time_seconds\x18\x03 \x01(\r\x12\x1f\n\x17\x65xpiration_time_seconds\x18\x0c \x01(\r\x12\x12\n\npublic_key\x18\x04 \x01(\x0c\x12\x11\n\tsystem_id\x18\x05 \x01(\r\x12\"\n\x16test_device_deprecated\x18\x06 \x01(\x08\x42\x02\x18\x01\x12\x13\n\x0bprovider_id\x18\x07 \x01(\t\x12\x41\n\rservice_types\x18\x08 \x03(\x0e\x32*.video_widevine.DrmCertificate.ServiceType\x12@\n\talgorithm\x18\t \x01(\x0e\x32(.video_widevine.DrmCertificate.Algorithm:\x03RSA\x12\x0e\n\x06rot_id\x18\n \x01(\x0c\x12\x44\n\x0e\x65ncryption_key\x18\x0b \x01(\x0b\x32,.video_widevine.DrmCertificate.EncryptionKey\x1a\x65\n\rEncryptionKey\x12\x12\n\npublic_key\x18\x01 \x01(\x0c\x12@\n\talgorithm\x18\x02 \x01(\x0e\x32(.video_widevine.DrmCertificate.Algorithm:\x03RSA\"L\n\x04Type\x12\x08\n\x04ROOT\x10\x00\x12\x10\n\x0c\x44\x45VICE_MODEL\x10\x01\x12\n\n\x06\x44\x45VICE\x10\x02\x12\x0b\n\x07SERVICE\x10\x03\x12\x0f\n\x0bPROVISIONER\x10\x04\"\x86\x01\n\x0bServiceType\x12\x18\n\x14UNKNOWN_SERVICE_TYPE\x10\x00\x12\x16\n\x12LICENSE_SERVER_SDK\x10\x01\x12\x1c\n\x18LICENSE_SERVER_PROXY_SDK\x10\x02\x12\x14\n\x10PROVISIONING_SDK\x10\x03\x12\x11\n\rCAS_PROXY_SDK\x10\x04\"d\n\tAlgorithm\x12\x15\n\x11UNKNOWN_ALGORITHM\x10\x00\x12\x07\n\x03RSA\x10\x01\x12\x11\n\rECC_SECP256R1\x10\x02\x12\x11\n\rECC_SECP384R1\x10\x03\x12\x11\n\rECC_SECP521R1\x10\x04\"\xb4\x01\n\x14SignedDrmCertificate\x12\x17\n\x0f\x64rm_certificate\x18\x01 \x01(\x0c\x12\x11\n\tsignature\x18\x02 \x01(\x0c\x12\x34\n\x06signer\x18\x03 \x01(\x0b\x32$.video_widevine.SignedDrmCertificate\x12:\n\x0ehash_algorithm\x18\x04 \x01(\x0e\x32\".video_widevine.HashAlgorithmProto\"\xcf\x05\n\x10WidevinePsshData\x12\x0f\n\x07key_ids\x18\x02 \x03(\x0c\x12\x12\n\ncontent_id\x18\x04 \x01(\x0c\x12\x1b\n\x13\x63rypto_period_index\x18\x07 \x01(\r\x12\x19\n\x11protection_scheme\x18\t \x01(\r\x12\x1d\n\x15\x63rypto_period_seconds\x18\n \x01(\r\x12;\n\x04type\x18\x0b \x01(\x0e\x32%.video_widevine.WidevinePsshData.Type:\x06SINGLE\x12\x14\n\x0ckey_sequence\x18\x0c \x01(\r\x12\x11\n\tgroup_ids\x18\r \x03(\x0c\x12\x43\n\rentitled_keys\x18\x0e \x03(\x0b\x32,.video_widevine.WidevinePsshData.EntitledKey\x12\x15\n\rvideo_feature\x18\x0f \x01(\t\x12\x41\n\talgorithm\x18\x01 \x01(\x0e\x32*.video_widevine.WidevinePsshData.AlgorithmB\x02\x18\x01\x12\x14\n\x08provider\x18\x03 \x01(\tB\x02\x18\x01\x12\x16\n\ntrack_type\x18\x05 \x01(\tB\x02\x18\x01\x12\x12\n\x06policy\x18\x06 \x01(\tB\x02\x18\x01\x12\x1b\n\x0fgrouped_license\x18\x08 \x01(\x0c\x42\x02\x18\x01\x1az\n\x0b\x45ntitledKey\x12\x1a\n\x12\x65ntitlement_key_id\x18\x01 \x01(\x0c\x12\x0e\n\x06key_id\x18\x02 \x01(\x0c\x12\x0b\n\x03key\x18\x03 \x01(\x0c\x12\n\n\x02iv\x18\x04 \x01(\x0c\x12&\n\x1a\x65ntitlement_key_size_bytes\x18\x05 \x01(\r:\x02\x33\x32\"5\n\x04Type\x12\n\n\x06SINGLE\x10\x00\x12\x0f\n\x0b\x45NTITLEMENT\x10\x01\x12\x10\n\x0c\x45NTITLED_KEY\x10\x02\"(\n\tAlgorithm\x12\x0f\n\x0bUNENCRYPTED\x10\x00\x12\n\n\x06\x41\x45SCTR\x10\x01\"\xc4\x01\n\nFileHashes\x12\x0e\n\x06signer\x18\x01 \x01(\x0c\x12\x38\n\nsignatures\x18\x02 \x03(\x0b\x32$.video_widevine.FileHashes.Signature\x1al\n\tSignature\x12\x10\n\x08\x66ilename\x18\x01 \x01(\t\x12\x14\n\x0ctest_signing\x18\x02 \x01(\x08\x12\x12\n\nSHA512Hash\x18\x03 \x01(\x0c\x12\x10\n\x08main_exe\x18\x04 \x01(\x08\x12\x11\n\tsignature\x18\x05 \x01(\x0c*8\n\x0bLicenseType\x12\r\n\tSTREAMING\x10\x01\x12\x0b\n\x07OFFLINE\x10\x02\x12\r\n\tAUTOMATIC\x10\x03*\xd9\x01\n\x1aPlatformVerificationStatus\x12\x17\n\x13PLATFORM_UNVERIFIED\x10\x00\x12\x15\n\x11PLATFORM_TAMPERED\x10\x01\x12\x1e\n\x1aPLATFORM_SOFTWARE_VERIFIED\x10\x02\x12\x1e\n\x1aPLATFORM_HARDWARE_VERIFIED\x10\x03\x12\x1c\n\x18PLATFORM_NO_VERIFICATION\x10\x04\x12-\n)PLATFORM_SECURE_STORAGE_SOFTWARE_VERIFIED\x10\x05*D\n\x0fProtocolVersion\x12\x0f\n\x0bVERSION_2_0\x10\x14\x12\x0f\n\x0bVERSION_2_1\x10\x15\x12\x0f\n\x0bVERSION_2_2\x10\x16*\x86\x01\n\x12HashAlgorithmProto\x12\x1e\n\x1aHASH_ALGORITHM_UNSPECIFIED\x10\x00\x12\x18\n\x14HASH_ALGORITHM_SHA_1\x10\x01\x12\x1a\n\x16HASH_ALGORITHM_SHA_256\x10\x02\x12\x1a\n\x16HASH_ALGORITHM_SHA_384\x10\x03\x42$\n com.google.video.widevine.protosH\x03') + +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'license_protocol_pb2', globals()) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n com.google.video.widevine.protosH\003' + _DRMCERTIFICATE.fields_by_name['test_device_deprecated']._options = None + _DRMCERTIFICATE.fields_by_name['test_device_deprecated']._serialized_options = b'\030\001' + _WIDEVINEPSSHDATA.fields_by_name['algorithm']._options = None + _WIDEVINEPSSHDATA.fields_by_name['algorithm']._serialized_options = b'\030\001' + _WIDEVINEPSSHDATA.fields_by_name['provider']._options = None + _WIDEVINEPSSHDATA.fields_by_name['provider']._serialized_options = b'\030\001' + _WIDEVINEPSSHDATA.fields_by_name['track_type']._options = None + _WIDEVINEPSSHDATA.fields_by_name['track_type']._serialized_options = b'\030\001' + _WIDEVINEPSSHDATA.fields_by_name['policy']._options = None + _WIDEVINEPSSHDATA.fields_by_name['policy']._serialized_options = b'\030\001' + _WIDEVINEPSSHDATA.fields_by_name['grouped_license']._options = None + _WIDEVINEPSSHDATA.fields_by_name['grouped_license']._serialized_options = b'\030\001' + _LICENSETYPE._serialized_start=9714 + _LICENSETYPE._serialized_end=9770 + _PLATFORMVERIFICATIONSTATUS._serialized_start=9773 + _PLATFORMVERIFICATIONSTATUS._serialized_end=9990 + _PROTOCOLVERSION._serialized_start=9992 + _PROTOCOLVERSION._serialized_end=10060 + _HASHALGORITHMPROTO._serialized_start=10063 + _HASHALGORITHMPROTO._serialized_end=10197 + _LICENSEIDENTIFICATION._serialized_start=43 + _LICENSEIDENTIFICATION._serialized_end=219 + _LICENSE._serialized_start=222 + _LICENSE._serialized_end=3212 + _LICENSE_POLICY._serialized_start=686 + _LICENSE_POLICY._serialized_end=1244 + _LICENSE_KEYCONTAINER._serialized_start=1247 + _LICENSE_KEYCONTAINER._serialized_end=3212 + _LICENSE_KEYCONTAINER_KEYCONTROL._serialized_start=1959 + _LICENSE_KEYCONTAINER_KEYCONTROL._serialized_end=2010 + _LICENSE_KEYCONTAINER_OUTPUTPROTECTION._serialized_start=2013 + _LICENSE_KEYCONTAINER_OUTPUTPROTECTION._serialized_end=2642 + _LICENSE_KEYCONTAINER_OUTPUTPROTECTION_HDCP._serialized_start=2396 + _LICENSE_KEYCONTAINER_OUTPUTPROTECTION_HDCP._serialized_end=2517 + _LICENSE_KEYCONTAINER_OUTPUTPROTECTION_CGMS._serialized_start=2519 + _LICENSE_KEYCONTAINER_OUTPUTPROTECTION_CGMS._serialized_end=2586 + _LICENSE_KEYCONTAINER_OUTPUTPROTECTION_HDCPSRMRULE._serialized_start=2588 + _LICENSE_KEYCONTAINER_OUTPUTPROTECTION_HDCPSRMRULE._serialized_end=2642 + _LICENSE_KEYCONTAINER_VIDEORESOLUTIONCONSTRAINT._serialized_start=2645 + _LICENSE_KEYCONTAINER_VIDEORESOLUTIONCONSTRAINT._serialized_end=2818 + _LICENSE_KEYCONTAINER_OPERATORSESSIONKEYPERMISSIONS._serialized_start=2821 + _LICENSE_KEYCONTAINER_OPERATORSESSIONKEYPERMISSIONS._serialized_end=2978 + _LICENSE_KEYCONTAINER_KEYTYPE._serialized_start=2980 + _LICENSE_KEYCONTAINER_KEYTYPE._serialized_end=3088 + _LICENSE_KEYCONTAINER_SECURITYLEVEL._serialized_start=3090 + _LICENSE_KEYCONTAINER_SECURITYLEVEL._serialized_end=3212 + _LICENSEREQUEST._serialized_start=3215 + _LICENSEREQUEST._serialized_end=4758 + _LICENSEREQUEST_CONTENTIDENTIFICATION._serialized_start=3658 + _LICENSEREQUEST_CONTENTIDENTIFICATION._serialized_end=4708 + _LICENSEREQUEST_CONTENTIDENTIFICATION_WIDEVINEPSSHDATA._serialized_start=4053 + _LICENSEREQUEST_CONTENTIDENTIFICATION_WIDEVINEPSSHDATA._serialized_end=4161 + _LICENSEREQUEST_CONTENTIDENTIFICATION_WEBMKEYID._serialized_start=4163 + _LICENSEREQUEST_CONTENTIDENTIFICATION_WEBMKEYID._serialized_end=4261 + _LICENSEREQUEST_CONTENTIDENTIFICATION_EXISTINGLICENSE._serialized_start=4264 + _LICENSEREQUEST_CONTENTIDENTIFICATION_EXISTINGLICENSE._serialized_end=4441 + _LICENSEREQUEST_CONTENTIDENTIFICATION_INITDATA._serialized_start=4444 + _LICENSEREQUEST_CONTENTIDENTIFICATION_INITDATA._serialized_end=4686 + _LICENSEREQUEST_CONTENTIDENTIFICATION_INITDATA_INITDATATYPE._serialized_start=4652 + _LICENSEREQUEST_CONTENTIDENTIFICATION_INITDATA_INITDATATYPE._serialized_end=4686 + _LICENSEREQUEST_REQUESTTYPE._serialized_start=4710 + _LICENSEREQUEST_REQUESTTYPE._serialized_end=4758 + _METRICDATA._serialized_start=4761 + _METRICDATA._serialized_end=4978 + _METRICDATA_TYPEVALUE._serialized_start=4854 + _METRICDATA_TYPEVALUE._serialized_end=4936 + _METRICDATA_METRICTYPE._serialized_start=4938 + _METRICDATA_METRICTYPE._serialized_end=4978 + _VERSIONINFO._serialized_start=4980 + _VERSIONINFO._serialized_end=5055 + _SIGNEDMESSAGE._serialized_start=5058 + _SIGNEDMESSAGE._serialized_end=5764 + _SIGNEDMESSAGE_MESSAGETYPE._serialized_start=5443 + _SIGNEDMESSAGE_MESSAGETYPE._serialized_end=5679 + _SIGNEDMESSAGE_SESSIONKEYTYPE._serialized_start=5681 + _SIGNEDMESSAGE_SESSIONKEYTYPE._serialized_end=5764 + _CLIENTIDENTIFICATION._serialized_start=5767 + _CLIENTIDENTIFICATION._serialized_end=7526 + _CLIENTIDENTIFICATION_NAMEVALUE._serialized_start=6189 + _CLIENTIDENTIFICATION_NAMEVALUE._serialized_end=6229 + _CLIENTIDENTIFICATION_CLIENTCAPABILITIES._serialized_start=6232 + _CLIENTIDENTIFICATION_CLIENTCAPABILITIES._serialized_end=7303 + _CLIENTIDENTIFICATION_CLIENTCAPABILITIES_HDCPVERSION._serialized_start=6924 + _CLIENTIDENTIFICATION_CLIENTCAPABILITIES_HDCPVERSION._serialized_end=7052 + _CLIENTIDENTIFICATION_CLIENTCAPABILITIES_CERTIFICATEKEYTYPE._serialized_start=7054 + _CLIENTIDENTIFICATION_CLIENTCAPABILITIES_CERTIFICATEKEYTYPE._serialized_end=7159 + _CLIENTIDENTIFICATION_CLIENTCAPABILITIES_ANALOGOUTPUTCAPABILITIES._serialized_start=7162 + _CLIENTIDENTIFICATION_CLIENTCAPABILITIES_ANALOGOUTPUTCAPABILITIES._serialized_end=7303 + _CLIENTIDENTIFICATION_CLIENTCREDENTIALS._serialized_start=7305 + _CLIENTIDENTIFICATION_CLIENTCREDENTIALS._serialized_end=7409 + _CLIENTIDENTIFICATION_TOKENTYPE._serialized_start=7411 + _CLIENTIDENTIFICATION_TOKENTYPE._serialized_end=7526 + _ENCRYPTEDCLIENTIDENTIFICATION._serialized_start=7529 + _ENCRYPTEDCLIENTIDENTIFICATION._serialized_end=7716 + _DRMCERTIFICATE._serialized_start=7719 + _DRMCERTIFICATE._serialized_end=8608 + _DRMCERTIFICATE_ENCRYPTIONKEY._serialized_start=8190 + _DRMCERTIFICATE_ENCRYPTIONKEY._serialized_end=8291 + _DRMCERTIFICATE_TYPE._serialized_start=8293 + _DRMCERTIFICATE_TYPE._serialized_end=8369 + _DRMCERTIFICATE_SERVICETYPE._serialized_start=8372 + _DRMCERTIFICATE_SERVICETYPE._serialized_end=8506 + _DRMCERTIFICATE_ALGORITHM._serialized_start=8508 + _DRMCERTIFICATE_ALGORITHM._serialized_end=8608 + _SIGNEDDRMCERTIFICATE._serialized_start=8611 + _SIGNEDDRMCERTIFICATE._serialized_end=8791 + _WIDEVINEPSSHDATA._serialized_start=8794 + _WIDEVINEPSSHDATA._serialized_end=9513 + _WIDEVINEPSSHDATA_ENTITLEDKEY._serialized_start=9294 + _WIDEVINEPSSHDATA_ENTITLEDKEY._serialized_end=9416 + _WIDEVINEPSSHDATA_TYPE._serialized_start=9418 + _WIDEVINEPSSHDATA_TYPE._serialized_end=9471 + _WIDEVINEPSSHDATA_ALGORITHM._serialized_start=9473 + _WIDEVINEPSSHDATA_ALGORITHM._serialized_end=9513 + _FILEHASHES._serialized_start=9516 + _FILEHASHES._serialized_end=9712 + _FILEHASHES_SIGNATURE._serialized_start=9604 + _FILEHASHES_SIGNATURE._serialized_end=9712 # @@protoc_insertion_point(module_scope) diff --git a/pywidevine/license_protocol_pb2.pyi b/pywidevine/license_protocol_pb2.pyi new file mode 100644 index 0000000..5550648 --- /dev/null +++ b/pywidevine/license_protocol_pb2.pyi @@ -0,0 +1,605 @@ +from google.protobuf.internal import containers as _containers +from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union + +AUTOMATIC: LicenseType +DESCRIPTOR: _descriptor.FileDescriptor +HASH_ALGORITHM_SHA_1: HashAlgorithmProto +HASH_ALGORITHM_SHA_256: HashAlgorithmProto +HASH_ALGORITHM_SHA_384: HashAlgorithmProto +HASH_ALGORITHM_UNSPECIFIED: HashAlgorithmProto +OFFLINE: LicenseType +PLATFORM_HARDWARE_VERIFIED: PlatformVerificationStatus +PLATFORM_NO_VERIFICATION: PlatformVerificationStatus +PLATFORM_SECURE_STORAGE_SOFTWARE_VERIFIED: PlatformVerificationStatus +PLATFORM_SOFTWARE_VERIFIED: PlatformVerificationStatus +PLATFORM_TAMPERED: PlatformVerificationStatus +PLATFORM_UNVERIFIED: PlatformVerificationStatus +STREAMING: LicenseType +VERSION_2_0: ProtocolVersion +VERSION_2_1: ProtocolVersion +VERSION_2_2: ProtocolVersion + +class ClientIdentification(_message.Message): + __slots__ = ["client_capabilities", "client_info", "device_credentials", "license_counter", "provider_client_token", "token", "type", "vmp_data"] + class TokenType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + class ClientCapabilities(_message.Message): + __slots__ = ["analog_output_capabilities", "anti_rollback_usage_table", "can_disable_analog_output", "can_update_srm", "client_token", "max_hdcp_version", "oem_crypto_api_version", "resource_rating_tier", "session_token", "srm_version", "supported_certificate_key_type", "video_resolution_constraints"] + class AnalogOutputCapabilities(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + class CertificateKeyType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + class HdcpVersion(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + ANALOG_OUTPUT_CAPABILITIES_FIELD_NUMBER: _ClassVar[int] + ANALOG_OUTPUT_NONE: ClientIdentification.ClientCapabilities.AnalogOutputCapabilities + ANALOG_OUTPUT_SUPPORTED: ClientIdentification.ClientCapabilities.AnalogOutputCapabilities + ANALOG_OUTPUT_SUPPORTS_CGMS_A: ClientIdentification.ClientCapabilities.AnalogOutputCapabilities + ANALOG_OUTPUT_UNKNOWN: ClientIdentification.ClientCapabilities.AnalogOutputCapabilities + ANTI_ROLLBACK_USAGE_TABLE_FIELD_NUMBER: _ClassVar[int] + CAN_DISABLE_ANALOG_OUTPUT_FIELD_NUMBER: _ClassVar[int] + CAN_UPDATE_SRM_FIELD_NUMBER: _ClassVar[int] + CLIENT_TOKEN_FIELD_NUMBER: _ClassVar[int] + ECC_SECP256R1: ClientIdentification.ClientCapabilities.CertificateKeyType + ECC_SECP384R1: ClientIdentification.ClientCapabilities.CertificateKeyType + ECC_SECP521R1: ClientIdentification.ClientCapabilities.CertificateKeyType + HDCP_NONE: ClientIdentification.ClientCapabilities.HdcpVersion + HDCP_NO_DIGITAL_OUTPUT: ClientIdentification.ClientCapabilities.HdcpVersion + HDCP_V1: ClientIdentification.ClientCapabilities.HdcpVersion + HDCP_V2: ClientIdentification.ClientCapabilities.HdcpVersion + HDCP_V2_1: ClientIdentification.ClientCapabilities.HdcpVersion + HDCP_V2_2: ClientIdentification.ClientCapabilities.HdcpVersion + HDCP_V2_3: ClientIdentification.ClientCapabilities.HdcpVersion + MAX_HDCP_VERSION_FIELD_NUMBER: _ClassVar[int] + OEM_CRYPTO_API_VERSION_FIELD_NUMBER: _ClassVar[int] + RESOURCE_RATING_TIER_FIELD_NUMBER: _ClassVar[int] + RSA_2048: ClientIdentification.ClientCapabilities.CertificateKeyType + RSA_3072: ClientIdentification.ClientCapabilities.CertificateKeyType + SESSION_TOKEN_FIELD_NUMBER: _ClassVar[int] + SRM_VERSION_FIELD_NUMBER: _ClassVar[int] + SUPPORTED_CERTIFICATE_KEY_TYPE_FIELD_NUMBER: _ClassVar[int] + VIDEO_RESOLUTION_CONSTRAINTS_FIELD_NUMBER: _ClassVar[int] + analog_output_capabilities: ClientIdentification.ClientCapabilities.AnalogOutputCapabilities + anti_rollback_usage_table: bool + can_disable_analog_output: bool + can_update_srm: bool + client_token: bool + max_hdcp_version: ClientIdentification.ClientCapabilities.HdcpVersion + oem_crypto_api_version: int + resource_rating_tier: int + session_token: bool + srm_version: int + supported_certificate_key_type: _containers.RepeatedScalarFieldContainer[ClientIdentification.ClientCapabilities.CertificateKeyType] + video_resolution_constraints: bool + def __init__(self, client_token: bool = ..., session_token: bool = ..., video_resolution_constraints: bool = ..., max_hdcp_version: _Optional[_Union[ClientIdentification.ClientCapabilities.HdcpVersion, str]] = ..., oem_crypto_api_version: _Optional[int] = ..., anti_rollback_usage_table: bool = ..., srm_version: _Optional[int] = ..., can_update_srm: bool = ..., supported_certificate_key_type: _Optional[_Iterable[_Union[ClientIdentification.ClientCapabilities.CertificateKeyType, str]]] = ..., analog_output_capabilities: _Optional[_Union[ClientIdentification.ClientCapabilities.AnalogOutputCapabilities, str]] = ..., can_disable_analog_output: bool = ..., resource_rating_tier: _Optional[int] = ...) -> None: ... + class ClientCredentials(_message.Message): + __slots__ = ["token", "type"] + TOKEN_FIELD_NUMBER: _ClassVar[int] + TYPE_FIELD_NUMBER: _ClassVar[int] + token: bytes + type: ClientIdentification.TokenType + def __init__(self, type: _Optional[_Union[ClientIdentification.TokenType, str]] = ..., token: _Optional[bytes] = ...) -> None: ... + class NameValue(_message.Message): + __slots__ = ["name", "value"] + NAME_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + name: str + value: str + def __init__(self, name: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ... + CLIENT_CAPABILITIES_FIELD_NUMBER: _ClassVar[int] + CLIENT_INFO_FIELD_NUMBER: _ClassVar[int] + DEVICE_CREDENTIALS_FIELD_NUMBER: _ClassVar[int] + DRM_DEVICE_CERTIFICATE: ClientIdentification.TokenType + KEYBOX: ClientIdentification.TokenType + LICENSE_COUNTER_FIELD_NUMBER: _ClassVar[int] + OEM_DEVICE_CERTIFICATE: ClientIdentification.TokenType + PROVIDER_CLIENT_TOKEN_FIELD_NUMBER: _ClassVar[int] + REMOTE_ATTESTATION_CERTIFICATE: ClientIdentification.TokenType + TOKEN_FIELD_NUMBER: _ClassVar[int] + TYPE_FIELD_NUMBER: _ClassVar[int] + VMP_DATA_FIELD_NUMBER: _ClassVar[int] + client_capabilities: ClientIdentification.ClientCapabilities + client_info: _containers.RepeatedCompositeFieldContainer[ClientIdentification.NameValue] + device_credentials: _containers.RepeatedCompositeFieldContainer[ClientIdentification.ClientCredentials] + license_counter: int + provider_client_token: bytes + token: bytes + type: ClientIdentification.TokenType + vmp_data: bytes + def __init__(self, type: _Optional[_Union[ClientIdentification.TokenType, str]] = ..., token: _Optional[bytes] = ..., client_info: _Optional[_Iterable[_Union[ClientIdentification.NameValue, _Mapping]]] = ..., provider_client_token: _Optional[bytes] = ..., license_counter: _Optional[int] = ..., client_capabilities: _Optional[_Union[ClientIdentification.ClientCapabilities, _Mapping]] = ..., vmp_data: _Optional[bytes] = ..., device_credentials: _Optional[_Iterable[_Union[ClientIdentification.ClientCredentials, _Mapping]]] = ...) -> None: ... + +class DrmCertificate(_message.Message): + __slots__ = ["algorithm", "creation_time_seconds", "encryption_key", "expiration_time_seconds", "provider_id", "public_key", "rot_id", "serial_number", "service_types", "system_id", "test_device_deprecated", "type"] + class Algorithm(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + class ServiceType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + class Type(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + class EncryptionKey(_message.Message): + __slots__ = ["algorithm", "public_key"] + ALGORITHM_FIELD_NUMBER: _ClassVar[int] + PUBLIC_KEY_FIELD_NUMBER: _ClassVar[int] + algorithm: DrmCertificate.Algorithm + public_key: bytes + def __init__(self, public_key: _Optional[bytes] = ..., algorithm: _Optional[_Union[DrmCertificate.Algorithm, str]] = ...) -> None: ... + ALGORITHM_FIELD_NUMBER: _ClassVar[int] + CAS_PROXY_SDK: DrmCertificate.ServiceType + CREATION_TIME_SECONDS_FIELD_NUMBER: _ClassVar[int] + DEVICE: DrmCertificate.Type + DEVICE_MODEL: DrmCertificate.Type + ECC_SECP256R1: DrmCertificate.Algorithm + ECC_SECP384R1: DrmCertificate.Algorithm + ECC_SECP521R1: DrmCertificate.Algorithm + ENCRYPTION_KEY_FIELD_NUMBER: _ClassVar[int] + EXPIRATION_TIME_SECONDS_FIELD_NUMBER: _ClassVar[int] + LICENSE_SERVER_PROXY_SDK: DrmCertificate.ServiceType + LICENSE_SERVER_SDK: DrmCertificate.ServiceType + PROVIDER_ID_FIELD_NUMBER: _ClassVar[int] + PROVISIONER: DrmCertificate.Type + PROVISIONING_SDK: DrmCertificate.ServiceType + PUBLIC_KEY_FIELD_NUMBER: _ClassVar[int] + ROOT: DrmCertificate.Type + ROT_ID_FIELD_NUMBER: _ClassVar[int] + RSA: DrmCertificate.Algorithm + SERIAL_NUMBER_FIELD_NUMBER: _ClassVar[int] + SERVICE: DrmCertificate.Type + SERVICE_TYPES_FIELD_NUMBER: _ClassVar[int] + SYSTEM_ID_FIELD_NUMBER: _ClassVar[int] + TEST_DEVICE_DEPRECATED_FIELD_NUMBER: _ClassVar[int] + TYPE_FIELD_NUMBER: _ClassVar[int] + UNKNOWN_ALGORITHM: DrmCertificate.Algorithm + UNKNOWN_SERVICE_TYPE: DrmCertificate.ServiceType + algorithm: DrmCertificate.Algorithm + creation_time_seconds: int + encryption_key: DrmCertificate.EncryptionKey + expiration_time_seconds: int + provider_id: str + public_key: bytes + rot_id: bytes + serial_number: bytes + service_types: _containers.RepeatedScalarFieldContainer[DrmCertificate.ServiceType] + system_id: int + test_device_deprecated: bool + type: DrmCertificate.Type + def __init__(self, type: _Optional[_Union[DrmCertificate.Type, str]] = ..., serial_number: _Optional[bytes] = ..., creation_time_seconds: _Optional[int] = ..., expiration_time_seconds: _Optional[int] = ..., public_key: _Optional[bytes] = ..., system_id: _Optional[int] = ..., test_device_deprecated: bool = ..., provider_id: _Optional[str] = ..., service_types: _Optional[_Iterable[_Union[DrmCertificate.ServiceType, str]]] = ..., algorithm: _Optional[_Union[DrmCertificate.Algorithm, str]] = ..., rot_id: _Optional[bytes] = ..., encryption_key: _Optional[_Union[DrmCertificate.EncryptionKey, _Mapping]] = ...) -> None: ... + +class EncryptedClientIdentification(_message.Message): + __slots__ = ["encrypted_client_id", "encrypted_client_id_iv", "encrypted_privacy_key", "provider_id", "service_certificate_serial_number"] + ENCRYPTED_CLIENT_ID_FIELD_NUMBER: _ClassVar[int] + ENCRYPTED_CLIENT_ID_IV_FIELD_NUMBER: _ClassVar[int] + ENCRYPTED_PRIVACY_KEY_FIELD_NUMBER: _ClassVar[int] + PROVIDER_ID_FIELD_NUMBER: _ClassVar[int] + SERVICE_CERTIFICATE_SERIAL_NUMBER_FIELD_NUMBER: _ClassVar[int] + encrypted_client_id: bytes + encrypted_client_id_iv: bytes + encrypted_privacy_key: bytes + provider_id: str + service_certificate_serial_number: bytes + def __init__(self, provider_id: _Optional[str] = ..., service_certificate_serial_number: _Optional[bytes] = ..., encrypted_client_id: _Optional[bytes] = ..., encrypted_client_id_iv: _Optional[bytes] = ..., encrypted_privacy_key: _Optional[bytes] = ...) -> None: ... + +class FileHashes(_message.Message): + __slots__ = ["signatures", "signer"] + class Signature(_message.Message): + __slots__ = ["SHA512Hash", "filename", "main_exe", "signature", "test_signing"] + FILENAME_FIELD_NUMBER: _ClassVar[int] + MAIN_EXE_FIELD_NUMBER: _ClassVar[int] + SHA512HASH_FIELD_NUMBER: _ClassVar[int] + SHA512Hash: bytes + SIGNATURE_FIELD_NUMBER: _ClassVar[int] + TEST_SIGNING_FIELD_NUMBER: _ClassVar[int] + filename: str + main_exe: bool + signature: bytes + test_signing: bool + def __init__(self, filename: _Optional[str] = ..., test_signing: bool = ..., SHA512Hash: _Optional[bytes] = ..., main_exe: bool = ..., signature: _Optional[bytes] = ...) -> None: ... + SIGNATURES_FIELD_NUMBER: _ClassVar[int] + SIGNER_FIELD_NUMBER: _ClassVar[int] + signatures: _containers.RepeatedCompositeFieldContainer[FileHashes.Signature] + signer: bytes + def __init__(self, signer: _Optional[bytes] = ..., signatures: _Optional[_Iterable[_Union[FileHashes.Signature, _Mapping]]] = ...) -> None: ... + +class License(_message.Message): + __slots__ = ["group_ids", "id", "key", "license_start_time", "platform_verification_status", "policy", "protection_scheme", "provider_client_token", "remote_attestation_verified", "srm_requirement", "srm_update"] + class KeyContainer(_message.Message): + __slots__ = ["anti_rollback_usage_table", "id", "iv", "key", "key_control", "level", "operator_session_key_permissions", "requested_protection", "required_protection", "track_label", "type", "video_resolution_constraints"] + class KeyType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + class SecurityLevel(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + class KeyControl(_message.Message): + __slots__ = ["iv", "key_control_block"] + IV_FIELD_NUMBER: _ClassVar[int] + KEY_CONTROL_BLOCK_FIELD_NUMBER: _ClassVar[int] + iv: bytes + key_control_block: bytes + def __init__(self, key_control_block: _Optional[bytes] = ..., iv: _Optional[bytes] = ...) -> None: ... + class OperatorSessionKeyPermissions(_message.Message): + __slots__ = ["allow_decrypt", "allow_encrypt", "allow_sign", "allow_signature_verify"] + ALLOW_DECRYPT_FIELD_NUMBER: _ClassVar[int] + ALLOW_ENCRYPT_FIELD_NUMBER: _ClassVar[int] + ALLOW_SIGNATURE_VERIFY_FIELD_NUMBER: _ClassVar[int] + ALLOW_SIGN_FIELD_NUMBER: _ClassVar[int] + allow_decrypt: bool + allow_encrypt: bool + allow_sign: bool + allow_signature_verify: bool + def __init__(self, allow_encrypt: bool = ..., allow_decrypt: bool = ..., allow_sign: bool = ..., allow_signature_verify: bool = ...) -> None: ... + class OutputProtection(_message.Message): + __slots__ = ["cgms_flags", "disable_analog_output", "disable_digital_output", "hdcp", "hdcp_srm_rule"] + class CGMS(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + class HDCP(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + class HdcpSrmRule(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + CGMS_FLAGS_FIELD_NUMBER: _ClassVar[int] + CGMS_NONE: License.KeyContainer.OutputProtection.CGMS + COPY_FREE: License.KeyContainer.OutputProtection.CGMS + COPY_NEVER: License.KeyContainer.OutputProtection.CGMS + COPY_ONCE: License.KeyContainer.OutputProtection.CGMS + CURRENT_SRM: License.KeyContainer.OutputProtection.HdcpSrmRule + DISABLE_ANALOG_OUTPUT_FIELD_NUMBER: _ClassVar[int] + DISABLE_DIGITAL_OUTPUT_FIELD_NUMBER: _ClassVar[int] + HDCP_FIELD_NUMBER: _ClassVar[int] + HDCP_NONE: License.KeyContainer.OutputProtection.HDCP + HDCP_NO_DIGITAL_OUTPUT: License.KeyContainer.OutputProtection.HDCP + HDCP_SRM_RULE_FIELD_NUMBER: _ClassVar[int] + HDCP_SRM_RULE_NONE: License.KeyContainer.OutputProtection.HdcpSrmRule + HDCP_V1: License.KeyContainer.OutputProtection.HDCP + HDCP_V2: License.KeyContainer.OutputProtection.HDCP + HDCP_V2_1: License.KeyContainer.OutputProtection.HDCP + HDCP_V2_2: License.KeyContainer.OutputProtection.HDCP + HDCP_V2_3: License.KeyContainer.OutputProtection.HDCP + cgms_flags: License.KeyContainer.OutputProtection.CGMS + disable_analog_output: bool + disable_digital_output: bool + hdcp: License.KeyContainer.OutputProtection.HDCP + hdcp_srm_rule: License.KeyContainer.OutputProtection.HdcpSrmRule + def __init__(self, hdcp: _Optional[_Union[License.KeyContainer.OutputProtection.HDCP, str]] = ..., cgms_flags: _Optional[_Union[License.KeyContainer.OutputProtection.CGMS, str]] = ..., hdcp_srm_rule: _Optional[_Union[License.KeyContainer.OutputProtection.HdcpSrmRule, str]] = ..., disable_analog_output: bool = ..., disable_digital_output: bool = ...) -> None: ... + class VideoResolutionConstraint(_message.Message): + __slots__ = ["max_resolution_pixels", "min_resolution_pixels", "required_protection"] + MAX_RESOLUTION_PIXELS_FIELD_NUMBER: _ClassVar[int] + MIN_RESOLUTION_PIXELS_FIELD_NUMBER: _ClassVar[int] + REQUIRED_PROTECTION_FIELD_NUMBER: _ClassVar[int] + max_resolution_pixels: int + min_resolution_pixels: int + required_protection: License.KeyContainer.OutputProtection + def __init__(self, min_resolution_pixels: _Optional[int] = ..., max_resolution_pixels: _Optional[int] = ..., required_protection: _Optional[_Union[License.KeyContainer.OutputProtection, _Mapping]] = ...) -> None: ... + ANTI_ROLLBACK_USAGE_TABLE_FIELD_NUMBER: _ClassVar[int] + CONTENT: License.KeyContainer.KeyType + ENTITLEMENT: License.KeyContainer.KeyType + HW_SECURE_ALL: License.KeyContainer.SecurityLevel + HW_SECURE_CRYPTO: License.KeyContainer.SecurityLevel + HW_SECURE_DECODE: License.KeyContainer.SecurityLevel + ID_FIELD_NUMBER: _ClassVar[int] + IV_FIELD_NUMBER: _ClassVar[int] + KEY_CONTROL: License.KeyContainer.KeyType + KEY_CONTROL_FIELD_NUMBER: _ClassVar[int] + KEY_FIELD_NUMBER: _ClassVar[int] + LEVEL_FIELD_NUMBER: _ClassVar[int] + OEM_CONTENT: License.KeyContainer.KeyType + OPERATOR_SESSION: License.KeyContainer.KeyType + OPERATOR_SESSION_KEY_PERMISSIONS_FIELD_NUMBER: _ClassVar[int] + REQUESTED_PROTECTION_FIELD_NUMBER: _ClassVar[int] + REQUIRED_PROTECTION_FIELD_NUMBER: _ClassVar[int] + SIGNING: License.KeyContainer.KeyType + SW_SECURE_CRYPTO: License.KeyContainer.SecurityLevel + SW_SECURE_DECODE: License.KeyContainer.SecurityLevel + TRACK_LABEL_FIELD_NUMBER: _ClassVar[int] + TYPE_FIELD_NUMBER: _ClassVar[int] + VIDEO_RESOLUTION_CONSTRAINTS_FIELD_NUMBER: _ClassVar[int] + anti_rollback_usage_table: bool + id: bytes + iv: bytes + key: bytes + key_control: License.KeyContainer.KeyControl + level: License.KeyContainer.SecurityLevel + operator_session_key_permissions: License.KeyContainer.OperatorSessionKeyPermissions + requested_protection: License.KeyContainer.OutputProtection + required_protection: License.KeyContainer.OutputProtection + track_label: str + type: License.KeyContainer.KeyType + video_resolution_constraints: _containers.RepeatedCompositeFieldContainer[License.KeyContainer.VideoResolutionConstraint] + def __init__(self, id: _Optional[bytes] = ..., iv: _Optional[bytes] = ..., key: _Optional[bytes] = ..., type: _Optional[_Union[License.KeyContainer.KeyType, str]] = ..., level: _Optional[_Union[License.KeyContainer.SecurityLevel, str]] = ..., required_protection: _Optional[_Union[License.KeyContainer.OutputProtection, _Mapping]] = ..., requested_protection: _Optional[_Union[License.KeyContainer.OutputProtection, _Mapping]] = ..., key_control: _Optional[_Union[License.KeyContainer.KeyControl, _Mapping]] = ..., operator_session_key_permissions: _Optional[_Union[License.KeyContainer.OperatorSessionKeyPermissions, _Mapping]] = ..., video_resolution_constraints: _Optional[_Iterable[_Union[License.KeyContainer.VideoResolutionConstraint, _Mapping]]] = ..., anti_rollback_usage_table: bool = ..., track_label: _Optional[str] = ...) -> None: ... + class Policy(_message.Message): + __slots__ = ["always_include_client_id", "can_persist", "can_play", "can_renew", "license_duration_seconds", "play_start_grace_period_seconds", "playback_duration_seconds", "renew_with_usage", "renewal_delay_seconds", "renewal_recovery_duration_seconds", "renewal_retry_interval_seconds", "renewal_server_url", "rental_duration_seconds", "soft_enforce_playback_duration", "soft_enforce_rental_duration"] + ALWAYS_INCLUDE_CLIENT_ID_FIELD_NUMBER: _ClassVar[int] + CAN_PERSIST_FIELD_NUMBER: _ClassVar[int] + CAN_PLAY_FIELD_NUMBER: _ClassVar[int] + CAN_RENEW_FIELD_NUMBER: _ClassVar[int] + LICENSE_DURATION_SECONDS_FIELD_NUMBER: _ClassVar[int] + PLAYBACK_DURATION_SECONDS_FIELD_NUMBER: _ClassVar[int] + PLAY_START_GRACE_PERIOD_SECONDS_FIELD_NUMBER: _ClassVar[int] + RENEWAL_DELAY_SECONDS_FIELD_NUMBER: _ClassVar[int] + RENEWAL_RECOVERY_DURATION_SECONDS_FIELD_NUMBER: _ClassVar[int] + RENEWAL_RETRY_INTERVAL_SECONDS_FIELD_NUMBER: _ClassVar[int] + RENEWAL_SERVER_URL_FIELD_NUMBER: _ClassVar[int] + RENEW_WITH_USAGE_FIELD_NUMBER: _ClassVar[int] + RENTAL_DURATION_SECONDS_FIELD_NUMBER: _ClassVar[int] + SOFT_ENFORCE_PLAYBACK_DURATION_FIELD_NUMBER: _ClassVar[int] + SOFT_ENFORCE_RENTAL_DURATION_FIELD_NUMBER: _ClassVar[int] + always_include_client_id: bool + can_persist: bool + can_play: bool + can_renew: bool + license_duration_seconds: int + play_start_grace_period_seconds: int + playback_duration_seconds: int + renew_with_usage: bool + renewal_delay_seconds: int + renewal_recovery_duration_seconds: int + renewal_retry_interval_seconds: int + renewal_server_url: str + rental_duration_seconds: int + soft_enforce_playback_duration: bool + soft_enforce_rental_duration: bool + def __init__(self, can_play: bool = ..., can_persist: bool = ..., can_renew: bool = ..., rental_duration_seconds: _Optional[int] = ..., playback_duration_seconds: _Optional[int] = ..., license_duration_seconds: _Optional[int] = ..., renewal_recovery_duration_seconds: _Optional[int] = ..., renewal_server_url: _Optional[str] = ..., renewal_delay_seconds: _Optional[int] = ..., renewal_retry_interval_seconds: _Optional[int] = ..., renew_with_usage: bool = ..., always_include_client_id: bool = ..., play_start_grace_period_seconds: _Optional[int] = ..., soft_enforce_playback_duration: bool = ..., soft_enforce_rental_duration: bool = ...) -> None: ... + GROUP_IDS_FIELD_NUMBER: _ClassVar[int] + ID_FIELD_NUMBER: _ClassVar[int] + KEY_FIELD_NUMBER: _ClassVar[int] + LICENSE_START_TIME_FIELD_NUMBER: _ClassVar[int] + PLATFORM_VERIFICATION_STATUS_FIELD_NUMBER: _ClassVar[int] + POLICY_FIELD_NUMBER: _ClassVar[int] + PROTECTION_SCHEME_FIELD_NUMBER: _ClassVar[int] + PROVIDER_CLIENT_TOKEN_FIELD_NUMBER: _ClassVar[int] + REMOTE_ATTESTATION_VERIFIED_FIELD_NUMBER: _ClassVar[int] + SRM_REQUIREMENT_FIELD_NUMBER: _ClassVar[int] + SRM_UPDATE_FIELD_NUMBER: _ClassVar[int] + group_ids: _containers.RepeatedScalarFieldContainer[bytes] + id: LicenseIdentification + key: _containers.RepeatedCompositeFieldContainer[License.KeyContainer] + license_start_time: int + platform_verification_status: PlatformVerificationStatus + policy: License.Policy + protection_scheme: int + provider_client_token: bytes + remote_attestation_verified: bool + srm_requirement: bytes + srm_update: bytes + def __init__(self, id: _Optional[_Union[LicenseIdentification, _Mapping]] = ..., policy: _Optional[_Union[License.Policy, _Mapping]] = ..., key: _Optional[_Iterable[_Union[License.KeyContainer, _Mapping]]] = ..., license_start_time: _Optional[int] = ..., remote_attestation_verified: bool = ..., provider_client_token: _Optional[bytes] = ..., protection_scheme: _Optional[int] = ..., srm_requirement: _Optional[bytes] = ..., srm_update: _Optional[bytes] = ..., platform_verification_status: _Optional[_Union[PlatformVerificationStatus, str]] = ..., group_ids: _Optional[_Iterable[bytes]] = ...) -> None: ... + +class LicenseIdentification(_message.Message): + __slots__ = ["provider_session_token", "purchase_id", "request_id", "session_id", "type", "version"] + PROVIDER_SESSION_TOKEN_FIELD_NUMBER: _ClassVar[int] + PURCHASE_ID_FIELD_NUMBER: _ClassVar[int] + REQUEST_ID_FIELD_NUMBER: _ClassVar[int] + SESSION_ID_FIELD_NUMBER: _ClassVar[int] + TYPE_FIELD_NUMBER: _ClassVar[int] + VERSION_FIELD_NUMBER: _ClassVar[int] + provider_session_token: bytes + purchase_id: bytes + request_id: bytes + session_id: bytes + type: LicenseType + version: int + def __init__(self, request_id: _Optional[bytes] = ..., session_id: _Optional[bytes] = ..., purchase_id: _Optional[bytes] = ..., type: _Optional[_Union[LicenseType, str]] = ..., version: _Optional[int] = ..., provider_session_token: _Optional[bytes] = ...) -> None: ... + +class LicenseRequest(_message.Message): + __slots__ = ["client_id", "content_id", "encrypted_client_id", "key_control_nonce", "key_control_nonce_deprecated", "protocol_version", "request_time", "type"] + class RequestType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + class ContentIdentification(_message.Message): + __slots__ = ["existing_license", "init_data", "webm_key_id", "widevine_pssh_data"] + class ExistingLicense(_message.Message): + __slots__ = ["license_id", "seconds_since_last_played", "seconds_since_started", "session_usage_table_entry"] + LICENSE_ID_FIELD_NUMBER: _ClassVar[int] + SECONDS_SINCE_LAST_PLAYED_FIELD_NUMBER: _ClassVar[int] + SECONDS_SINCE_STARTED_FIELD_NUMBER: _ClassVar[int] + SESSION_USAGE_TABLE_ENTRY_FIELD_NUMBER: _ClassVar[int] + license_id: LicenseIdentification + seconds_since_last_played: int + seconds_since_started: int + session_usage_table_entry: bytes + def __init__(self, license_id: _Optional[_Union[LicenseIdentification, _Mapping]] = ..., seconds_since_started: _Optional[int] = ..., seconds_since_last_played: _Optional[int] = ..., session_usage_table_entry: _Optional[bytes] = ...) -> None: ... + class InitData(_message.Message): + __slots__ = ["init_data", "init_data_type", "license_type", "request_id"] + class InitDataType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + CENC: LicenseRequest.ContentIdentification.InitData.InitDataType + INIT_DATA_FIELD_NUMBER: _ClassVar[int] + INIT_DATA_TYPE_FIELD_NUMBER: _ClassVar[int] + LICENSE_TYPE_FIELD_NUMBER: _ClassVar[int] + REQUEST_ID_FIELD_NUMBER: _ClassVar[int] + WEBM: LicenseRequest.ContentIdentification.InitData.InitDataType + init_data: bytes + init_data_type: LicenseRequest.ContentIdentification.InitData.InitDataType + license_type: LicenseType + request_id: bytes + def __init__(self, init_data_type: _Optional[_Union[LicenseRequest.ContentIdentification.InitData.InitDataType, str]] = ..., init_data: _Optional[bytes] = ..., license_type: _Optional[_Union[LicenseType, str]] = ..., request_id: _Optional[bytes] = ...) -> None: ... + class WebmKeyId(_message.Message): + __slots__ = ["header", "license_type", "request_id"] + HEADER_FIELD_NUMBER: _ClassVar[int] + LICENSE_TYPE_FIELD_NUMBER: _ClassVar[int] + REQUEST_ID_FIELD_NUMBER: _ClassVar[int] + header: bytes + license_type: LicenseType + request_id: bytes + def __init__(self, header: _Optional[bytes] = ..., license_type: _Optional[_Union[LicenseType, str]] = ..., request_id: _Optional[bytes] = ...) -> None: ... + class WidevinePsshData(_message.Message): + __slots__ = ["license_type", "pssh_data", "request_id"] + LICENSE_TYPE_FIELD_NUMBER: _ClassVar[int] + PSSH_DATA_FIELD_NUMBER: _ClassVar[int] + REQUEST_ID_FIELD_NUMBER: _ClassVar[int] + license_type: LicenseType + pssh_data: _containers.RepeatedScalarFieldContainer[bytes] + request_id: bytes + def __init__(self, pssh_data: _Optional[_Iterable[bytes]] = ..., license_type: _Optional[_Union[LicenseType, str]] = ..., request_id: _Optional[bytes] = ...) -> None: ... + EXISTING_LICENSE_FIELD_NUMBER: _ClassVar[int] + INIT_DATA_FIELD_NUMBER: _ClassVar[int] + WEBM_KEY_ID_FIELD_NUMBER: _ClassVar[int] + WIDEVINE_PSSH_DATA_FIELD_NUMBER: _ClassVar[int] + existing_license: LicenseRequest.ContentIdentification.ExistingLicense + init_data: LicenseRequest.ContentIdentification.InitData + webm_key_id: LicenseRequest.ContentIdentification.WebmKeyId + widevine_pssh_data: LicenseRequest.ContentIdentification.WidevinePsshData + def __init__(self, widevine_pssh_data: _Optional[_Union[LicenseRequest.ContentIdentification.WidevinePsshData, _Mapping]] = ..., webm_key_id: _Optional[_Union[LicenseRequest.ContentIdentification.WebmKeyId, _Mapping]] = ..., existing_license: _Optional[_Union[LicenseRequest.ContentIdentification.ExistingLicense, _Mapping]] = ..., init_data: _Optional[_Union[LicenseRequest.ContentIdentification.InitData, _Mapping]] = ...) -> None: ... + CLIENT_ID_FIELD_NUMBER: _ClassVar[int] + CONTENT_ID_FIELD_NUMBER: _ClassVar[int] + ENCRYPTED_CLIENT_ID_FIELD_NUMBER: _ClassVar[int] + KEY_CONTROL_NONCE_DEPRECATED_FIELD_NUMBER: _ClassVar[int] + KEY_CONTROL_NONCE_FIELD_NUMBER: _ClassVar[int] + NEW: LicenseRequest.RequestType + PROTOCOL_VERSION_FIELD_NUMBER: _ClassVar[int] + RELEASE: LicenseRequest.RequestType + RENEWAL: LicenseRequest.RequestType + REQUEST_TIME_FIELD_NUMBER: _ClassVar[int] + TYPE_FIELD_NUMBER: _ClassVar[int] + client_id: ClientIdentification + content_id: LicenseRequest.ContentIdentification + encrypted_client_id: EncryptedClientIdentification + key_control_nonce: int + key_control_nonce_deprecated: bytes + protocol_version: ProtocolVersion + request_time: int + type: LicenseRequest.RequestType + def __init__(self, client_id: _Optional[_Union[ClientIdentification, _Mapping]] = ..., content_id: _Optional[_Union[LicenseRequest.ContentIdentification, _Mapping]] = ..., type: _Optional[_Union[LicenseRequest.RequestType, str]] = ..., request_time: _Optional[int] = ..., key_control_nonce_deprecated: _Optional[bytes] = ..., protocol_version: _Optional[_Union[ProtocolVersion, str]] = ..., key_control_nonce: _Optional[int] = ..., encrypted_client_id: _Optional[_Union[EncryptedClientIdentification, _Mapping]] = ...) -> None: ... + +class MetricData(_message.Message): + __slots__ = ["metric_data", "stage_name"] + class MetricType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + class TypeValue(_message.Message): + __slots__ = ["type", "value"] + TYPE_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + type: MetricData.MetricType + value: int + def __init__(self, type: _Optional[_Union[MetricData.MetricType, str]] = ..., value: _Optional[int] = ...) -> None: ... + LATENCY: MetricData.MetricType + METRIC_DATA_FIELD_NUMBER: _ClassVar[int] + STAGE_NAME_FIELD_NUMBER: _ClassVar[int] + TIMESTAMP: MetricData.MetricType + metric_data: _containers.RepeatedCompositeFieldContainer[MetricData.TypeValue] + stage_name: str + def __init__(self, stage_name: _Optional[str] = ..., metric_data: _Optional[_Iterable[_Union[MetricData.TypeValue, _Mapping]]] = ...) -> None: ... + +class SignedDrmCertificate(_message.Message): + __slots__ = ["drm_certificate", "hash_algorithm", "signature", "signer"] + DRM_CERTIFICATE_FIELD_NUMBER: _ClassVar[int] + HASH_ALGORITHM_FIELD_NUMBER: _ClassVar[int] + SIGNATURE_FIELD_NUMBER: _ClassVar[int] + SIGNER_FIELD_NUMBER: _ClassVar[int] + drm_certificate: bytes + hash_algorithm: HashAlgorithmProto + signature: bytes + signer: SignedDrmCertificate + def __init__(self, drm_certificate: _Optional[bytes] = ..., signature: _Optional[bytes] = ..., signer: _Optional[_Union[SignedDrmCertificate, _Mapping]] = ..., hash_algorithm: _Optional[_Union[HashAlgorithmProto, str]] = ...) -> None: ... + +class SignedMessage(_message.Message): + __slots__ = ["metric_data", "msg", "oemcrypto_core_message", "remote_attestation", "service_version_info", "session_key", "session_key_type", "signature", "type"] + class MessageType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + class SessionKeyType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + CAS_LICENSE: SignedMessage.MessageType + CAS_LICENSE_REQUEST: SignedMessage.MessageType + EPHERMERAL_ECC_PUBLIC_KEY: SignedMessage.SessionKeyType + ERROR_RESPONSE: SignedMessage.MessageType + EXTERNAL_LICENSE: SignedMessage.MessageType + EXTERNAL_LICENSE_REQUEST: SignedMessage.MessageType + LICENSE: SignedMessage.MessageType + LICENSE_REQUEST: SignedMessage.MessageType + METRIC_DATA_FIELD_NUMBER: _ClassVar[int] + MSG_FIELD_NUMBER: _ClassVar[int] + OEMCRYPTO_CORE_MESSAGE_FIELD_NUMBER: _ClassVar[int] + REMOTE_ATTESTATION_FIELD_NUMBER: _ClassVar[int] + SERVICE_CERTIFICATE: SignedMessage.MessageType + SERVICE_CERTIFICATE_REQUEST: SignedMessage.MessageType + SERVICE_VERSION_INFO_FIELD_NUMBER: _ClassVar[int] + SESSION_KEY_FIELD_NUMBER: _ClassVar[int] + SESSION_KEY_TYPE_FIELD_NUMBER: _ClassVar[int] + SIGNATURE_FIELD_NUMBER: _ClassVar[int] + SUB_LICENSE: SignedMessage.MessageType + TYPE_FIELD_NUMBER: _ClassVar[int] + UNDEFINED: SignedMessage.SessionKeyType + WRAPPED_AES_KEY: SignedMessage.SessionKeyType + metric_data: _containers.RepeatedCompositeFieldContainer[MetricData] + msg: bytes + oemcrypto_core_message: bytes + remote_attestation: bytes + service_version_info: VersionInfo + session_key: bytes + session_key_type: SignedMessage.SessionKeyType + signature: bytes + type: SignedMessage.MessageType + def __init__(self, type: _Optional[_Union[SignedMessage.MessageType, str]] = ..., msg: _Optional[bytes] = ..., signature: _Optional[bytes] = ..., session_key: _Optional[bytes] = ..., remote_attestation: _Optional[bytes] = ..., metric_data: _Optional[_Iterable[_Union[MetricData, _Mapping]]] = ..., service_version_info: _Optional[_Union[VersionInfo, _Mapping]] = ..., session_key_type: _Optional[_Union[SignedMessage.SessionKeyType, str]] = ..., oemcrypto_core_message: _Optional[bytes] = ...) -> None: ... + +class VersionInfo(_message.Message): + __slots__ = ["license_sdk_version", "license_service_version"] + LICENSE_SDK_VERSION_FIELD_NUMBER: _ClassVar[int] + LICENSE_SERVICE_VERSION_FIELD_NUMBER: _ClassVar[int] + license_sdk_version: str + license_service_version: str + def __init__(self, license_sdk_version: _Optional[str] = ..., license_service_version: _Optional[str] = ...) -> None: ... + +class WidevinePsshData(_message.Message): + __slots__ = ["algorithm", "content_id", "crypto_period_index", "crypto_period_seconds", "entitled_keys", "group_ids", "grouped_license", "key_ids", "key_sequence", "policy", "protection_scheme", "provider", "track_type", "type", "video_feature"] + class Algorithm(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + class Type(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + class EntitledKey(_message.Message): + __slots__ = ["entitlement_key_id", "entitlement_key_size_bytes", "iv", "key", "key_id"] + ENTITLEMENT_KEY_ID_FIELD_NUMBER: _ClassVar[int] + ENTITLEMENT_KEY_SIZE_BYTES_FIELD_NUMBER: _ClassVar[int] + IV_FIELD_NUMBER: _ClassVar[int] + KEY_FIELD_NUMBER: _ClassVar[int] + KEY_ID_FIELD_NUMBER: _ClassVar[int] + entitlement_key_id: bytes + entitlement_key_size_bytes: int + iv: bytes + key: bytes + key_id: bytes + def __init__(self, entitlement_key_id: _Optional[bytes] = ..., key_id: _Optional[bytes] = ..., key: _Optional[bytes] = ..., iv: _Optional[bytes] = ..., entitlement_key_size_bytes: _Optional[int] = ...) -> None: ... + AESCTR: WidevinePsshData.Algorithm + ALGORITHM_FIELD_NUMBER: _ClassVar[int] + CONTENT_ID_FIELD_NUMBER: _ClassVar[int] + CRYPTO_PERIOD_INDEX_FIELD_NUMBER: _ClassVar[int] + CRYPTO_PERIOD_SECONDS_FIELD_NUMBER: _ClassVar[int] + ENTITLED_KEY: WidevinePsshData.Type + ENTITLED_KEYS_FIELD_NUMBER: _ClassVar[int] + ENTITLEMENT: WidevinePsshData.Type + GROUPED_LICENSE_FIELD_NUMBER: _ClassVar[int] + GROUP_IDS_FIELD_NUMBER: _ClassVar[int] + KEY_IDS_FIELD_NUMBER: _ClassVar[int] + KEY_SEQUENCE_FIELD_NUMBER: _ClassVar[int] + POLICY_FIELD_NUMBER: _ClassVar[int] + PROTECTION_SCHEME_FIELD_NUMBER: _ClassVar[int] + PROVIDER_FIELD_NUMBER: _ClassVar[int] + SINGLE: WidevinePsshData.Type + TRACK_TYPE_FIELD_NUMBER: _ClassVar[int] + TYPE_FIELD_NUMBER: _ClassVar[int] + UNENCRYPTED: WidevinePsshData.Algorithm + VIDEO_FEATURE_FIELD_NUMBER: _ClassVar[int] + algorithm: WidevinePsshData.Algorithm + content_id: bytes + crypto_period_index: int + crypto_period_seconds: int + entitled_keys: _containers.RepeatedCompositeFieldContainer[WidevinePsshData.EntitledKey] + group_ids: _containers.RepeatedScalarFieldContainer[bytes] + grouped_license: bytes + key_ids: _containers.RepeatedScalarFieldContainer[bytes] + key_sequence: int + policy: str + protection_scheme: int + provider: str + track_type: str + type: WidevinePsshData.Type + video_feature: str + def __init__(self, key_ids: _Optional[_Iterable[bytes]] = ..., content_id: _Optional[bytes] = ..., crypto_period_index: _Optional[int] = ..., protection_scheme: _Optional[int] = ..., crypto_period_seconds: _Optional[int] = ..., type: _Optional[_Union[WidevinePsshData.Type, str]] = ..., key_sequence: _Optional[int] = ..., group_ids: _Optional[_Iterable[bytes]] = ..., entitled_keys: _Optional[_Iterable[_Union[WidevinePsshData.EntitledKey, _Mapping]]] = ..., video_feature: _Optional[str] = ..., algorithm: _Optional[_Union[WidevinePsshData.Algorithm, str]] = ..., provider: _Optional[str] = ..., track_type: _Optional[str] = ..., policy: _Optional[str] = ..., grouped_license: _Optional[bytes] = ...) -> None: ... + +class LicenseType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + +class PlatformVerificationStatus(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + +class ProtocolVersion(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + +class HashAlgorithmProto(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = []