Verify a signed PROV subgraph against a public key — thin wrapper over [`crate::proof::verify_value`] (content-hash integrity + signature + the proof's verificationMethod DID belonging to the key).
(value: &Value, public_key: &PublicKey)
| 202 | /// [`crate::proof::verify_value`] (content-hash integrity + signature + the |
| 203 | /// proof's verificationMethod DID belonging to the key). |
| 204 | pub fn verify_prov(value: &Value, public_key: &PublicKey) -> Result<()> { |
| 205 | proof::verify_value(value, public_key) |
| 206 | } |
| 207 | |
| 208 | #[cfg(test)] |
| 209 | mod tests { |