[−][src]Struct picky::jose::jws::JwsHeader
JOSE header of a JWS
Fields
alg: JwsAlg
Algorithm Header
identifies the cryptographic algorithm used to secure the JWS.
jku: Option<String>
JWK Set URL
URI that refers to a resource for a set of JSON-encoded public keys, one of which corresponds to the key used to digitally sign the JWS.
jwk: Option<Jwk>
JSON Web Key
The public key that corresponds to the key used to digitally sign the JWS. This key is represented as a JSON Web Key (JWK).
typ: Option<String>
Type header
Used by JWS applications to declare the media type [IANA.MediaTypes] of this complete JWS.
cty: Option<String>
Content Type header
Used by JWS applications to declare the media type [IANA.MediaTypes] of the secured content (the payload).
kid: Option<String>
Key ID Header
A hint indicating which key was used.
x5u: Option<String>
X.509 URL Header
URI that refers to a resource for an X.509 public key certificate or certificate chain.
x5c: Option<Vec<String>>
X.509 Certificate Chain
Chain of one or more PKIX certificates.
x5t: Option<String>
X.509 Certificate SHA-1 Thumbprint
base64url-encoded SHA-1 thumbprint (a.k.a. digest) of the DER encoding of an X.509 certificate.
x5t_s256: Option<String>
X.509 Certificate SHA-256 Thumbprint
base64url-encoded SHA-256 thumbprint (a.k.a. digest) of the DER encoding of an X.509 certificate.
Implementations
impl JwsHeader
[src]
Trait Implementations
impl Clone for JwsHeader
[src]
impl Debug for JwsHeader
[src]
impl<'de> Deserialize<'de> for JwsHeader
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for JwsHeader
[src]
impl Hash for JwsHeader
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<JwsHeader> for JwsHeader
[src]
impl Serialize for JwsHeader
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for JwsHeader
[src]
impl StructuralPartialEq for JwsHeader
[src]
Auto Trait Implementations
impl RefUnwindSafe for JwsHeader
impl Send for JwsHeader
impl Sync for JwsHeader
impl Unpin for JwsHeader
impl UnwindSafe for JwsHeader
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,