MSL.py 文件源码

python
阅读 46 收藏 0 点赞 0 评论 0

项目:plugin.video.netflix 作者: asciidisco 项目源码 文件源码
def __init__(self, kodi_helper):
        """
        The Constructor checks for already existing crypto Keys.
        If they exist it will load the existing keys
        """
        self.kodi_helper = kodi_helper
        try:
            xbmcvfs.mkdir(path=self.kodi_helper.msl_data_path)
        except OSError:
            pass

        if self.file_exists(self.kodi_helper.msl_data_path, 'msl_data.json'):
            self.init_msl_data()
        elif self.file_exists(self.kodi_helper.msl_data_path, 'rsa_key.bin'):
            self.init_rsa_keys()
        else:
            self.init_generate_rsa_keys()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号