pub struct SignatureInput { /* private fields */ }Implementations§
Source§impl SignatureInput
impl SignatureInput
pub fn key_id(&self) -> &str
pub fn algorithm(&self) -> &str
pub fn created(&self) -> Option<u64>
pub fn expires(&self) -> Option<u64>
pub fn verify_request<B>( &self, request: &Request<B>, key: &impl VerifierKey, ) -> Result<(), VerificationError>
pub fn verify_response<B>( &self, response: &Response<B>, key: &impl VerifierKey, ) -> Result<(), VerificationError>
Source§impl SignatureInput
impl SignatureInput
pub fn from_header( header: &HeaderMap, ) -> Result<SignatureInput, SignatureInputError>
Trait Implementations§
Source§impl Clone for SignatureInput
impl Clone for SignatureInput
Source§fn clone(&self) -> SignatureInput
fn clone(&self) -> SignatureInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SignatureInput
impl Debug for SignatureInput
Source§impl<B> TryFrom<&Request<B>> for SignatureInput
impl<B> TryFrom<&Request<B>> for SignatureInput
Auto Trait Implementations§
impl Freeze for SignatureInput
impl RefUnwindSafe for SignatureInput
impl Send for SignatureInput
impl Sync for SignatureInput
impl Unpin for SignatureInput
impl UnsafeUnpin for SignatureInput
impl UnwindSafe for SignatureInput
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