[−][src]Trait jwt::token::signed::SignWithStore
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,
S: Store<Algorithm = A>,
A: SigningAlgorithm,
Implementations on Foreign Types
impl<'a, C: ToBase64> SignWithStore<String> for (&'a str, C)
[src]
fn sign_with_store<S, A>(self, store: &S) -> Result<String, Error> where
S: Store<Algorithm = A>,
A: SigningAlgorithm,
[src]
S: Store<Algorithm = A>,
A: SigningAlgorithm,
Implementors
impl<H, C> SignWithStore<Token<H, C, Signed>> for Token<H, C, Unsigned> where
H: ToBase64 + JoseHeader,
C: ToBase64,
[src]
H: ToBase64 + JoseHeader,
C: ToBase64,
fn sign_with_store<S, A>(self, store: &S) -> Result<Token<H, C, Signed>, Error> where
S: Store<Algorithm = A>,
A: SigningAlgorithm,
[src]
S: Store<Algorithm = A>,
A: SigningAlgorithm,