pub struct UnsecuredJwsSigner { /* private fields */ }
Trait Implementations§
source§impl Clone for UnsecuredJwsSigner
impl Clone for UnsecuredJwsSigner
source§fn clone(&self) -> UnsecuredJwsSigner
fn clone(&self) -> UnsecuredJwsSigner
Returns a copy of the value. Read more
1.0.0 · 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 UnsecuredJwsSigner
impl Debug for UnsecuredJwsSigner
source§impl Deref for UnsecuredJwsSigner
impl Deref for UnsecuredJwsSigner
source§impl JwsSigner for UnsecuredJwsSigner
impl JwsSigner for UnsecuredJwsSigner
source§fn algorithm(&self) -> &dyn JwsAlgorithm
fn algorithm(&self) -> &dyn JwsAlgorithm
Return the source algorithm instance.
source§fn key_id(&self) -> Option<&str>
fn key_id(&self) -> Option<&str>
Return the source key ID.
The default value is a value of kid parameter in JWK.
source§fn signature_len(&self) -> usize
fn signature_len(&self) -> usize
Return the signature length of JWS.
source§fn sign(&self, _message: &[u8]) -> Result<Vec<u8>, JoseError>
fn sign(&self, _message: &[u8]) -> Result<Vec<u8>, JoseError>
Return a signature of the data. Read more
fn box_clone(&self) -> Box<dyn JwsSigner>
Auto Trait Implementations§
impl Freeze for UnsecuredJwsSigner
impl RefUnwindSafe for UnsecuredJwsSigner
impl Send for UnsecuredJwsSigner
impl Sync for UnsecuredJwsSigner
impl Unpin for UnsecuredJwsSigner
impl UnwindSafe for UnsecuredJwsSigner
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