pub fn new(algorithm: Algorithm) -> Header {
        Header {
            typ: Some("JWT".to_string()),
            alg: algorithm,
            cty: None,
            jku: None,
            kid: None,
            x5u: None,
            x5t: None,
        }
    }
/// Returns a JWT header with the algorithm given
Returns a JWT header with the algorithm given
Returns a JWT header with the algorithm given
pub fn new(algorithm: Algorithm) -> Header {
        Header {
            typ: Some("JWT".to_string()),
            alg: algorithm,
            cty: None,
            jku: None,
            kid: None,
            x5u: None,
            x5t: None,
        }
    }
pub fn new ( algorithm : Algorithm ) -> Header { Header { typ : Some ( " " . to_string ( ) ) , alg : algorithm , cty : None , jku : None , kid : None , x5u : None , x5t : None , } }
Returns a JWT header with the algorithm given
Returns a JWT header with the algorithm given
algorithm
Algorithm