Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a "digest" property? #96

Open
IS4Code opened this issue Apr 13, 2021 · 0 comments
Open

Is there a "digest" property? #96

IS4Code opened this issue Apr 13, 2021 · 0 comments

Comments

@IS4Code
Copy link

IS4Code commented Apr 13, 2021

The documentation under the digestValue property has this example:

{
  "@context": [
    "https://w3id.org/security/v1",
    {
      "dc": "https://w3id.org/dc/terms/",
      "foaf": "http://xmlns.com/foaf/0.1/"
    }
  ],
  "@id": "http://example.com/logo.jpg",
  "@type": "foaf:Image",
  "dc:title": "Example Logo",
  "digest":
  {
    "@type": "Digest",
    "digestAlgorithm": "http://www.w3.org/2000/09/xmldsig#sha1",
    "digestValue": "981ec496092bf6ea18d6251d36068b52b633268b"
  }
}

There is a digest property mentioned, but I cannot find it in any of the contexts. Is sec:digest safe to use, or should I use another vocabulary? I was looking for a suitable ontology that would allow me to link digests to entities, but so far I was unable to find any concrete property for that which wouldn't assert other unwanted facts about the subject. What is the expected way to link a digest to an entity in this ontology?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant