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

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

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

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

Required methods

fn algorithm_type(&self) -> AlgorithmType

Loading content...

Provided methods

fn key_id(&self) -> Option<&str>

fn type_(&self) -> Option<HeaderType>

fn content_type(&self) -> Option<HeaderContentType>

Loading content...

Implementors

impl JoseHeader for Header[src]

impl JoseHeader for PrecomputedAlgorithmOnlyHeader[src]

Loading content...