MCPcopy Create free account
hub / github.com/WICG/webpackage / ecdsaVerifier

Struct ecdsaVerifier

go/internal/signingalgorithm/signingalgorithm.go:68–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68type ecdsaVerifier struct {
69 pubKey *ecdsa.PublicKey
70 hash crypto.Hash
71}
72
73func (e *ecdsaVerifier) Verify(msg, sig []byte) (bool, error) {
74 var v ecdsaSigValue

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected