MCPcopy Create free account
hub / github.com/adobe/Marinus / createCertLink

Function createCertLink

web_server/public/javascripts/cert_graph.js:825–834  ·  view source on GitHub ↗
(id, source)

Source from the content-addressed store, hash-verified

823}
824
825function createCertLink(id, source) {
826 let returnHTML = '<a href="';
827 if (source === 'ct_logs') {
828 returnHTML += '/reports/display_cert?type=ct_sha256&sha256=' + id;
829 } else {
830 returnHTML += '/reports/display_cert?sha256=' + id;
831 }
832 returnHTML += '" target="_blank">' + source + '</a>';
833 return returnHTML;
834}
835
836function createDocs(obj) {
837 let returnHTML = '';

Callers 1

createDocsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected