def verify(self, pubkey_a: UmbralPublicKey, pubkey_b: UmbralPublicKey, params: UmbralParameters=None): pubkey_a_point = pubkey_a.point_key pubkey_b_point = pubkey_b.point_key return verify_kfrag(self, pubkey_a_point, pubkey_b_point, params)
def verify(self, signing_pubkey: UmbralPublicKey, delegating_pubkey: UmbralPublicKey, receiving_pubkey: UmbralPublicKey, params: UmbralParameters = None): return verify_kfrag(self, delegating_pubkey.point_key, signing_pubkey, receiving_pubkey.point_key, params)
def verify( self, signing_pubkey: UmbralPublicKey, delegating_pubkey: UmbralPublicKey = None, receiving_pubkey: UmbralPublicKey = None, params: Optional[UmbralParameters] = None, ) -> bool: if params is None: params = default_params() return verify_kfrag(kfrag=self, params=params, delegating_pubkey=delegating_pubkey, signing_pubkey=signing_pubkey, receiving_pubkey=receiving_pubkey)
def verify(self, signing_pubkey: UmbralPublicKey, delegating_pubkey: UmbralPublicKey, receiving_pubkey: UmbralPublicKey) -> bool: return verify_kfrag(self, delegating_pubkey, signing_pubkey, receiving_pubkey)