Returns the application-specific payload for this commit.
Returns the headers which will be signed/encrypted.
Returns the (optional) headers which will not be signed/encrypted.
Returns true if the validate() method would pass without error.
Returns a copy of this commit signed with the given signer.
The signer to use to sign the commit.
Verifies whether the currently set fields constitute a valid commit which can be signed/encrypted and stored in an Identity Hub.
Throws an error if the commit is not valid.
TODO: Move validation logic to hub-common-js repository to be shared with hub-node-core.
Generated using TypeDoc
Represents a new (i.e pending, unsigned) commit which will create, update, or delete an object in a user's Identity Hub.