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

Struct SigningMethodNone

crypto/none.go:40–44  ·  view source on GitHub ↗

SigningMethodNone is the default "none" algorithm.

Source from the content-addressed store, hash-verified

38
39// SigningMethodNone is the default "none" algorithm.
40type SigningMethodNone struct {
41 Name string
42 Hash crypto.Hash
43 _ struct{}
44}
45
46// Verify helps implement the SigningMethod interface.
47func (_ *SigningMethodNone) Verify(_ []byte, _ Signature, _ interface{}) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected