Skip to content

Commit

Permalink
Defer base-encoding to each Create Proof algorithm.
Browse files Browse the repository at this point in the history
  • Loading branch information
msporny committed Mar 31, 2024
1 parent 901a326 commit 7aa3133
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -450,14 +450,12 @@ <h4>DataIntegrityProof</h4>
The `cryptosuite` property of the proof MUST be `ecdsa-rdfc-2019` or `ecdsa-jcs-2019`.
</p>
<p>
The value of the `proofValue` property of the proof MUST be an ECDSA signature
produced according to [[FIPS-186-5]] using the curves and hashes as specified in
section [[[#algorithms]]], encoded according to section 7 of [[RFC4754]]
(sometimes referred to as the IEEE P1363 format), and encoded using the
base-58-btc header and alphabet as described in the
<a href="https://www.w3.org/TR/vc-data-integrity/#multibase-0">
Multibase section</a> of [[VC-DATA-INTEGRITY]]. The ECDSA signature SHOULD use
the <em>deterministic</em> ECDSA signature variant described in [[FIPS-186-5]].
The value of the `proofValue` property of the proof MUST be an ECDSA signature,
expressed according to section 7 of [[RFC4754]] (sometimes referred to as the
IEEE P1363 format), produced according to [[FIPS-186-5]] using the curves,
hashes, and base-encoding as specified in section [[[#algorithms]]]. The ECDSA
signature SHOULD use the <em>deterministic</em> ECDSA signature variant
described in [[FIPS-186-5]].
</p>

<pre class="example nohighlight"
Expand Down

0 comments on commit 7aa3133

Please sign in to comment.