Skip to content

Commit 367b089

Browse files
authored
Update examples-ldp-vp.md
1 parent 11fc0f6 commit 367b089

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples-ldp-vp.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ Verifiable Presentations with Linked Data Proofs:
3333
},
3434
"proof" : {
3535
"type" : "Ed25519Signature2018",
36-
"created" : "2021-11-17T22:43:05Z",
36+
"created" : "2021-11-18T08:57:43Z",
3737
"domain" : "example.com",
3838
"nonce" : "343s$FSFDa-",
39-
"proofPurpose" : "assertionMethod",
39+
"proofPurpose" : "authentication",
4040
"verificationMethod" : "did:key:z6MkwBZ6oiJ71ovCohPfdsgBrQinMXnFn6wJxVZHpZEpSh8x#z6MkwBZ6oiJ71ovCohPfdsgBrQinMXnFn6wJxVZHpZEpSh8x",
41-
"jws" : "eyJiNjQiOmZhbHNlLCJjcml0IjpbImI2NCJdLCJhbGciOiJFZERTQSJ9..D9T1iZ6bF_do_xFhYWjb3HVicP0NvpaKrBrE6K8ZpReEE1UUj5iV6prkj81bilovcRZ9FZpVmq_Gq3mDfIfnBg"
41+
"jws" : "eyJiNjQiOmZhbHNlLCJjcml0IjpbImI2NCJdLCJhbGciOiJFZERTQSJ9..twmPVhZgmKnnx6EI1xmUt3t_0GJizjambyLxWioG1hzwmDYnadWcQCC600uRpOE5WRIdx14y8uRHIa7AxSo5Cw"
4242
}
4343
}
4444

@@ -53,7 +53,7 @@ Verifiable Presentations with Linked Data Proofs:
5353

5454
Ed25519Signature2018LdSigner signer2 = new Ed25519Signature2018LdSigner(testEd25519PrivateKey2);
5555
signer2.setCreated(new Date());
56-
signer2.setProofPurpose(LDSecurityKeywords.JSONLD_TERM_ASSERTIONMETHOD);
56+
signer2.setProofPurpose(LDSecurityKeywords.JSONLD_TERM_AUTHENTICATION);
5757
signer2.setVerificationMethod(URI.create("did:example:45678#keys-1"));
5858
signer2.setDomain("example.com");
5959
signer2.setNonce("343s$FSFDa-");

0 commit comments

Comments
 (0)