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§

source

fn verify_user_authenticator_epoch( &self, epoch: EpochId, max_epoch_upper_bound_delta: Option<u64>, ) -> IotaResult

source

fn verify_claims<T>( &self, value: &IntentMessage<T>, author: IotaAddress, aux_verify_data: &VerifyParams, zklogin_inputs_cache: Arc<VerifiedDigestCache<ZKLoginInputsDigest>>, ) -> IotaResult
where T: Serialize,

Object Safety§

This trait is not object safe.

Implementors§