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

Method Sign

go/internal/signingalgorithm/signingalgorithm.go:17–17  ·  view source on GitHub ↗
(m []byte)

Source from the content-addressed store, hash-verified

15
16type SigningAlgorithm interface {
17 Sign(m []byte) ([]byte, error)
18}
19
20type MockSigningAlgorithm struct{}

Callers 4

TestSignVerify_ED25519Function · 0.65
SignMethod · 0.65

Implementers 3

ParsedEd25519KeySigningStrategygo/integrityblock/parsed-ed25519-key-s
MockSigningAlgorithmgo/internal/signingalgorithm/signingal
ecdsaSigningAlgorithmgo/internal/signingalgorithm/signingal

Calls

no outgoing calls

Tested by 3

TestSignVerify_ED25519Function · 0.52