'Yields all the hashes in the file store.
Args:
token: Security token, instance of ACLToken.
age: AFF4 age specification. Only get hits corresponding to the given
age spec. Should be aff4.NEWEST_TIME or a time range given as a
tuple (start, end) in microseconds since Jan 1st, 1970. If just
a microseconds value is given it\'s treated as the higher end of the
range, i.e. (0, age). See aff4.FACTORY.ParseAgeSpecification for
details.
Yields:
FileStoreHash instances corresponding to all the hashes in the file store.
Raises:
ValueError: if age was set to aff4.ALL_TIMES.'

@staticmethod
def ListHashes(token=None, age=aff4.NEWEST_TIME):

    if (age == aff4.ALL_TIMES):
        raise ValueError('age==aff4.ALL_TIMES    is    not    allowed.')
    urns = []
    for (fingerprint_type, hash_types) in HashFileStore.HASH_TYPES.iteritems():
        for hash_type in hash_types:
            urns.append(HashFileStore.PATH.Add(fingerprint_type).Add(hash_type))
    for (_, values) in aff4.FACTORY.MultiListChildren(urns, token=token, age=age):
        for value in values:
            (yield FileStoreHash(value))
