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

Function SHA256Verify

common/utils/utils.go:225–235  ·  view source on GitHub ↗

SHA256Verify verifies if a content is valid by a signed data an a public key

(keyBytes []byte, contentBytes []byte, signBytes []byte)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

getPubKeyFunction · 0.85

Tested by

no test coverage detected