pub fn unverified_header(&self) -> Result<Header<H>, Error> {
        match *self {
            Compact::Decoded { .. } => Err(Error::UnsupportedOperation),
            Compact::Encoded(ref compact) => compact.part(0),
        }
    }
/// Without decoding and verifying the JWS, retrieve a copy of the header.
///
/// ## Warning
/// Use this at your own risk. It is not advisable to trust unverified content.
Without decoding and verifying the JWS, retrieve a copy of the header.
Without decoding and verifying the JWS retrieve a copy of the header .
pub fn unverified_header(&self) -> Result<Header<H>, Error> {
        match *self {
            Compact::Decoded { .. } => Err(Error::UnsupportedOperation),
            Compact::Encoded(ref compact) => compact.part(0),
        }
    }
pub fn unverified_header ( & self ) -> Result < Header < H > , Error > { match * self { Compact :: Decoded { .. } => Err ( Error :: UnsupportedOperation ) , Compact :: Encoded ( ref compact ) => compact . part ( 0 ) , } }
Without decoding and verifying the JWS, retrieve a copy of the header.
Without decoding and verifying the JWS retrieve a copy of the header .
&self
&self
warning
Use this at your own risk. It is not advisable to trust unverified content.
Use this at your own risk . It is not advisable to trust unverified content .