MCPcopy Create free account

hub / github.com/WICG/webpackage / functions

Functions591 in github.com/WICG/webpackage

↓ 2 callersFunctionexpectToThrowErrorAsync
(f)
js/sign/tests/cli-utils_test.js:15
↓ 2 callersFunctiongenerateDataToBeSigned
( webBundleHash: Uint8Array, integrityBlockCborBytes: Uint8Array, newAttributesCborBytes: Uint8Array )
js/sign/src/utils/utils.ts:185
↓ 2 callersFunctiongenerateSignedMessage
https://github.com/WICG/webpackage/issues/472#issuecomment-520080192 TODO: Update the above reference once we have spec text for this.
go/bundle/signature/signer.go:177
↓ 2 callersFunctiongetBundleId
(signedWebBundle: Uint8Array)
js/sign/src/web-bundle-id.ts:69
↓ 2 callersMethodgetChar
()
go/signedexchange/structuredheader/parser.go:53
↓ 2 callersMethodindexInPossibleKeys
indexInPossibleKeys returns the index of variantKey within the all possible key combinations for v. If variantKey is not a possible key for v, this re
go/bundle/encoder.go:324
↓ 2 callersFunctioninfoLog
(text: string)
js/sign/src/utils/cli-utils.ts:82
↓ 2 callersFunctionisAscii
(s string)
go/bundle/decoder.go:86
↓ 2 callersFunctionisAsymmetricKeyTypeSupported
(key: crypto.KeyObject)
js/sign/src/utils/utils.ts:39
↓ 2 callersFunctionisHeaders
(obj: any)
js/bundle/src/encoder.ts:286
↓ 2 callersFunctionisKeyChar
isKeyChar returns true if c is allowed in subsequent characters of Keys.
go/signedexchange/structuredheader/parser.go:329
↓ 2 callersFunctionisPureWebBundle
(bundle: Uint8Array)
js/sign/src/utils/utils.ts:44
↓ 2 callersFunctionisSignedWebBundle
(bundle: Uint8Array)
js/sign/src/utils/utils.ts:63
↓ 2 callersFunctionisTokenChar
isTokenChar returns true if c is allowed in subsequent characters of Tokens.
go/signedexchange/structuredheader/parser.go:334
↓ 2 callersFunctionisValidToken
(s string)
go/signedexchange/structuredheader/writer.go:164
↓ 2 callersFunctionmain
()
js/sign/src/cli-sign.ts:433
↓ 2 callersFunctionmaybeGetSignatureType
(key: crypto.KeyObject)
js/sign/src/utils/utils.ts:24
↓ 2 callersFunctionmustRawEncodeBase64
(s string)
go/signedexchange/mice/mice_test.go:99
↓ 2 callersFunctionnvpToHeader
(nvps []hargo.NVP, predBanned func(string) bool)
go/bundle/cmd/gen-bundle/fromhar.go:38
↓ 2 callersMethodparseByteSequence
https://tools.ietf.org/html/draft-ietf-httpbis-header-structure-09#section-4.2.11
go/signedexchange/structuredheader/parser.go:289
↓ 2 callersMethodparseKey
https://tools.ietf.org/html/draft-ietf-httpbis-header-structure-09#section-4.2.2
go/signedexchange/structuredheader/parser.go:106
↓ 2 callersFunctionparseListOfStringLists
(s string)
go/bundle/encoder.go:274
↓ 2 callersFunctionparseMaybeEncryptedKey
( data: Buffer, description: string = '' )
js/sign/src/utils/cli-utils.ts:24
↓ 2 callersMethodparseNumber
https://tools.ietf.org/html/draft-ietf-httpbis-header-structure-09#section-4.2.8
go/signedexchange/structuredheader/parser.go:221
↓ 2 callersMethodparseParameterisedIdentifier
https://tools.ietf.org/html/draft-ietf-httpbis-header-structure-09#section-4.2.6
go/signedexchange/structuredheader/parser.go:167
↓ 2 callersFunctionparseRemovalKey
(keyInput: string)
js/sign/src/cli-sign.ts:48
↓ 2 callersMethodparseSignatureAttributes
( attributes: SignatureAttributes )
js/sign/src/core/integrity-block.ts:180
↓ 2 callersMethodparseString
https://tools.ietf.org/html/draft-ietf-httpbis-header-structure-09#section-4.2.9
go/signedexchange/structuredheader/parser.go:242
↓ 2 callersMethodpossibleKeyAt
possibleKeyAt returns a variant key at given index within the all possible key combinations for v, or nil if index is out of range.
go/bundle/encoder.go:346
↓ 2 callersFunctionprettyPrintSCT
(w io.Writer, SCTList []byte)
go/signedexchange/certurl/sct.go:90
↓ 2 callersFunctionprettyPrintSCTExtension
(w io.Writer, extensions []pkix.Extension, oid asn1.ObjectIdentifier)
go/signedexchange/certurl/sct.go:76
↓ 2 callersFunctionreadAndParseEd25519PrivateKey
(path string)
go/bundle/cmd/sign-bundle/integrityblock.go:45
↓ 2 callersFunctionreadPrivateKeyFromFile
(path string)
go/bundle/cmd/sign-bundle/signedexchange.go:28
↓ 2 callersFunctionreadVerifyAndSignWebBundle
( wbnFilePath: string, keyFilesPaths: string[], outputFilePath: string, maybeWebBundleId?: string )
js/sign/src/cli-sign.ts:395
↓ 2 callersMethodserialize
https://tools.ietf.org/html/draft-ietf-httpbis-header-structure-09#section-4.1.3
go/signedexchange/structuredheader/writer.go:38
↓ 2 callersFunctionserializeItem
https://tools.ietf.org/html/draft-ietf-httpbis-header-structure-09#section-4.1.5
go/signedexchange/structuredheader/writer.go:115
↓ 2 callersMethodsetPrimaryURL
(url: string)
js/bundle/src/encoder.ts:74
↓ 2 callersMethodsignAndGetIntegrityBlock
@internal
js/sign/src/signers/integrity-block-signer.ts:90
↓ 2 callersFunctiontextOrByteStringDeterministic
textOrByteStringDeterministic returns length of the text or byte string element in bytes for which its deterministicy has been ensured
go/internal/cbor/deterministic.go:113
↓ 2 callersMethodtoStrippedCbor
@internal
js/sign/src/core/integrity-block.ts:176
↓ 2 callersFunctiontypeSupportedPKCS8key
(keyInterface any)
go/internal/signingalgorithm/certs.go:62
↓ 2 callersFunctionurlMustParse
(rawurl string)
go/bundle/encoder_test.go:13
↓ 2 callersFunctionvalidateFallbackURL
(urlBytes []byte)
go/signedexchange/signedexchange.go:469
↓ 2 callersMethodvalidateSignatures
()
js/sign/src/core/signed-web-bundle.ts:90
↓ 2 callersFunctionverifySignature
( data: Uint8Array, signature: Uint8Array, publicKey: KeyObject )
js/sign/src/utils/utils.ts:125
↓ 1 callersFunctionDumpExchange
(e *bundle.Exchange, b *bundle.Bundle, verifier *signature.Verifier)
go/bundle/cmd/dump-bundle/main.go:42
↓ 1 callersMethodDumpSignedMessage
(w io.Writer, s *Signer)
go/signedexchange/signedexchange.go:483
↓ 1 callersFunctionDumpWebBundleId
()
go/bundle/cmd/sign-bundle/integrityblock.go:80
↓ 1 callersFunctionDumpWebBundleIdFromPrivateKey
()
go/bundle/cmd/sign-bundle/integrityblock.go:58
↓ 1 callersFunctionDumpWebBundleIdFromPublicKey
()
go/bundle/cmd/sign-bundle/integrityblock.go:69
↓ 1 callersMethodEncodeBool
(b bool)
go/internal/cbor/encoder.go:158
↓ 1 callersFunctionFetchOCSPResponse
(certs []*x509.Certificate, preferGET bool)
go/signedexchange/certurl/ocsp.go:55
↓ 1 callersFunctionFromMagicBytes
(bs []byte)
go/signedexchange/version/version.go:55
↓ 1 callersFunctionHasEmbeddedSCT
HasEmbeddedSCT returns true if the certificate or the OCSP response have embedded SCT list.
go/signedexchange/certurl/sct.go:54
↓ 1 callersMethodHeaderMagicBytes
()
go/bundle/version/version.go:47
↓ 1 callersFunctionIsStatefulRequestHeader
IsStatefulRequestHeader returns true if the HTTP header n is considered stateful and is not allowed to be included in a signed exchange Note that this
go/signedexchange/stateful_headers.go:70
↓ 1 callersFunctionIsUncachedHeader
(n string)
go/signedexchange/stateful_headers.go:76
↓ 1 callersMethodMimeType
()
go/signedexchange/version/version.go:51
↓ 1 callersMethodName
()
go/bundle/encoder.go:87
↓ 1 callersFunctionNewCountingWriter
(w io.Writer)
go/bundle/countingwriter.go:16
↓ 1 callersFunctionNewMapEntry
()
go/internal/cbor/encoder.go:183
↓ 1 callersFunctionObtainIntegrityBlock
obtainIntegrityBlock returns either the existing integrity block parsed (not supported in v1) or a newly created empty integrity block. Integrity bloc
go/integrityblock/integrityblock.go:134
↓ 1 callersFunctionParse
(str string)
go/bundle/version/version.go:37
↓ 1 callersFunctionParseMagicBytes
(r io.Reader)
go/bundle/version/version.go:58
↓ 1 callersFunctionParsePublicKey
(text []byte)
go/internal/signingalgorithm/certs.go:108
↓ 1 callersMethodPrettyPrint
(w io.Writer)
go/signedexchange/certurl/certchain.go:191
↓ 1 callersMethodPrettyPrintHeaderIntegrity
(w io.Writer)
go/signedexchange/signedexchange.go:527
↓ 1 callersMethodPrettyPrintHeaders
(w io.Writer)
go/signedexchange/signedexchange.go:495
↓ 1 callersMethodPrettyPrintPayload
(w io.Writer)
go/signedexchange/signedexchange.go:513
↓ 1 callersFunctionReadBundleFromFile
(path string)
go/bundle/cmd/dump-bundle/main.go:23
↓ 1 callersFunctionReadExchangePrologue
draft-yasskin-http-origin-signed-responses.html#application-http-exchange
go/signedexchange/signedexchange.go:381
↓ 1 callersFunctionReadHar
(r io.Reader)
go/bundle/cmd/gen-bundle/fromhar.go:20
↓ 1 callersFunctionReadHarFromFile
(path string)
go/bundle/cmd/gen-bundle/fromhar.go:29
↓ 1 callersMethodSPKISha256
CertSha256 returns SHA-256 hash of the DER-encoded SubjectPublicKeyInfo.
go/signedexchange/certurl/certchain.go:120
↓ 1 callersFunctionSignExchanges
()
go/bundle/cmd/sign-bundle/signedexchange.go:77
↓ 1 callersFunctionSignWithIntegrityBlock
SignWithIntegrityBlock creates a CBOR integrity block containing a signature matching the hash of the web bundle read from `bundleFileIn`. Finally it
go/bundle/cmd/sign-bundle/integrityblock.go:115
↓ 1 callersFunctionSignWithIntegrityBlockWithCmdFlags
SignWithIntegrityBlockWithCmdFlags is just a wrapper function for `SignWithIntegrityBlock` function containing the actual logic so that it can be easi
go/bundle/cmd/sign-bundle/integrityblock.go:91
↓ 1 callersMethodSignatureContextString
()
go/bundle/version/version.go:95
↓ 1 callersMethodString
()
go/signedexchange/structuredheader/writer.go:29
↓ 1 callersMethodSupportsManifestSection
()
go/bundle/version/version.go:122
↓ 1 callersMethodVerify
Verify validates the Exchange by running the algorithm described in https://wicg.github.io/webpackage/draft-yasskin-http-origin-signed-responses.html#
go/signedexchange/verifier.go:90
↓ 1 callersFunctionVerifyEd25519Signature
VerifyEd25519Signature verifies that the given signature can be verified with the given public key and matches the data signed.
go/integrityblock/integrityblock-signer.go:17
↓ 1 callersFunctionVerifyUncachedHeader
VerifyUncachedHeader returns non-nil error if h has any uncached header fields as specified in draft-yasskin-http-origin-signed-responses.html#uncache
go/signedexchange/stateful_headers.go:84
↓ 1 callersFunctionaddExchange
(is *indexSection, rs *responsesSection, e *Exchange)
go/bundle/encoder.go:496
↓ 1 callersFunctionaddFilesRecursively
( builder: BundleBuilder, baseURL: string, dir: string, overrideHeaders: Headers | undefined )
js/bundle/src/cli.ts:36
↓ 1 callersMethodaddIndexEntry
(url: string, responseLength: number)
js/bundle/src/encoder.ts:103
↓ 1 callersMethodaddResponse
(headerMap: HeaderMap, payload: Uint8Array)
js/bundle/src/encoder.ts:93
↓ 1 callersMethodaddResponse
(r Response)
go/bundle/encoder.go:394
↓ 1 callersFunctionaddSignature
(b *bundle.Bundle, signer *signature.Signer)
go/bundle/cmd/sign-bundle/signedexchange.go:55
↓ 1 callersFunctionarrayDeterministic
(input: Uint8Array, index: number)
js/sign/src/cbor/deterministic.ts:127
↓ 1 callersFunctionarrayDeterministic
arrayDeterministic returns length of the CBOR array in bytes and checks that each item on it follows the deterministic principles.
go/internal/cbor/deterministic.go:128
↓ 1 callersFunctionasMap
(x: unknown)
js/bundle/src/decoder.ts:246
↓ 1 callersFunctioncontentToBody
(c *hargo.Content)
go/bundle/cmd/gen-bundle/fromhar.go:54
↓ 1 callersFunctionconvertPathToURL
(path string, baseDir string, baseURL *url.URL)
go/bundle/cmd/gen-bundle/fromdir.go:52
↓ 1 callersFunctionconvertToAdditionalInfo
(b: number)
js/sign/src/cbor/additionalinfo.ts:23
↓ 1 callersMethodcreateCompatAdapter
(formatVersion: FormatVersion)
js/bundle/src/encoder.ts:123
↓ 1 callersMethodcreateCompatAdapter
(formatVersion: FormatVersion)
js/bundle/src/decoder.ts:129
↓ 1 callersFunctioncreateExchange
createExchange creates a bundle.Exchange whose request URL is url and response body is the contents of the file. Internally, it uses http.ServeFile to
go/bundle/cmd/gen-bundle/fromdir.go:91
↓ 1 callersFunctioncreateTestBundleWithVariants
(ver version.Version)
go/bundle/bundle_test.go:63
↓ 1 callersFunctioncreateTestCerts
(t *testing.T)
go/bundle/bundle_test.go:97
← previousnext →201–300 of 591, ranked by callers