Trait iota_types::signature::AuthenticatorTrait
source · pub trait AuthenticatorTrait {
// Required methods
fn verify_user_authenticator_epoch(
&self,
epoch: EpochId,
max_epoch_upper_bound_delta: Option<u64>,
) -> IotaResult;
fn verify_claims<T>(
&self,
value: &IntentMessage<T>,
author: IotaAddress,
aux_verify_data: &VerifyParams,
zklogin_inputs_cache: Arc<VerifiedDigestCache<ZKLoginInputsDigest>>,
) -> IotaResult
where T: Serialize;
}
Expand description
A lightweight trait that all members of [enum GenericSignature] implement.
Required Methods§
fn verify_user_authenticator_epoch( &self, epoch: EpochId, max_epoch_upper_bound_delta: Option<u64>, ) -> IotaResult
fn verify_claims<T>(
&self,
value: &IntentMessage<T>,
author: IotaAddress,
aux_verify_data: &VerifyParams,
zklogin_inputs_cache: Arc<VerifiedDigestCache<ZKLoginInputsDigest>>,
) -> IotaResultwhere
T: Serialize,
Object Safety§
This trait is not object safe.
Implementors§
impl AuthenticatorTrait for Signature
This ports the wrapper trait to the verify_secure defined on [enum Signature].