Interface: IDataIntegrityProof
Interface describing a did proof. https://www.w3.org/TR/vc-data-integrity/
Properties
@context?
optional@context:"https://www.w3.org/ns/credentials/v2"| ["https://www.w3.org/ns/credentials/v2",...IJsonLdContextDefinitionElement[]]
JSON-LD Context.
type
type:
"DataIntegrityProof"
JSON-LD Type.
cryptosuite
cryptosuite:
string
An identifier for the cryptographic suite that can be used to verify the proof.
id?
optionalid:string
The id of the proof.
proofPurpose
proofPurpose:
string
The reason the proof was created.
proofValue?
optionalproofValue:string
Contains the base-encoded binary data necessary to verify the digital proof using the verificationMethod specified.
verificationMethod?
optionalverificationMethod:string
The verification method of the proof.
created?
optionalcreated:string
The iso date of when the proof was created.
expires?
optionalexpires:string
The iso date of when the proof expires.
domain?
optionaldomain:string|string[]
One or more security domains in which the proof is meant to be used.
challenge?
optionalchallenge:string|string[]
Provided to mitigate replay attacks on domains.
previousProof?
optionalpreviousProof:string
Identifies another data integrity proof that MUST verify before the current proof is processed
nonce?
optionalnonce:string
Use of this field is to increase privacy by decreasing linkability that is the result of deterministically generated signatures.