vtpm_manager.py 文件源码

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

项目:python-keylime 作者: mit-ll 项目源码 文件源码
def __new__(cls, uuid, aik_path, vtpm, added=False):
        """
        Args
        ----
        uuid: str
            The UUID for this VTPM Group
        aik_path: str
            The path to the .pem for this group's AIK
        """
        if uuid in VTPMGroup._groups:
            return VTPMGroup._groups[uuid]

        obj = object.__new__(cls)
        obj.uuid = uuid
        obj.aik_path = aik_path
        obj.vtpm = vtpm

        if added:
            VTPMGroup._groups[uuid] = obj
        return obj
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号