Skip to main content
Version: Next

LdpVpProof

proof_typestringrequired
Example: ldp_vp
ldp_vp object
@contextstring[]required
Example: ["https://www.w3.org/2018/credentials/v1"]
typestring[]required
Example: ["VerifiablePresentation"]
holderstringrequired
Example: holder-sample
proof objectrequired
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
LdpVpProof
{
"proof_type": "ldp_vp",
"ldp_vp": {
"@context": [
"https://www.w3.org/2018/credentials/v1"
],
"type": [
"VerifiablePresentation"
],
"holder": "holder-sample",
"proof": {
"id": "proof-id-sample",
"type": "DataIntegrityProof",
"cryptosuite": "eddsa",
"proofPurpose": "authentication",
"verificationMethod": "verification-method-sample",
"created": "2023-10-10T00:00:00Z",
"expires": "2023-10-20T00:00:00Z",
"domain": "example.com",
"challenge": "challenge-sample",
"proofValue": "proof-value-sample"
}
}
}