MCPcopy Create free account
hub / github.com/Huawei/containerops / SHA256Sign

Function SHA256Sign

common/utils/utils.go:214–222  ·  view source on GitHub ↗

SHA256Sign signs a content by a private key

(keyBytes []byte, contentBytes []byte)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

getPrivKeyFunction · 0.85

Tested by

no test coverage detected