Struct http_sig::RsaSha256Sign
source · pub struct RsaSha256Sign(_);
Expand description
Implementation of the signing half of the ’ rsa-sha256 ’ HTTP signature scheme.
Implementations§
source§impl RsaSha256Sign
impl RsaSha256Sign
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 RsaSha256Sign
impl Debug for RsaSha256Sign
source§impl HttpSignatureSign for RsaSha256Sign
impl HttpSignatureSign for RsaSha256Sign
Auto Trait Implementations§
impl RefUnwindSafe for RsaSha256Sign
impl Send for RsaSha256Sign
impl Sync for RsaSha256Sign
impl Unpin for RsaSha256Sign
impl UnwindSafe for RsaSha256Sign
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