identity_iota::storage

Trait TimeframeRevocationExtension

Source
pub trait TimeframeRevocationExtension {
    // Required method
    fn update<'life0, 'life1, 'life2, 'life3, 'async_trait, K, I>(
        &'life0 self,
        storage: &'life1 Storage<K, I>,
        fragment: &'life2 str,
        start_validity: Option<Timestamp>,
        duration: Duration,
        credential_jwp: &'life3 mut JwpIssued,
    ) -> Pin<Box<dyn Future<Output = Result<Jpt, JwkStorageDocumentError>> + Send + 'async_trait>>
       where 'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait,
             K: JwkStorageBbsPlusExt + 'async_trait,
             I: KeyIdStorage + 'async_trait,
             Self: 'async_trait;
}
Expand description

CoreDocument and IotaDocument extension to handle Credential’ signature update for RevocationTimeframe2024

Required Methods§

Source

fn update<'life0, 'life1, 'life2, 'life3, 'async_trait, K, I>( &'life0 self, storage: &'life1 Storage<K, I>, fragment: &'life2 str, start_validity: Option<Timestamp>, duration: Duration, credential_jwp: &'life3 mut JwpIssued, ) -> Pin<Box<dyn Future<Output = Result<Jpt, JwkStorageDocumentError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, K: JwkStorageBbsPlusExt + 'async_trait, I: KeyIdStorage + 'async_trait, Self: 'async_trait,

Update Credential’ signature considering the Timeframe interval

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§