Interface: BTCR2SignedUpdate ​
Defined in: data-integrity-proof/interface.ts:49
A BTCR2 Update with a data integrity proof. See BTCR2 Signed Update (data structure).
Extends ​
Properties ​
@context ​
@context:
string[]
Defined in: data-integrity-proof/interface.ts:15
JSON-LD context URIs for interpreting this payload, including contexts for ZCAP (capabilities), Data Integrity proofs, and JSON-LD patch ops.
Inherited from ​
patch ​
patch:
JsonPatch
Defined in: data-integrity-proof/interface.ts:22
A JSON Patch (or JSON-LD Patch) object defining the mutations to apply to the DID Document. Applying this patch to the current DID Document yields the new DID Document (which must remain valid per DID Core spec).
Inherited from ​
proof ​
proof:
DataIntegrityProofObject
Defined in: data-integrity-proof/interface.ts:53
A digital signature added to a BTCR2 Unsigned Update in order to convert to a BTCR2 Signed Update.
sourceHash ​
sourceHash:
string
Defined in: data-integrity-proof/interface.ts:29
The multihash of the current (source) DID Document, encoded as a multibase base58-btc string. This is a SHA-256 hash of the canonicalized source DID Document, used to ensure the patch is applied to the correct document state.
Inherited from ​
BTCR2UnsignedUpdate.sourceHash
targetHash ​
targetHash:
string
Defined in: data-integrity-proof/interface.ts:36
The multihash of the updated (target) DID Document, encoded as multibase base58-btc. This is the SHA-256 hash of the canonicalized DID Document after applying the patch, used to verify the update result.
Inherited from ​
BTCR2UnsignedUpdate.targetHash
targetVersionId ​
targetVersionId:
number
Defined in: data-integrity-proof/interface.ts:42
The version number of the DID Document after this update. It is equal to the previous document version + 1.