diff --git a/src/lib.rs b/src/lib.rs index ea993cf..6370855 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -55,6 +55,12 @@ pub struct Header { t: String, } +impl Header { + pub fn t<'a>(&'a self) -> &'a str { + &self.t.as_str() + } +} + #[async_trait] pub trait SignatureScheme { type Signature;