Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WICG/webpackage
/ functions
Functions
591 in github.com/WICG/webpackage
⨍
Functions
591
◇
Types & classes
94
↓ 1 callers
Method
createTopLevel
()
js/bundle/src/encoder.ts:25
↓ 1 callers
Method
createTopLevel
()
js/bundle/src/encoder.ts:114
↓ 1 callers
Function
decodeCborHeaders
https://wicg.github.io/webpackage/draft-yasskin-dispatch-bundled-exchanges.html#cbor-headers
go/bundle/decoder.go:91
↓ 1 callers
Method
decodeExchangeHeaders
(dec *cbor.Decoder)
go/signedexchange/signedexchange.go:233
↓ 1 callers
Method
decodeRequestMap
(dec *cbor.Decoder)
go/signedexchange/signedexchange.go:123
↓ 1 callers
Function
decodeResponseMap
(cbor: Uint8Array)
js/bundle/src/decoder.ts:210
↓ 1 callers
Method
decodeResponseMap
(dec *cbor.Decoder)
go/signedexchange/signedexchange.go:182
↓ 1 callers
Function
decodeSectionLengthsCBOR
(bs []byte)
go/bundle/decoder.go:52
↓ 1 callers
Function
decodeSignedSubset
decodeSignedSubset deserializes a "signed-subset" CBOR item. https://wpack-wg.github.io/bundled-responses/draft-ietf-wpack-bundled-responses.html#sign
go/bundle/signature/verifier.go:148
↓ 1 callers
Function
decodeSubsetHashes
decodeSignedSubset deserializes a "subset-hashes" CBOR item. https://wpack-wg.github.io/bundled-responses/draft-ietf-wpack-bundled-responses.html#sign
go/bundle/signature/verifier.go:208
↓ 1 callers
Method
decodeTypedUint
()
go/internal/cbor/decoder.go:26
↓ 1 callers
Method
destructureBundle
(wbn: unknown[])
js/bundle/src/decoder.ts:21
↓ 1 callers
Method
encodeMapHeader
(n int)
go/internal/cbor/encoder.go:154
↓ 1 callers
Method
encodeRequestMap
(enc *cbor.Encoder)
go/signedexchange/signedexchange.go:82
↓ 1 callers
Method
encodeResponseMap
(enc *cbor.Encoder)
go/signedexchange/signedexchange.go:160
↓ 1 callers
Function
entriesInPossibleKeyOrder
entriesInPossibleKeyOrder reorders es by VariantKey, in the order they should appear in the index section; the row-major order of possible keys for Va
go/bundle/encoder.go:231
↓ 1 callers
Function
extractSignatureFields
(pi structuredheader.ParameterisedIdentifier)
go/signedexchange/verifier.go:37
↓ 1 callers
Method
findResponseHashes
(requestUrl string)
go/bundle/signature/verifier.go:98
↓ 1 callers
Method
fixupIndex
()
js/bundle/src/encoder.ts:108
↓ 1 callers
Function
fromDir
(baseDir string, baseURL *url.URL)
go/bundle/cmd/gen-bundle/fromdir.go:16
↓ 1 callers
Function
fromHar
(harPath string)
go/bundle/cmd/gen-bundle/fromhar.go:61
↓ 1 callers
Function
fromURLList
(urlListFile string)
go/bundle/cmd/gen-bundle/fromurllist.go:16
↓ 1 callers
Function
getAdditionalInfoDirectValue
(b: number)
js/sign/src/cbor/additionalinfo.ts:46
↓ 1 callers
Function
getAdditionalInfoDirectValue
getAdditionalInfoDirectValue is used for AdditionalInfoDirect to read the value following the additional info.
go/internal/cbor/addinfo.go:49
↓ 1 callers
Function
getAdditionalInfoLength
(info: AdditionalInfo)
js/sign/src/cbor/additionalinfo.ts:52
↓ 1 callers
Function
getAdditionalInfoValueLowerLimit
(info: AdditionalInfo)
js/sign/src/cbor/additionalinfo.ts:73
↓ 1 callers
Method
getAdditionalInfoValueLowerLimit
getAdditionalInfoValueLowerLimit returns the unsigned integer limit which is the lowest that should be using the AdditionalInfo in question. If the un
go/internal/cbor/addinfo.go:74
↓ 1 callers
Method
getKeyTypeName
()
js/sign/src/web-bundle-id.ts:46
↓ 1 callers
Function
getMajorType
(b: number)
js/sign/src/cbor/majortype.ts:15
↓ 1 callers
Function
getMajorType
getMajorType returns the first 3 bits of the first byte representing cbor's major type. https://www.rfc-editor.org/rfc/rfc8949.html#name-major-types
go/internal/cbor/types.go:19
↓ 1 callers
Function
getPublicKeyAttributeName
(key: crypto.KeyObject)
js/sign/src/utils/utils.ts:83
↓ 1 callers
Function
getUnsignedIntegerValue
( input: Uint8Array, info: AdditionalInfo )
js/sign/src/cbor/deterministic.ts:75
↓ 1 callers
Method
getWebBundleId
()
js/sign/src/core/signed-web-bundle.ts:122
↓ 1 callers
Function
initCertFetcher
()
go/signedexchange/cmd/dump-signedexchange/main.go:162
↓ 1 callers
Function
isFlagPassed
isFlagPassed is a helper function to check if the given flag was provided. Note that this needs to be called after flag.Parse.
go/bundle/cmd/sign-bundle/main.go:48
↓ 1 callers
Function
isSameOrigin
(u1, u2 *url.URL)
go/signedexchange/verifier.go:375
↓ 1 callers
Function
isTextType
(mimeType string)
go/bundle/cmd/dump-bundle/main.go:97
↓ 1 callers
Function
isValidKey
(s string)
go/signedexchange/structuredheader/writer.go:152
↓ 1 callers
Function
jsonPrintHeaders
(e *signedexchange.Exchange, certFetcher signedexchange.CertFetcher, verificationTime time.Time, w io.Writer)
go/signedexchange/cmd/dump-signedexchange/main.go:190
↓ 1 callers
Function
loadMetadata
https://wicg.github.io/webpackage/draft-yasskin-dispatch-bundled-exchanges.html#load-metadata
go/bundle/decoder.go:441
↓ 1 callers
Function
loadResponse
https://wicg.github.io/webpackage/draft-yasskin-dispatch-bundled-exchanges.html#load-response
go/bundle/decoder.go:570
↓ 1 callers
Function
main
()
js/bundle/src/cli.ts:143
↓ 1 callers
Function
mapDeterministic
(input: Uint8Array, index: number)
js/sign/src/cbor/deterministic.ts:155
↓ 1 callers
Function
mapDeterministic
mapDeterministic returns length of the CBOR map in bytes and checks that each item on it follows the deterministic principles. Additionally to ensure
go/internal/cbor/deterministic.go:158
↓ 1 callers
Function
mustReadFile
Use when no output is expected.
go/signedexchange/signedexchange_test.go:50
↓ 1 callers
Function
newManifestSection
(url *url.URL)
go/bundle/encoder.go:444
↓ 1 callers
Function
newPrimarySection
(url *url.URL)
go/bundle/encoder.go:429
↓ 1 callers
Function
newResponseWriter
()
go/bundle/cmd/gen-bundle/fromdir.go:76
↓ 1 callers
Function
newResponsesSection
(n int)
go/bundle/encoder.go:383
↓ 1 callers
Function
newSignaturesSection
(sigs *Signatures)
go/bundle/encoder.go:459
↓ 1 callers
Function
normalizeHeaderValues
(values []string)
go/signedexchange/signedexchange.go:105
↓ 1 callers
Method
obtainIntegrityOffset
(bundle: Uint8Array)
js/sign/src/core/signed-web-bundle.ts:146
↓ 1 callers
Method
onCreateBundle
()
js/bundle/src/encoder.ts:20
↓ 1 callers
Function
parseArguments
()
js/sign/src/cli-sign.ts:90
↓ 1 callers
Function
parseCacheControlDirectives
parseCacheControlDirectives parses a Cache-Control header value (Section 5.2 of [RFC7234]).
go/signedexchange/verifier.go:264
↓ 1 callers
Method
parseDigestHeader
(digestHeaderValue string)
go/signedexchange/mice/mice.go:134
↓ 1 callers
Function
parseEncryptedPrivateKeyBlock
parseEncryptedPrivateKeyBlock reads the passphrase to decrypt an encrypted private key from either WEB_BUNDLE_SIGNING_PASSPHRASE environment variable
go/internal/signingalgorithm/certs.go:88
↓ 1 callers
Function
parseIndexSection
https://wpack-wg.github.io/bundled-responses/draft-ietf-wpack-bundled-responses.html#name-the-index-section
go/bundle/decoder.go:145
↓ 1 callers
Function
parseIndexSectionWithVariants
https://wpack-wg.github.io/bundled-responses/draft-ietf-wpack-bundled-responses.html#name-the-index-section
go/bundle/decoder.go:206
↓ 1 callers
Function
parseKey
(filePath: string)
js/sign/src/cli-dump-id.ts:22
↓ 1 callers
Method
parseListOfLists
https://tools.ietf.org/html/draft-ietf-httpbis-header-structure-09#section-4.2.4
go/signedexchange/structuredheader/parser.go:120
↓ 1 callers
Function
parseManifestSection
https://wpack-wg.github.io/bundled-responses/draft-ietf-wpack-bundled-responses.html#manifest-section
go/bundle/decoder.go:323
↓ 1 callers
Method
parseParameterisedList
https://tools.ietf.org/html/draft-ietf-httpbis-header-structure-09#section-4.2.5
go/signedexchange/structuredheader/parser.go:146
↓ 1 callers
Function
parsePrimarySection
The "primary" section records a single URL identifying the primary URL of the bundle. The URL MUST refer to a resource with representations contained
go/bundle/decoder.go:305
↓ 1 callers
Function
parsePrivateKeyBlock
(derKey []byte)
go/internal/signingalgorithm/certs.go:73
↓ 1 callers
Function
parsePublicKey
(filePath: string)
js/sign/src/cli-dump-id.ts:18
↓ 1 callers
Function
parsePublicKeyBlock
parsePublicKeyBlock parses any allowed type public key. Currently only allows parsing ed25519 type public keys.
go/internal/signingalgorithm/certs.go:125
↓ 1 callers
Function
parseRawPublicKey
( type: SignatureType, rawPublicKey: Uint8Array )
js/sign/src/utils/utils.ts:140
↓ 1 callers
Function
parseSignaturesSection
https://wpack-wg.github.io/bundled-responses/draft-ietf-wpack-bundled-responses.html#signatures-section
go/bundle/decoder.go:340
↓ 1 callers
Method
prettyPrintOCSP
(w io.Writer, OCSPResponse []byte)
go/signedexchange/certurl/ocsp.go:75
↓ 1 callers
Function
prettyPrintSCTFromCert
(w io.Writer, cert *x509.Certificate)
go/signedexchange/certurl/sct.go:68
↓ 1 callers
Function
prettyPrintSCTFromOCSP
(w io.Writer, ocspResp *ocsp.Response)
go/signedexchange/certurl/sct.go:72
↓ 1 callers
Method
printInfo
()
js/sign/src/core/integrity-block.ts:93
↓ 1 callers
Function
readBundleFromFile
(path string)
go/bundle/cmd/sign-bundle/signedexchange.go:36
↓ 1 callers
Function
readCertChainFromFile
(path string)
go/bundle/cmd/sign-bundle/signedexchange.go:19
↓ 1 callers
Function
readHeaderOverridesFile
(path: string)
js/bundle/src/cli.ts:134
↓ 1 callers
Method
readNextRecord
()
go/signedexchange/mice/mice.go:215
↓ 1 callers
Function
readOptions
()
js/sign/src/cli-dump-id.ts:32
↓ 1 callers
Function
readOptions
()
js/bundle/src/cli.ts:77
↓ 1 callers
Function
readPassphrase
(description: string)
js/sign/src/utils/cli-utils.ts:61
↓ 1 callers
Function
readPublicEd25519KeyFromFile
(path string)
go/bundle/cmd/sign-bundle/integrityblock.go:31
↓ 1 callers
Method
readWebBundleLength
(bundle: Uint8Array)
js/sign/src/core/signed-web-bundle.ts:159
↓ 1 callers
Function
readWebBundlePayloadLength
readWebBundlePayloadLength returns the length of the web bundle parsed from the last 8 bytes of the web bundle file. [Web Bundle's Trailing Length]: h
go/integrityblock/integrityblock.go:113
↓ 1 callers
Function
readableString
readableString converts an arbitrary value v to a string. readableString does a basically same thing as fmt.Sprintf("%q", v), but the difference is t
go/internal/testhelper/cbor.go:17
↓ 1 callers
Method
removeIntegritySignature
(publicKey: Uint8Array)
js/sign/src/core/integrity-block.ts:148
↓ 1 callers
Function
run
()
go/bundle/cmd/sign-bundle/main.go:58
↓ 1 callers
Function
run
()
go/bundle/cmd/dump-bundle/main.go:106
↓ 1 callers
Function
run
()
go/signedexchange/cmd/dump-signedexchange/main.go:56
↓ 1 callers
Function
run
()
go/signedexchange/cmd/gen-signedexchange/main.go:62
↓ 1 callers
Function
run
()
go/signedexchange/cmd/dump-certurl/main.go:15
↓ 1 callers
Function
run
(pemFilePath, ocspFilePath, sctDirPath string)
go/signedexchange/cmd/gen-certurl/main.go:25
↓ 1 callers
Method
serialize
https://tools.ietf.org/html/draft-ietf-httpbis-header-structure-09#section-4.1.4
go/signedexchange/structuredheader/writer.go:66
↓ 1 callers
Method
serialize
Step 2.1-2.3 of https://tools.ietf.org/html/draft-ietf-httpbis-header-structure-09#section-4.1.4
go/signedexchange/structuredheader/writer.go:84
↓ 1 callers
Method
setIndexEntry
(url: string, responseLength: number)
js/bundle/src/encoder.ts:23
↓ 1 callers
Method
setManifestURL
(url: string)
js/bundle/src/encoder.ts:78
↓ 1 callers
Method
sign
(signed []byte)
go/bundle/signature/signer.go:163
↓ 1 callers
Method
sign
(e *Exchange)
go/signedexchange/signer.go:180
↓ 1 callers
Method
signatureHeaderValue
(e *Exchange)
go/signedexchange/signer.go:197
↓ 1 callers
Function
textOrByteStringDeterministic
( input: Uint8Array, index: number )
js/sign/src/cbor/deterministic.ts:107
↓ 1 callers
Method
toCBOR
()
js/bundle/src/encoder.ts:256
← previous
next →
301–400 of 591, ranked by callers