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.
APPLE-TV-4K-Downloader/pywidevine/cdm/session.py
widevinedump fdc26b99ee Upload
2021-12-25 10:54:39 +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 = []