Struct http_sig::RsaSha512Sign
source · pub struct RsaSha512Sign(_);
Expand description
Implementation of the signing half of the ’ rsa-sha512 ’ HTTP signature scheme.
Implementations§
source§impl RsaSha512Sign
impl RsaSha512Sign
sourcepub fn new_pkcs8(private_key: &[u8]) -> Result<Self, Box<dyn Error>>
pub fn new_pkcs8(private_key: &[u8]) -> Result<Self, Box<dyn Error>>
Create a new instance of the signature scheme using the provided private key.
Trait Implementations§
source§impl Debug for RsaSha512Sign
impl Debug for RsaSha512Sign
source§impl HttpSignatureSign for RsaSha512Sign
impl HttpSignatureSign for RsaSha512Sign
Auto Trait Implementations§
impl RefUnwindSafe for RsaSha512Sign
impl Send for RsaSha512Sign
impl Sync for RsaSha512Sign
impl Unpin for RsaSha512Sign
impl UnwindSafe for RsaSha512Sign
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