From 606e62b4593ce151c35102d0d59c133d8ed42b23 Mon Sep 17 00:00:00 2001 From: Luis Osta Date: Fri, 14 Oct 2022 10:06:29 -0700 Subject: [PATCH] created default document builder --- core/src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/src/lib.rs b/core/src/lib.rs index 827dbc8..99d2211 100644 --- a/core/src/lib.rs +++ b/core/src/lib.rs @@ -76,6 +76,10 @@ pub trait DocumentBuilder { } } +pub struct DefaultDocumentBuilder {} + +impl DocumentBuilder for DefaultDocumentBuilder {} + /// Given a JSON-LD document and a DIDResolver, verify the data integrity proof for the document. /// This will by parsing the `verificationMethod` property of the data integrity proof and resolving it to a key that can be used to verify the proof. /// Currently only `Ed25519Signature2018` is supported for data integrity proof verification.