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)
| 201 | /// [`crate::proof::verify_value`] (content-hash integrity + signature + the |
| 202 | /// proof's verificationMethod DID belonging to the key). |
| 203 | pub fn verify_prov(value: &Value, public_key: &PublicKey) -> Result<()> { |
| 204 | proof::verify_value(value, public_key) |
| 205 | } |
| 206 | |
| 207 | #[cfg(test)] |
| 208 | mod tests { |