Get additional header data
(&self)
| 234 | impl Signature { |
| 235 | /// Get additional header data |
| 236 | pub fn header(&self) -> Option<&BTreeMap<String, Ipld>> { |
| 237 | self.header.as_ref() |
| 238 | } |
| 239 | /// Get the protected data if any |
| 240 | pub fn protected(&self) -> Option<&Bytes> { |
| 241 | self.protected.as_ref() |
no test coverage detected