Deserialize then check the domain tags and the signature.
(bytes: &[u8])
| 60 | |
| 61 | /// Deserialize then check the domain tags and the signature. |
| 62 | pub fn from_bytes(bytes: &[u8]) -> anyhow::Result<Self> { |
| 63 | let envelope = SignedEnvelope::from_protobuf_encoding(bytes)?; |
| 64 | let signed_record = Self::from_signed_envelope(envelope)?; |
| 65 | Ok(signed_record) |
| 66 | } |
| 67 | |
| 68 | pub fn record(&self) -> &R { |
| 69 | &self.record |
nothing calls this directly
no outgoing calls
no test coverage detected