[][src]Trait jwt::header::JoseHeader

pub trait JoseHeader {
    pub fn algorithm_type(&self) -> AlgorithmType;

    pub fn key_id(&self) -> Option<&str> { ... }
pub fn type_(&self) -> Option<HeaderType> { ... }
pub fn content_type(&self) -> Option<HeaderContentType> { ... } }

A trait for any header than can conform to the JWT specification.

Required methods

Loading content...

Provided methods

pub fn key_id(&self) -> Option<&str>[src]

pub fn type_(&self) -> Option<HeaderType>[src]

pub fn content_type(&self) -> Option<HeaderContentType>[src]

Loading content...

Implementors

impl JoseHeader for Header[src]

impl JoseHeader for PrecomputedAlgorithmOnlyHeader[src]

Loading content...