@@ -3228,26 +3228,34 @@ <h2>Integrity of Related Resources</h2>
32283228 </ p >
32293229
32303230 < pre class ="example nohighlight "
3231- title ="Use of the relatedResource and digestSRI properties ">
3231+ title ="Use of the digestSRI property (base64-encoded SHA2-384) ">
32323232"relatedResource": [{
32333233 "id": "https://www.w3.org/ns/credentials/v2",
32343234 "digestSRI":
3235- "sha384-lHKDHh0msc6pRx8PhDOMkNtSI8bOfsp4giNbUrw71nXXLf13nTqNJoRp3Nx+ArVK"
3235+ "< span class ='vc-hash '
3236+ data-hash-url ='https://www.w3.org/ns/credentials/v2 '
3237+ data-hash-format ='sri sha2-384 '> </ span > "
32363238},{
32373239 "id": "https://www.w3.org/ns/credentials/examples/v2",
32383240 "digestSRI":
3239- "sha384-zNNbQTWCSUSi0bbz7dbua+RcENv7C6FvlmYJ1Y+I727HsPOHdzwELMYO9Mz68M26"
3241+ "< span class ='vc-hash '
3242+ data-hash-url ='https://www.w3.org/ns/credentials/examples/v2 '
3243+ data-hash-format ='sri sha2-384 '> </ span > "
32403244}]
32413245 </ pre >
32423246
32433247 < pre class ="example nohighlight "
3244- title ="Use of the relatedResource and digestMultibase properties ">
3248+ title ="Use of the digestMultibase property (base64-url-nopad-encoded SHA2-256) ">
32453249"relatedResource": [{
32463250 "id": "https://www.w3.org/ns/credentials/v2",
3247- "digestMultibase": "uEres1usWcWCmW7uolIW2uA0CjQ8iRV14eGaZStJL73Vz"
3251+ "digestMultibase": "< span class ='vc-hash '
3252+ data-hash-url ='https://www.w3.org/ns/credentials/v2 '
3253+ data-hash-format ='multihash sha2-256 '> </ span > "
32483254},{
32493255 "id": "https://www.w3.org/ns/credentials/examples/v2",
3250- "digestMultibase": "uElc5P7xp1u-5ubXcnLa5iAsJRDYKv-Lq9FnJ5YzyJ518"
3256+ "digestMultibase": "< span class ='vc-hash '
3257+ data-hash-url ='https://www.w3.org/ns/credentials/examples/v2 '
3258+ data-hash-format ='multihash sha2-256 '> </ span > "
32513259}]
32523260 </ pre >
32533261
0 commit comments