pub struct DidKeyResolver;Expand description
Resolves did:key:zXXX#zXXX verification methods with no I/O.
Supports every public-key multicodec registered with this build: Ed25519, X25519, P-256, P-384, P-521, secp256k1, and (with features enabled) ML-DSA-{44,65,87} and SLH-DSA-SHA2-128s.
Trait Implementations§
Source§impl VerificationMethodResolver for DidKeyResolver
impl VerificationMethodResolver for DidKeyResolver
Source§fn resolve_vm<'life0, 'life1, 'async_trait>(
&'life0 self,
vm: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<ResolvedKey, DataIntegrityError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn resolve_vm<'life0, 'life1, 'async_trait>(
&'life0 self,
vm: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<ResolvedKey, DataIntegrityError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Resolve a verification-method URI, returning its key type and raw
public-key bytes.
Auto Trait Implementations§
impl Freeze for DidKeyResolver
impl RefUnwindSafe for DidKeyResolver
impl Send for DidKeyResolver
impl Sync for DidKeyResolver
impl Unpin for DidKeyResolver
impl UnsafeUnpin for DidKeyResolver
impl UnwindSafe for DidKeyResolver
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more