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

Method MiceEncoding

go/bundle/version/version.go:86–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84}
85
86func (v Version) MiceEncoding() mice.Encoding {
87 switch v {
88 case VersionB1, VersionB2:
89 return mice.Draft03Encoding
90 default:
91 panic("not reached")
92 }
93}
94
95func (v Version) SignatureContextString() string {
96 switch v {

Callers 2

AddPayloadIntegrityMethod · 0.45
VerifyExchangeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected