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

Method Sign

types/ack_type.go:84–86  ·  view source on GitHub ↗

Sign the request.

(signer *asymmetric.PrivateKey)

Source from the content-addressed store, hash-verified

82
83// Sign the request.
84func (sh *SignedAckHeader) Sign(signer *asymmetric.PrivateKey) (err error) {
85 return sh.DefaultHashSignVerifierImpl.Sign(&sh.AckHeader, signer)
86}
87
88// Verify checks hash and signature in ack.
89func (a *Ack) Verify() error {

Callers

nothing calls this directly

Calls 1

SignMethod · 0.65

Tested by

no test coverage detected