MCPcopy Create free account
hub / github.com/SermoDigital/jose / Sign

Method Sign

crypto/none.go:52–54  ·  view source on GitHub ↗

Sign helps implement the SigningMethod interface.

(_ []byte, _ interface{})

Source from the content-addressed store, hash-verified

50
51// Sign helps implement the SigningMethod interface.
52func (_ *SigningMethodNone) Sign(_ []byte, _ interface{}) (Signature, error) {
53 return nil, nil
54}
55
56// Alg helps implement the SigningMethod interface.
57func (m *SigningMethodNone) Alg() string {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected