def create_verifier_for_pss(signature, hash_method, public_key):
 mgf = padding.MGF1(hash_method)
 salt_length = padding.PSS.MAX_LENGTH
 return public_key.verifier(signature, padding.PSS(mgf=mgf, salt_length=salt_length), hash_method)

def create_verifier_for_pss ( signature , hash_method , public_key ) : mgf = padding . MGF1 ( hash_method ) salt_length = padding . PSS . MAX_LENGTH return public_key . verifier ( signature , padding . PSS ( mgf = mgf , salt_length = salt_length ) , hash_method )
create the verifier to use when the key type is rsa-pss .