Skip to content

Commit

Permalink
created default document builder
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisOsta committed Oct 14, 2022
1 parent 84dc1cf commit 606e62b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 606e62b

Please sign in to comment.