Struct compact_jwt::compact::JwsCompact
source · pub struct JwsCompact { /* private fields */ }
Expand description
A Compact JWS that is able to be verified or stringified for transmission
Implementations§
source§impl JwsCompact
impl JwsCompact
source§impl JwsCompact
impl JwsCompact
sourcepub fn get_jwk_pubkey_url(&self) -> Option<&Url>
pub fn get_jwk_pubkey_url(&self) -> Option<&Url>
Get the embedded Url for the Jwk that signed this Jws.
You MUST ensure this url uses HTTPS and you MUST ensure that your client validates the CA’s used.
sourcepub fn get_jwk_pubkey(&self) -> Option<&Jwk>
pub fn get_jwk_pubkey(&self) -> Option<&Jwk>
Get the embedded public key used to sign this Jws, if present.
Trait Implementations§
source§impl Clone for JwsCompact
impl Clone for JwsCompact
source§fn clone(&self) -> JwsCompact
fn clone(&self) -> JwsCompact
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 JwsCompact
impl Debug for JwsCompact
source§impl<'de> Deserialize<'de> for JwsCompact
impl<'de> Deserialize<'de> for JwsCompact
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for JwsCompact
impl Display for JwsCompact
source§impl FromStr for JwsCompact
impl FromStr for JwsCompact
source§impl JwsVerifiable for JwsCompact
impl JwsVerifiable for JwsCompact
source§fn data(&self) -> JwsCompactVerifyData<'_>
fn data(&self) -> JwsCompactVerifyData<'_>
Retrieve the inner data from the JwsCompact that is to be verified
Auto Trait Implementations§
impl Freeze for JwsCompact
impl RefUnwindSafe for JwsCompact
impl Send for JwsCompact
impl Sync for JwsCompact
impl Unpin for JwsCompact
impl UnwindSafe for JwsCompact
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