(self, hashes=None)
:param hashes: A dict of algorithm names pointing to lists of allowed
            hex digests
:param hashes: A dict of algorithm names pointing to lists of allowed
            hex digests
: param hashes : A dict of algorithm names pointing to lists of allowed hex digests
def __init__(self, hashes=None):
        # type: (Dict[str, List[str]]) -> None
        """
        :param hashes: A dict of algorithm names pointing to lists of allowed
            hex digests
        """
        self._allowed = {} if hashes is None else hashes
def __init__ ( self , hashes = None ) : # type: (Dict[str, List[str]]) -> None self . _allowed = { } if hashes is None else hashes