This repository has been archived on 2024-07-02. You can view files and clone it, but cannot push or open issues or pull requests.
Gplay-4k-Downloader/pywidevine/cdm/session.py

19 lines
576 B
Python
Raw Normal View History

2021-12-23 10:21:08 +00:00
class Session:
def __init__(self, session_id, init_data, device_config, offline):
self.session_id = session_id
self.init_data = init_data
self.offline = offline
self.device_config = device_config
self.device_key = None
self.session_key = None
self.derived_keys = {
'enc': None,
'auth_1': None,
'auth_2': None
}
self.license_request = None
self.license = None
self.service_certificate = None
self.privacy_mode = False
self.keys = []