code: def finger_all(self, hash_type=None):
          '''
          Return fingerprints for all keys
          '''
          if hash_type is None:
              hash_type = __opts__['hash_type']
  
          ret = {}
          for status, keys in six.iteritems(self.all_keys()):
              ret[status] = {}
              for key in keys:
                  if status == 'local':
                      path = os.path.join(self.opts['pki_dir'], key)
                  else:
                      path = os.path.join(self.opts['pki_dir'], status, key)
                  ret[status][key] = salt.utils.crypt.pem_finger(path, sum_type=hash_type)
          return ref finger_all(self, hash_type=None):
          '''
          Return fingerprints for all keys
          '''
          if hash_type is None:
              hash_type = __opts__['hash_type']
  
          ret = {}
          for status, keys in six.iteritems(self.all_keys()):
              ret[status] = {}
              for key in keys:
                  if status == 'local':
                      path = os.path.join(self.opts['pki_dir'], key)
                  else:
                      path = os.path.join(self.opts['pki_dir'], status, key)
                  ret[status][key] = salt.utils.crypt.pem_finger(path, sum_type=hash_type)
          return ret
docs: Return fingerprints for all keys