diff --git a/TestVectors/ecdsa-jcs-2019-p256/combinedHashJCSECDSAP256.txt b/TestVectors/ecdsa-jcs-2019-p256/combinedHashJCSECDSAP256.txt index 5d3ff05..a1b9b24 100644 --- a/TestVectors/ecdsa-jcs-2019-p256/combinedHashJCSECDSAP256.txt +++ b/TestVectors/ecdsa-jcs-2019-p256/combinedHashJCSECDSAP256.txt @@ -1 +1 @@ -76a77cf0331cef09562cb471efb7513ead132a07b83b3d9aea2a5149ba8ac34259b7cb6251b8991add1ce0bc83107e3db9dbbab5bd2c28f687db1a03abc92f19 \ No newline at end of file +1cb0435d142d1cc97e10b0f330cc5a637b25aeeeabc8d63f278df951c48712ff59b7cb6251b8991add1ce0bc83107e3db9dbbab5bd2c28f687db1a03abc92f19 \ No newline at end of file diff --git a/TestVectors/ecdsa-jcs-2019-p256/proofCanonJCSECDSAP256.txt b/TestVectors/ecdsa-jcs-2019-p256/proofCanonJCSECDSAP256.txt index a52cc80..d9bd4a8 100644 --- a/TestVectors/ecdsa-jcs-2019-p256/proofCanonJCSECDSAP256.txt +++ b/TestVectors/ecdsa-jcs-2019-p256/proofCanonJCSECDSAP256.txt @@ -1 +1 @@ -{"created":"2023-02-24T23:36:38Z","cryptosuite":"ecdsa-jcs-2019","proofPurpose":"assertionMethod","type":"DataIntegrityProof","verificationMethod":"https://vc.example/issuers/5678#zDnaepBuvsQ8cpsWrVKw8fbpGpvPeNSjVPTWoq6cRqaYzBKVP"} \ No newline at end of file +{"@context":["https://www.w3.org/ns/credentials/v2","https://www.w3.org/ns/credentials/examples/v2"],"created":"2023-02-24T23:36:38Z","cryptosuite":"ecdsa-jcs-2019","proofPurpose":"assertionMethod","type":"DataIntegrityProof","verificationMethod":"https://vc.example/issuers/5678#zDnaepBuvsQ8cpsWrVKw8fbpGpvPeNSjVPTWoq6cRqaYzBKVP"} \ No newline at end of file diff --git a/TestVectors/ecdsa-jcs-2019-p256/proofConfigJCSECDSAP256.json b/TestVectors/ecdsa-jcs-2019-p256/proofConfigJCSECDSAP256.json index d35ced8..85e2dcc 100644 --- a/TestVectors/ecdsa-jcs-2019-p256/proofConfigJCSECDSAP256.json +++ b/TestVectors/ecdsa-jcs-2019-p256/proofConfigJCSECDSAP256.json @@ -3,5 +3,9 @@ "cryptosuite": "ecdsa-jcs-2019", "created": "2023-02-24T23:36:38Z", "verificationMethod": "https://vc.example/issuers/5678#zDnaepBuvsQ8cpsWrVKw8fbpGpvPeNSjVPTWoq6cRqaYzBKVP", - "proofPurpose": "assertionMethod" + "proofPurpose": "assertionMethod", + "@context": [ + "https://www.w3.org/ns/credentials/v2", + "https://www.w3.org/ns/credentials/examples/v2" + ] } \ No newline at end of file diff --git a/TestVectors/ecdsa-jcs-2019-p256/proofHashJCSECDSAP256.txt b/TestVectors/ecdsa-jcs-2019-p256/proofHashJCSECDSAP256.txt index 4d9ec6e..e66be99 100644 --- a/TestVectors/ecdsa-jcs-2019-p256/proofHashJCSECDSAP256.txt +++ b/TestVectors/ecdsa-jcs-2019-p256/proofHashJCSECDSAP256.txt @@ -1 +1 @@ -76a77cf0331cef09562cb471efb7513ead132a07b83b3d9aea2a5149ba8ac342 \ No newline at end of file +1cb0435d142d1cc97e10b0f330cc5a637b25aeeeabc8d63f278df951c48712ff \ No newline at end of file diff --git a/TestVectors/ecdsa-jcs-2019-p256/sigBTC58JCSECDSAP256.txt b/TestVectors/ecdsa-jcs-2019-p256/sigBTC58JCSECDSAP256.txt index 183c8f3..39c2088 100644 --- a/TestVectors/ecdsa-jcs-2019-p256/sigBTC58JCSECDSAP256.txt +++ b/TestVectors/ecdsa-jcs-2019-p256/sigBTC58JCSECDSAP256.txt @@ -1 +1 @@ -z7pnwfec5k9N26YDUjjDxjJEijAdEoAbJY2n3CTx3CYvzzRxcV5UkmECmLmQcA8eYTsDQ6GHCFDSk7Yb1hd4uN5a \ No newline at end of file +z3Uid91ZWFdE5NHJcePnZsN6j16r13euxdo3ceCotGxowPnsBENxUFxYYiqD23GduZ3fM16oqCntTgpJChaW4FVVs \ No newline at end of file diff --git a/TestVectors/ecdsa-jcs-2019-p256/sigHexJCSECDSAP256.txt b/TestVectors/ecdsa-jcs-2019-p256/sigHexJCSECDSAP256.txt index fed7546..23859af 100644 --- a/TestVectors/ecdsa-jcs-2019-p256/sigHexJCSECDSAP256.txt +++ b/TestVectors/ecdsa-jcs-2019-p256/sigHexJCSECDSAP256.txt @@ -1 +1 @@ -05e27fa5aa9cc1bb37c18794e35c35d588d30b839e4f7f59c81bfbd81047c9c66d1d31063135b38860e66265586582f6521550aa4f22fa9558666532439a38cd \ No newline at end of file +7befc76b324ffb93073c7b9c59a11ec548f6e034da6be2f40044e7f2c4e2b60646c50b158666a802a83979cc31751619888d43cd1a3e103b73deaeb5dc8a4a3a \ No newline at end of file diff --git a/TestVectors/ecdsa-jcs-2019-p256/signedJCSECDSAP256.json b/TestVectors/ecdsa-jcs-2019-p256/signedJCSECDSAP256.json index 7b62b70..cf6b55e 100644 --- a/TestVectors/ecdsa-jcs-2019-p256/signedJCSECDSAP256.json +++ b/TestVectors/ecdsa-jcs-2019-p256/signedJCSECDSAP256.json @@ -22,6 +22,10 @@ "created": "2023-02-24T23:36:38Z", "verificationMethod": "https://vc.example/issuers/5678#zDnaepBuvsQ8cpsWrVKw8fbpGpvPeNSjVPTWoq6cRqaYzBKVP", "proofPurpose": "assertionMethod", - "proofValue": "z7pnwfec5k9N26YDUjjDxjJEijAdEoAbJY2n3CTx3CYvzzRxcV5UkmECmLmQcA8eYTsDQ6GHCFDSk7Yb1hd4uN5a" + "@context": [ + "https://www.w3.org/ns/credentials/v2", + "https://www.w3.org/ns/credentials/examples/v2" + ], + "proofValue": "z3Uid91ZWFdE5NHJcePnZsN6j16r13euxdo3ceCotGxowPnsBENxUFxYYiqD23GduZ3fM16oqCntTgpJChaW4FVVs" } } \ No newline at end of file diff --git a/TestVectors/ecdsa-jcs-2019-p384/combinedHashJCSECDSAP384.txt b/TestVectors/ecdsa-jcs-2019-p384/combinedHashJCSECDSAP384.txt index 1f692b7..cc8859c 100644 --- a/TestVectors/ecdsa-jcs-2019-p384/combinedHashJCSECDSAP384.txt +++ b/TestVectors/ecdsa-jcs-2019-p384/combinedHashJCSECDSAP384.txt @@ -1 +1 @@ -8ba1ac588bdcb2675b84d55abeda3352504bcd190d8028ecece9de84288b8d69499c10c65ed76c821a1b4c51588b371d3e0be671cc1881035d463158c80921973dab3534d4f8dfacf4ff2725a4115eb718e49d66de0e90e7365cd6062abf2259 \ No newline at end of file +9c51c298a3d8710f862724236ebc4a541f4a8b06ceffb151b149ac1078ca4ee43bb7940bc111e546b8922aff12a04fe63e0be671cc1881035d463158c80921973dab3534d4f8dfacf4ff2725a4115eb718e49d66de0e90e7365cd6062abf2259 \ No newline at end of file diff --git a/TestVectors/ecdsa-jcs-2019-p384/proofCanonJCSECDSAP384.txt b/TestVectors/ecdsa-jcs-2019-p384/proofCanonJCSECDSAP384.txt index c6f077e..e533cdc 100644 --- a/TestVectors/ecdsa-jcs-2019-p384/proofCanonJCSECDSAP384.txt +++ b/TestVectors/ecdsa-jcs-2019-p384/proofCanonJCSECDSAP384.txt @@ -1 +1 @@ -{"created":"2023-02-24T23:36:38Z","cryptosuite":"ecdsa-jcs-2019","proofPurpose":"assertionMethod","type":"DataIntegrityProof","verificationMethod":"https://vc.example/issuers/5678#z82LkuBieyGShVBhvtE2zoiD6Kma4tJGFtkAhxR5pfkp5QPw4LutoYWhvQCnGjdVn14kujQ"} \ No newline at end of file +{"@context":["https://www.w3.org/ns/credentials/v2","https://www.w3.org/ns/credentials/examples/v2"],"created":"2023-02-24T23:36:38Z","cryptosuite":"ecdsa-jcs-2019","proofPurpose":"assertionMethod","type":"DataIntegrityProof","verificationMethod":"https://vc.example/issuers/5678#z82LkuBieyGShVBhvtE2zoiD6Kma4tJGFtkAhxR5pfkp5QPw4LutoYWhvQCnGjdVn14kujQ"} \ No newline at end of file diff --git a/TestVectors/ecdsa-jcs-2019-p384/proofConfigJCSECDSAP384.json b/TestVectors/ecdsa-jcs-2019-p384/proofConfigJCSECDSAP384.json index 4914986..65d9099 100644 --- a/TestVectors/ecdsa-jcs-2019-p384/proofConfigJCSECDSAP384.json +++ b/TestVectors/ecdsa-jcs-2019-p384/proofConfigJCSECDSAP384.json @@ -3,5 +3,9 @@ "cryptosuite": "ecdsa-jcs-2019", "created": "2023-02-24T23:36:38Z", "verificationMethod": "https://vc.example/issuers/5678#z82LkuBieyGShVBhvtE2zoiD6Kma4tJGFtkAhxR5pfkp5QPw4LutoYWhvQCnGjdVn14kujQ", - "proofPurpose": "assertionMethod" + "proofPurpose": "assertionMethod", + "@context": [ + "https://www.w3.org/ns/credentials/v2", + "https://www.w3.org/ns/credentials/examples/v2" + ] } \ No newline at end of file diff --git a/TestVectors/ecdsa-jcs-2019-p384/proofHashJCSECDSAP384.txt b/TestVectors/ecdsa-jcs-2019-p384/proofHashJCSECDSAP384.txt index 9fccd01..8727fd9 100644 --- a/TestVectors/ecdsa-jcs-2019-p384/proofHashJCSECDSAP384.txt +++ b/TestVectors/ecdsa-jcs-2019-p384/proofHashJCSECDSAP384.txt @@ -1 +1 @@ -8ba1ac588bdcb2675b84d55abeda3352504bcd190d8028ecece9de84288b8d69499c10c65ed76c821a1b4c51588b371d \ No newline at end of file +9c51c298a3d8710f862724236ebc4a541f4a8b06ceffb151b149ac1078ca4ee43bb7940bc111e546b8922aff12a04fe6 \ No newline at end of file diff --git a/TestVectors/ecdsa-jcs-2019-p384/sigBTC58JCSECDSAP384.txt b/TestVectors/ecdsa-jcs-2019-p384/sigBTC58JCSECDSAP384.txt index 830fb81..3ffe233 100644 --- a/TestVectors/ecdsa-jcs-2019-p384/sigBTC58JCSECDSAP384.txt +++ b/TestVectors/ecdsa-jcs-2019-p384/sigBTC58JCSECDSAP384.txt @@ -1 +1 @@ -zFYhRwKuucKxM7dnL69VpnwmU9UD2wc5HfFjXfxKH82pEybv18EfxaT8m53kyMfrDQneYnsLCZ35UE2KwZTkd4zN7vNHdVseyjW5apJJ9NkfpUiTGUayG2yaZvWu6Gd8EDYk \ No newline at end of file +zwFY3RRmsM6Y83nckzihfjaMbPZK5bx8BqGiu57vs8edbMyX6R9bA1Pvy9tuYAfDGrsDHUZgW9bzrhe55sDDUB37ZGXKvzj7CLcxY93GXtLwGJdZ3Suv1try3T6KFkuMTRgs \ No newline at end of file diff --git a/TestVectors/ecdsa-jcs-2019-p384/sigHexJCSECDSAP384.txt b/TestVectors/ecdsa-jcs-2019-p384/sigHexJCSECDSAP384.txt index a66fdc6..f3c61bc 100644 --- a/TestVectors/ecdsa-jcs-2019-p384/sigHexJCSECDSAP384.txt +++ b/TestVectors/ecdsa-jcs-2019-p384/sigHexJCSECDSAP384.txt @@ -1 +1 @@ -2a3a6157c6d26ed20574155b6884916d0528b2057d89b7b855e40ee471708058d0bd7e39559bc0586e6b460f74f69d5d85d5dcee2cdbaea3febf8241ef425e974a9486025fca0c1dc1c7b1fedd25a17032d98bae98bd23e6962865c2fb1d7b19 \ No newline at end of file +9d7ce3dfc41bf407b16bdc5dd95c8884da82ee1c026b3b74d4a428cb0767e51e3b2c6412f663695bc323b784685ffe18941de2530c2295b678957bb2a1d3efeb0eafc8049a8dafccec5442e6b2e6ca710cd1e8a6a9befd95388ddf3e0faa61f8 \ No newline at end of file diff --git a/TestVectors/ecdsa-jcs-2019-p384/signedJCSECDSAP384.json b/TestVectors/ecdsa-jcs-2019-p384/signedJCSECDSAP384.json index dec21db..d12256a 100644 --- a/TestVectors/ecdsa-jcs-2019-p384/signedJCSECDSAP384.json +++ b/TestVectors/ecdsa-jcs-2019-p384/signedJCSECDSAP384.json @@ -22,6 +22,10 @@ "created": "2023-02-24T23:36:38Z", "verificationMethod": "https://vc.example/issuers/5678#z82LkuBieyGShVBhvtE2zoiD6Kma4tJGFtkAhxR5pfkp5QPw4LutoYWhvQCnGjdVn14kujQ", "proofPurpose": "assertionMethod", - "proofValue": "zFYhRwKuucKxM7dnL69VpnwmU9UD2wc5HfFjXfxKH82pEybv18EfxaT8m53kyMfrDQneYnsLCZ35UE2KwZTkd4zN7vNHdVseyjW5apJJ9NkfpUiTGUayG2yaZvWu6Gd8EDYk" + "@context": [ + "https://www.w3.org/ns/credentials/v2", + "https://www.w3.org/ns/credentials/examples/v2" + ], + "proofValue": "zwFY3RRmsM6Y83nckzihfjaMbPZK5bx8BqGiu57vs8edbMyX6R9bA1Pvy9tuYAfDGrsDHUZgW9bzrhe55sDDUB37ZGXKvzj7CLcxY93GXtLwGJdZ3Suv1try3T6KFkuMTRgs" } } \ No newline at end of file diff --git a/index.html b/index.html index ed04c71..e97e8e1 100644 --- a/index.html +++ b/index.html @@ -3385,13 +3385,17 @@
Assemble the signed credential with the following two steps:
+Assemble the signed credential with the following three steps:
proofValue
field with the previously computed base-58-btc
value to the proof options document.
@context
field to the value of the
+unsecuredDocument.@context.
+ proof
field of the credential to the augmented proof
option document.
Assemble the signed credential with the following two steps:
+Assemble the signed credential with the following three steps:
proofValue
field with the previously computed base-58-btc
value to the proof options document.
@context
field to the value of the
+unsecuredDocument.@context.
+ proof
field of the credential to the augmented proof
option document.