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

Method MiceEncoding

go/signedexchange/version/version.go:67–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65}
66
67func (v Version) MiceEncoding() mice.Encoding {
68 switch v {
69 case Version1b1:
70 return mice.Draft02Encoding
71 case Version1b2, Version1b3:
72 return mice.Draft03Encoding
73 default:
74 panic("not reached")
75 }
76}

Callers 3

signatureHeaderValueMethod · 0.45
verifyPayloadFunction · 0.45
MiEncodePayloadMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected