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

19 lines
576 B
Python
Raw Normal View History

2021-12-24 04:05:09 +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 = []