Trait sui_types::signature::AuthenticatorTrait
source · pub trait AuthenticatorTrait {
// Required methods
fn verify_user_authenticator_epoch(
&self,
epoch: EpochId,
max_epoch_upper_bound_delta: Option<u64>
) -> SuiResult;
fn verify_claims<T>(
&self,
value: &IntentMessage<T>,
author: SuiAddress,
aux_verify_data: &VerifyParams
) -> SuiResult
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> ) -> SuiResult
fn verify_claims<T>(
&self,
value: &IntentMessage<T>,
author: SuiAddress,
aux_verify_data: &VerifyParams
) -> SuiResultwhere
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].