pub fn deserialize_protected_header<H: DeserializeOwned>(
        &self,
    ) -> serde_json::Result<Header<H>> {
        serde_json::from_slice(&self.protected_header_serialized)
    }
/// Deserialize protected headers
///
/// This allows access to protected headers beyond those
/// that are recognized with RegisteredHeader
Deserialize protected headers
This allows access to protected headers beyond those
that are recognized with RegisteredHeader
Deserialize protected headers This allows access to protected headers beyond those that are recognized with RegisteredHeader
pub fn deserialize_protected_header<H: DeserializeOwned>(
        &self,
    ) -> serde_json::Result<Header<H>> {
        serde_json::from_slice(&self.protected_header_serialized)
    }
pub fn deserialize_protected_header < H : DeserializeOwned > ( & self , ) -> serde_json :: Result < Header < H > > { serde_json :: from_slice ( & self . protected_header_serialized ) }
Deserialize protected headers
This allows access to protected headers beyond those
that are recognized with RegisteredHeader
Deserialize protected headers This allows access to protected headers beyond those that are recognized with RegisteredHeader
&self
&self