pub enum SharedKey {
HmacSha256(Vec<u8>),
}Expand description
Shared key for http signature Name conventions follow Section 6.2.2, RFC9421
Variants§
Implementations§
Sourcepub fn from_base64(key: &str) -> Result<SharedKey, HttpSigError>
pub fn from_base64(key: &str) -> Result<SharedKey, HttpSigError>
Create a new shared key from base64 encoded string
Trait Implementations§
Auto Trait Implementations§
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