MCPcopy Create free account

hub / github.com/WICG/webpackage / functions

Functions591 in github.com/WICG/webpackage

↓ 1 callersMethodcreateTopLevel
()
js/bundle/src/encoder.ts:25
↓ 1 callersMethodcreateTopLevel
()
js/bundle/src/encoder.ts:114
↓ 1 callersFunctiondecodeCborHeaders
https://wicg.github.io/webpackage/draft-yasskin-dispatch-bundled-exchanges.html#cbor-headers
go/bundle/decoder.go:91
↓ 1 callersMethoddecodeExchangeHeaders
(dec *cbor.Decoder)
go/signedexchange/signedexchange.go:233
↓ 1 callersMethoddecodeRequestMap
(dec *cbor.Decoder)
go/signedexchange/signedexchange.go:123
↓ 1 callersFunctiondecodeResponseMap
(cbor: Uint8Array)
js/bundle/src/decoder.ts:210
↓ 1 callersMethoddecodeResponseMap
(dec *cbor.Decoder)
go/signedexchange/signedexchange.go:182
↓ 1 callersFunctiondecodeSectionLengthsCBOR
(bs []byte)
go/bundle/decoder.go:52
↓ 1 callersFunctiondecodeSignedSubset
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 callersFunctiondecodeSubsetHashes
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 callersMethoddecodeTypedUint
()
go/internal/cbor/decoder.go:26
↓ 1 callersMethoddestructureBundle
(wbn: unknown[])
js/bundle/src/decoder.ts:21
↓ 1 callersMethodencodeMapHeader
(n int)
go/internal/cbor/encoder.go:154
↓ 1 callersMethodencodeRequestMap
(enc *cbor.Encoder)
go/signedexchange/signedexchange.go:82
↓ 1 callersMethodencodeResponseMap
(enc *cbor.Encoder)
go/signedexchange/signedexchange.go:160
↓ 1 callersFunctionentriesInPossibleKeyOrder
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 callersFunctionextractSignatureFields
(pi structuredheader.ParameterisedIdentifier)
go/signedexchange/verifier.go:37
↓ 1 callersMethodfindResponseHashes
(requestUrl string)
go/bundle/signature/verifier.go:98
↓ 1 callersMethodfixupIndex
()
js/bundle/src/encoder.ts:108
↓ 1 callersFunctionfromDir
(baseDir string, baseURL *url.URL)
go/bundle/cmd/gen-bundle/fromdir.go:16
↓ 1 callersFunctionfromHar
(harPath string)
go/bundle/cmd/gen-bundle/fromhar.go:61
↓ 1 callersFunctionfromURLList
(urlListFile string)
go/bundle/cmd/gen-bundle/fromurllist.go:16
↓ 1 callersFunctiongetAdditionalInfoDirectValue
(b: number)
js/sign/src/cbor/additionalinfo.ts:46
↓ 1 callersFunctiongetAdditionalInfoDirectValue
getAdditionalInfoDirectValue is used for AdditionalInfoDirect to read the value following the additional info.
go/internal/cbor/addinfo.go:49
↓ 1 callersFunctiongetAdditionalInfoLength
(info: AdditionalInfo)
js/sign/src/cbor/additionalinfo.ts:52
↓ 1 callersFunctiongetAdditionalInfoValueLowerLimit
(info: AdditionalInfo)
js/sign/src/cbor/additionalinfo.ts:73
↓ 1 callersMethodgetAdditionalInfoValueLowerLimit
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 callersMethodgetKeyTypeName
()
js/sign/src/web-bundle-id.ts:46
↓ 1 callersFunctiongetMajorType
(b: number)
js/sign/src/cbor/majortype.ts:15
↓ 1 callersFunctiongetMajorType
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 callersFunctiongetPublicKeyAttributeName
(key: crypto.KeyObject)
js/sign/src/utils/utils.ts:83
↓ 1 callersFunctiongetUnsignedIntegerValue
( input: Uint8Array, info: AdditionalInfo )
js/sign/src/cbor/deterministic.ts:75
↓ 1 callersMethodgetWebBundleId
()
js/sign/src/core/signed-web-bundle.ts:122
↓ 1 callersFunctioninitCertFetcher
()
go/signedexchange/cmd/dump-signedexchange/main.go:162
↓ 1 callersFunctionisFlagPassed
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 callersFunctionisSameOrigin
(u1, u2 *url.URL)
go/signedexchange/verifier.go:375
↓ 1 callersFunctionisTextType
(mimeType string)
go/bundle/cmd/dump-bundle/main.go:97
↓ 1 callersFunctionisValidKey
(s string)
go/signedexchange/structuredheader/writer.go:152
↓ 1 callersFunctionjsonPrintHeaders
(e *signedexchange.Exchange, certFetcher signedexchange.CertFetcher, verificationTime time.Time, w io.Writer)
go/signedexchange/cmd/dump-signedexchange/main.go:190
↓ 1 callersFunctionloadMetadata
https://wicg.github.io/webpackage/draft-yasskin-dispatch-bundled-exchanges.html#load-metadata
go/bundle/decoder.go:441
↓ 1 callersFunctionloadResponse
https://wicg.github.io/webpackage/draft-yasskin-dispatch-bundled-exchanges.html#load-response
go/bundle/decoder.go:570
↓ 1 callersFunctionmain
()
js/bundle/src/cli.ts:143
↓ 1 callersFunctionmapDeterministic
(input: Uint8Array, index: number)
js/sign/src/cbor/deterministic.ts:155
↓ 1 callersFunctionmapDeterministic
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 callersFunctionmustReadFile
Use when no output is expected.
go/signedexchange/signedexchange_test.go:50
↓ 1 callersFunctionnewManifestSection
(url *url.URL)
go/bundle/encoder.go:444
↓ 1 callersFunctionnewPrimarySection
(url *url.URL)
go/bundle/encoder.go:429
↓ 1 callersFunctionnewResponseWriter
()
go/bundle/cmd/gen-bundle/fromdir.go:76
↓ 1 callersFunctionnewResponsesSection
(n int)
go/bundle/encoder.go:383
↓ 1 callersFunctionnewSignaturesSection
(sigs *Signatures)
go/bundle/encoder.go:459
↓ 1 callersFunctionnormalizeHeaderValues
(values []string)
go/signedexchange/signedexchange.go:105
↓ 1 callersMethodobtainIntegrityOffset
(bundle: Uint8Array)
js/sign/src/core/signed-web-bundle.ts:146
↓ 1 callersMethodonCreateBundle
()
js/bundle/src/encoder.ts:20
↓ 1 callersFunctionparseArguments
()
js/sign/src/cli-sign.ts:90
↓ 1 callersFunctionparseCacheControlDirectives
parseCacheControlDirectives parses a Cache-Control header value (Section 5.2 of [RFC7234]).
go/signedexchange/verifier.go:264
↓ 1 callersMethodparseDigestHeader
(digestHeaderValue string)
go/signedexchange/mice/mice.go:134
↓ 1 callersFunctionparseEncryptedPrivateKeyBlock
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 callersFunctionparseIndexSection
https://wpack-wg.github.io/bundled-responses/draft-ietf-wpack-bundled-responses.html#name-the-index-section
go/bundle/decoder.go:145
↓ 1 callersFunctionparseIndexSectionWithVariants
https://wpack-wg.github.io/bundled-responses/draft-ietf-wpack-bundled-responses.html#name-the-index-section
go/bundle/decoder.go:206
↓ 1 callersFunctionparseKey
(filePath: string)
js/sign/src/cli-dump-id.ts:22
↓ 1 callersMethodparseListOfLists
https://tools.ietf.org/html/draft-ietf-httpbis-header-structure-09#section-4.2.4
go/signedexchange/structuredheader/parser.go:120
↓ 1 callersFunctionparseManifestSection
https://wpack-wg.github.io/bundled-responses/draft-ietf-wpack-bundled-responses.html#manifest-section
go/bundle/decoder.go:323
↓ 1 callersMethodparseParameterisedList
https://tools.ietf.org/html/draft-ietf-httpbis-header-structure-09#section-4.2.5
go/signedexchange/structuredheader/parser.go:146
↓ 1 callersFunctionparsePrimarySection
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 callersFunctionparsePrivateKeyBlock
(derKey []byte)
go/internal/signingalgorithm/certs.go:73
↓ 1 callersFunctionparsePublicKey
(filePath: string)
js/sign/src/cli-dump-id.ts:18
↓ 1 callersFunctionparsePublicKeyBlock
parsePublicKeyBlock parses any allowed type public key. Currently only allows parsing ed25519 type public keys.
go/internal/signingalgorithm/certs.go:125
↓ 1 callersFunctionparseRawPublicKey
( type: SignatureType, rawPublicKey: Uint8Array )
js/sign/src/utils/utils.ts:140
↓ 1 callersFunctionparseSignaturesSection
https://wpack-wg.github.io/bundled-responses/draft-ietf-wpack-bundled-responses.html#signatures-section
go/bundle/decoder.go:340
↓ 1 callersMethodprettyPrintOCSP
(w io.Writer, OCSPResponse []byte)
go/signedexchange/certurl/ocsp.go:75
↓ 1 callersFunctionprettyPrintSCTFromCert
(w io.Writer, cert *x509.Certificate)
go/signedexchange/certurl/sct.go:68
↓ 1 callersFunctionprettyPrintSCTFromOCSP
(w io.Writer, ocspResp *ocsp.Response)
go/signedexchange/certurl/sct.go:72
↓ 1 callersMethodprintInfo
()
js/sign/src/core/integrity-block.ts:93
↓ 1 callersFunctionreadBundleFromFile
(path string)
go/bundle/cmd/sign-bundle/signedexchange.go:36
↓ 1 callersFunctionreadCertChainFromFile
(path string)
go/bundle/cmd/sign-bundle/signedexchange.go:19
↓ 1 callersFunctionreadHeaderOverridesFile
(path: string)
js/bundle/src/cli.ts:134
↓ 1 callersMethodreadNextRecord
()
go/signedexchange/mice/mice.go:215
↓ 1 callersFunctionreadOptions
()
js/sign/src/cli-dump-id.ts:32
↓ 1 callersFunctionreadOptions
()
js/bundle/src/cli.ts:77
↓ 1 callersFunctionreadPassphrase
(description: string)
js/sign/src/utils/cli-utils.ts:61
↓ 1 callersFunctionreadPublicEd25519KeyFromFile
(path string)
go/bundle/cmd/sign-bundle/integrityblock.go:31
↓ 1 callersMethodreadWebBundleLength
(bundle: Uint8Array)
js/sign/src/core/signed-web-bundle.ts:159
↓ 1 callersFunctionreadWebBundlePayloadLength
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 callersFunctionreadableString
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 callersMethodremoveIntegritySignature
(publicKey: Uint8Array)
js/sign/src/core/integrity-block.ts:148
↓ 1 callersFunctionrun
()
go/bundle/cmd/sign-bundle/main.go:58
↓ 1 callersFunctionrun
()
go/bundle/cmd/dump-bundle/main.go:106
↓ 1 callersFunctionrun
()
go/signedexchange/cmd/dump-signedexchange/main.go:56
↓ 1 callersFunctionrun
()
go/signedexchange/cmd/gen-signedexchange/main.go:62
↓ 1 callersFunctionrun
()
go/signedexchange/cmd/dump-certurl/main.go:15
↓ 1 callersFunctionrun
(pemFilePath, ocspFilePath, sctDirPath string)
go/signedexchange/cmd/gen-certurl/main.go:25
↓ 1 callersMethodserialize
https://tools.ietf.org/html/draft-ietf-httpbis-header-structure-09#section-4.1.4
go/signedexchange/structuredheader/writer.go:66
↓ 1 callersMethodserialize
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 callersMethodsetIndexEntry
(url: string, responseLength: number)
js/bundle/src/encoder.ts:23
↓ 1 callersMethodsetManifestURL
(url: string)
js/bundle/src/encoder.ts:78
↓ 1 callersMethodsign
(signed []byte)
go/bundle/signature/signer.go:163
↓ 1 callersMethodsign
(e *Exchange)
go/signedexchange/signer.go:180
↓ 1 callersMethodsignatureHeaderValue
(e *Exchange)
go/signedexchange/signer.go:197
↓ 1 callersFunctiontextOrByteStringDeterministic
( input: Uint8Array, index: number )
js/sign/src/cbor/deterministic.ts:107
↓ 1 callersMethodtoCBOR
()
js/bundle/src/encoder.ts:256
← previousnext →301–400 of 591, ranked by callers