def __init__(self): key_path = config.get_registry_file() self.key = files.read_from_file(key_path) self.nonce_path = config.get_certificate_path()
def get_nonce(self): return files.read_from_file(self.nonce_path)