code: def _get_key_info(self):
          
          if self._key_info_cache is None:
              self._key_info_cache = ssh_key_info_from_key_data(self.key_id,
                                                                self.priv_key)
          return self._key_info_cache
docs: Get key info appropriate for signing.