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.
DISNEY-4K-SCRIPT/pywidevine/cdm/session.py
widevinedump 4966f5355a New
2021-12-24 09:35:09 +05:30

19 lines
576 B
Python

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 = []