GithubHelp home page GithubHelp logo

Comments (4)

msporny avatar msporny commented on June 15, 2024 1

inputMediaType is always present. Implementers can choose if their verification functions take inputBytes or inputDocument (or both) as input.

@dlongley was concerned that implementers that chose to take inputDocument plus an inputMediaType would be marked as non-conforming.

Note that there are cases where inputBytes is the only thing that makes sense (JWT, CBOR, etc). There are other cases where inputDocument makes sense... like for any Data Integrity-protected content.

from vc-data-model.

TallTed avatar TallTed commented on June 15, 2024

Implementers can choose if their verification functions take inputBytes or inputDocument (or both) as input.

I think it only makes sense for a single verification action to involve one of these (inputBytes or inputDocument), but an implementation could accept each at different times. So inputs are a pair of an inputMediaType and either an inputBytes or an inputDocument, and a given verification function implementation could choose to only ever accept one of these pairs, or to accept whichever pair a client fed it.

Yes?

from vc-data-model.

msporny avatar msporny commented on June 15, 2024

@TallTed wrote:

Yes?

Correct.

from vc-data-model.

iherman avatar iherman commented on June 15, 2024

The issue was discussed in a meeting on 2024-02-14

  • no resolutions were taken
View the transcript

2.4. phrasing and/or punctuation for input "inputBytes or inputDocument and inputMediaType" needs work (issue vc-data-model#1402)

See github issue vc-data-model#1402.

Brent Zundel: first, #1402 phrasing and/or punctuation for input "inputBytes or inputDocument and inputMediaType" needs work.
โ€ฆ raised to and assigned to TallTed. how is it going?

Ted Thibodeau Jr.: on my list. not a complex thing, just needs to be done. hope to get it done in the next couple days.

from vc-data-model.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.