MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / DefaultHashSignVerifierImpl

Struct DefaultHashSignVerifierImpl

crypto/verifier/common.go:46–50  ·  view source on GitHub ↗

DefaultHashSignVerifierImpl defines a default implementation of HashSignVerifier.

Source from the content-addressed store, hash-verified

44
45// DefaultHashSignVerifierImpl defines a default implementation of HashSignVerifier.
46type DefaultHashSignVerifierImpl struct {
47 DataHash hash.Hash
48 Signee *ca.PublicKey
49 Signature *ca.Signature
50}
51
52// Hash implements HashSignVerifier.Hash.
53func (i *DefaultHashSignVerifierImpl) Hash() hash.Hash {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected