Skip to content

Commit 0099a3a

Browse files
TallTeddecentralgabe
authored andcommitted
clarify inputBytes, inputDocument, inputMediaType
1 parent eeac22d commit 0099a3a

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

index.html

+9-10
Original file line numberDiff line numberDiff line change
@@ -4163,10 +4163,10 @@ <h3>Securing Mechanism Specifications</h3>
41634163
JOSE/COSE header parameters and signatures. Specifications MAY provide additional mechanisms to convey
41644164
other information that might be helpful (for example, during validation or for
41654165
debugging purposes), such as securing mechanism data. A securing mechanism's
4166-
verification algorithm MUST provide an interface that receives a sequence of
4167-
bytes ([=byte sequence=] |inputBytes|) or a document ([=map=] |inputDocument|)
4168-
and a media type ([=string=] |inputMediaType|) as inputs and returns a
4169-
verification result with at least the following [=struct/items=]:
4166+
verification algorithm MUST provide an interface that receives inputs of a media
4167+
type ([=string=] |inputMediaType|) paired with either a sequence of bytes
4168+
([=byte sequence=] |inputBytes|) or a document ([=map=] |inputDocument|), and
4169+
returns a verification result with at least the following [=struct/items=]:
41704170
</p>
41714171

41724172
<dl>
@@ -4758,11 +4758,10 @@ <h3>Verification</h3>
47584758
<p>
47594759
This section contains an algorithm that [=conforming verifier
47604760
implementations=] MUST run when verifying a [=verifiable credential=] or a
4761-
[=verifiable presentation=]. This algorithm takes a sequence of bytes
4762-
([=byte sequence=] |inputBytes|) or a document
4763-
([=map=] |inputDocument|) and a media type
4764-
([=string=] |inputMediaType|) as inputs, and returns a [=map=]
4765-
that contains the following:
4761+
[=verifiable presentation=]. This algorithm takes inputs of a media
4762+
type ([=string=] |inputMediaType|) paired with either a sequence of bytes
4763+
([=byte sequence=] |inputBytes|) or a document ([=map=] |inputDocument|),
4764+
and returns a [=map=] that contains the following:
47664765
</p>
47674766

47684767
<ul>
@@ -4814,7 +4813,7 @@ <h3>Verification</h3>
48144813
had an issue determining the proper |verifyProof| algorithm to use, but the
48154814
Working Group is attempting to see if saying more here would be worthwhile.
48164815
Additional example language could be added that says that an implementation
4817-
might have an allow list of acceptable cryptosuites -- and these will be used as
4816+
might have an allow list of acceptable cryptosuites and these will be used as
48184817
inputs for finding matching proofs to be verified.
48194818
</div>
48204819
</li>

0 commit comments

Comments
 (0)