[][src]Trait jwt::token::signed::SignWithStore

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

Allow objects to be signed with a store.

Required methods

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

Loading content...

Implementations on Foreign Types

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

Loading content...

Implementors

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

Loading content...