pub trait SignWithStore<T> {
    // Required method
    fn sign_with_store<S, A>(self, store: &S) -> Result<T, Error>
       where S: Store<Algorithm = A>,
             A: SigningAlgorithm;
}
Expand description

Allow objects to be signed with a store.

Required Methods§

source

fn sign_with_store<S, A>(self, store: &S) -> Result<T, Error>
where S: Store<Algorithm = A>, A: SigningAlgorithm,

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'a, C: ToBase64> SignWithStore<String> for (&'a str, C)

source§

fn sign_with_store<S, A>(self, store: &S) -> Result<String, Error>
where S: Store<Algorithm = A>, A: SigningAlgorithm,

Implementors§

source§

impl<H, C> SignWithStore<Token<H, C, Signed>> for Token<H, C, Unsigned>
where H: ToBase64 + JoseHeader, C: ToBase64,