Skip to main content
Version: Next

DataIntegrityProof

typestringrequired

Possible values: [DataIntegrityProof]

Example: DataIntegrityProof
proofPurposestringrequired
Example: assertionMethod
idstring
Example: did:example:xyz#proof-1
verificationMethodstring
Example: did:example:author#verificationKey
cryptosuitestringrequired
Example: ecdsa-2019
createdstring
Example: 2021-01-01T00:00:00Z
expiresstring
Example: 2022-01-01T00:00:00Z
domainstring[]
Example: ["example.com"]
challengestring
Example: 1234567890
proofValuestringrequired
Example: ProofValueString
previousProofstring[]
Example: ["PreviousProof1","PreviousProof2"]
noncestring
Example: nonce-string
DataIntegrityProof
{
"type": "DataIntegrityProof",
"proofPurpose": "assertionMethod",
"id": "did:example:xyz#proof-1",
"verificationMethod": "did:example:author#verificationKey",
"cryptosuite": "ecdsa-2019",
"created": "2021-01-01T00:00:00Z",
"expires": "2022-01-01T00:00:00Z",
"domain": [
"example.com"
],
"challenge": "1234567890",
"proofValue": "ProofValueString",
"previousProof": [
"PreviousProof1",
"PreviousProof2"
],
"nonce": "nonce-string"
}