pub async fn verify_by(
document: &Value,
did: &str,
resolver: Option<&dyn DidResolver>,
) -> Result<(), PortableError>Expand description
Verify that document carries a proof made with a key under did: any
of its proofs, tried in order.
ยงErrors
When none is, with why the last one tried was not.