MCPcopy Index your code
hub / github.com/nodeSolidServer/node-solid-server / getUris

Function getUris

lib/webid/lib/verify.mjs:27–35  ·  view source on GitHub ↗
(certificateObj)

Source from the content-addressed store, hash-verified

25}
26
27function getUris (certificateObj) {
28 const uris = []
29 if (certificateObj && certificateObj.subjectaltname) {
30 certificateObj.subjectaltname.replace(/URI:([^, ]+)/g, function (match, uri) {
31 return uris.push(uri)
32 })
33 }
34 return uris
35}
36
37export function verifyKey (certificateObj, uri, profile, contentType, callback) {
38 const graph = new Graph()

Callers 1

verifyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected