[−][src]Struct http_signature_normalization::create::Unsigned
The Unsigned stage of creating a signature
From here, the sign
method can be used to sign the signing_string, producing a Signed
type.
Implementations
impl Unsigned
[src]
pub fn sign<F, E>(self, key_id: String, f: F) -> Result<Signed, E> where
F: FnOnce(&str) -> Result<String, E>,
[src]
F: FnOnce(&str) -> Result<String, E>,
Sign the signing string, producing a String that can be used in an HTTP Header
When using RSA or HMAC to sign the string, be sure to base64-encode the result to produce a String.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Unsigned
impl Send for Unsigned
impl Sync for Unsigned
impl Unpin for Unsigned
impl UnwindSafe for Unsigned
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,