def destroy(self): Certificate.destroy(self) if self.jks and os.path.exists(self.jks): os.remove(self.jks)
def __init__(self, *args): Certificate.__init__(self, *args) self.jks = os.path.join(self.parent.home, self.alias + ".jks")
def saveBKS(self, *args, **kargs): return Certificate.saveBKS(self, src=self.jks, *args, **kargs)
def destroy(self): if os.path.exists(self.key): os.remove(self.key) Certificate.destroy(self)
def __init__(self, *args): Certificate.__init__(self, *args) self.pem = os.path.join(self.parent.home, self.alias + ".pem") self.key = os.path.join(self.parent.home, self.alias + "_key.pem")