Trait iota_types::crypto::IotaAuthoritySignature
source · pub trait IotaAuthoritySignature {
// Required methods
fn verify_secure<T>(
&self,
value: &IntentMessage<T>,
epoch_id: EpochId,
author: AuthorityPublicKeyBytes,
) -> Result<(), IotaError>
where T: Serialize;
fn new_secure<T>(
value: &IntentMessage<T>,
epoch_id: &EpochId,
secret: &dyn Signer<Self>,
) -> Self
where T: Serialize;
}
Required Methods§
fn verify_secure<T>(
&self,
value: &IntentMessage<T>,
epoch_id: EpochId,
author: AuthorityPublicKeyBytes,
) -> Result<(), IotaError>where
T: Serialize,
fn new_secure<T>(
value: &IntentMessage<T>,
epoch_id: &EpochId,
secret: &dyn Signer<Self>,
) -> Selfwhere
T: Serialize,
Object Safety§
This trait is not object safe.