MCPcopy Create free account

hub / github.com/WICG/webpackage / functions

Functions591 in github.com/WICG/webpackage

↓ 1 callersMethodupdateIndexValues
(responsesHeaderSize: number)
js/bundle/src/encoder.ts:24
↓ 1 callersFunctionvalidateOptions
(options: any)
js/bundle/src/cli.ts:108
↓ 1 callersFunctionverify
(e *signedexchange.Exchange, certFetcher signedexchange.CertFetcher, verificationTime time.Time)
go/signedexchange/cmd/dump-signedexchange/main.go:181
↓ 1 callersFunctionverifyHeaders
(e *Exchange)
go/signedexchange/verifier.go:379
↓ 1 callersFunctionverifyPayload
(e *Exchange, signature *Signature)
go/signedexchange/verifier.go:354
↓ 1 callersFunctionverifySignature
verifySignature verifies single signature, as described in https://wicg.github.io/webpackage/draft-yasskin-http-origin-signed-responses.html#signature
go/signedexchange/verifier.go:282
↓ 1 callersMethodverifySignature
@deprecated Moved to utils
js/sign/src/signers/integrity-block-signer.ts:147
↓ 1 callersFunctionverifyTimestamps
(sig *Signature, verificationTime time.Time)
go/signedexchange/verifier.go:339
↓ 1 callersFunctionverifyVouchedSubset
(vs *bundle.VouchedSubset, authorities []*certurl.AugmentedCertificate, verificationTime time.Time, ver versio
go/bundle/signature/verifier.go:107
↓ 1 callersFunctionwriteBundleToFile
(b *bundle.Bundle, path string)
go/bundle/cmd/sign-bundle/signedexchange.go:45
↓ 1 callersFunctionwriteFooter
(w io.Writer, offset int)
go/bundle/encoder.go:542
↓ 1 callersFunctionwriteOutput
(bundleFile io.ReadSeeker, integrityBlockBytes []byte, originalIntegrityBlockOffset int64, signedBundleFile *o
go/bundle/cmd/sign-bundle/integrityblock.go:17
↓ 1 callersFunctionwritePrimaryURL
(w io.Writer, url *url.URL)
go/bundle/encoder.go:508
↓ 1 callersFunctionwriteSectionHeader
(w io.Writer, numSections int)
go/bundle/encoder.go:537
↓ 1 callersFunctionwriteSectionOffsets
https://wicg.github.io/webpackage/draft-yasskin-dispatch-bundled-exchanges.html#load-metadata Steps 3-7.
go/bundle/encoder.go:515
FunctionDefaultCertFetcher
DefaultCertFetcher fetches certificates using http.Get.
go/signedexchange/verifier.go:70
MethodGetPublicKey
()
go/integrityblock/parsed-ed25519-key-signing-strategy.go:23
MethodHeader
()
go/bundle/cmd/gen-bundle/fromdir.go:80
MethodLen
()
go/bundle/encoder.go:363
MethodLen
()
go/bundle/encoder.go:418
MethodName
()
go/bundle/encoder.go:359
MethodName
()
go/bundle/encoder.go:417
MethodName
()
go/bundle/encoder.go:427
MethodName
()
go/bundle/encoder.go:442
MethodName
()
go/bundle/encoder.go:457
MethodReadFrom
(r io.Reader)
go/bundle/countingwriter.go:29
MethodSet
(value string)
go/signedexchange/cmd/dump-signedexchange/main.go:30
MethodSign
(data []byte)
go/integrityblock/parsed-ed25519-key-signing-strategy.go:19
MethodSign
Sign returns the SHA-256 hash of the input.
go/internal/signingalgorithm/signingalgorithm.go:23
MethodSign
(m []byte)
go/internal/signingalgorithm/signingalgorithm.go:39
MethodString
()
go/signedexchange/structuredheader/writer.go:21
FunctionTestAddNewSignatureToIntegrityBlock
(t *testing.T)
go/integrityblock/integrityblock_test.go:34
FunctionTestAdditionalInfoConversion
(t *testing.T)
go/internal/cbor/deterministic_test.go:114
FunctionTestArrayContainsNonDeterministicCbor
(t *testing.T)
go/internal/cbor/deterministic_test.go:228
FunctionTestArrayIsDeterministic
(t *testing.T)
go/internal/cbor/deterministic_test.go:181
FunctionTestArraysNumberOfItemsIsWrong
(t *testing.T)
go/internal/cbor/deterministic_test.go:220
FunctionTestB2BundleWithSpecifiedManifestURLShouldFail
(t *testing.T)
go/bundle/bundle_test.go:153
FunctionTestByteStringIsDeterministic
(t *testing.T)
go/internal/cbor/deterministic_test.go:137
FunctionTestByteStringIsNotDeterministic
(t *testing.T)
go/internal/cbor/deterministic_test.go:172
FunctionTestCanSignForURL
(t *testing.T)
go/bundle/signature/signer_test.go:88
FunctionTestCborBytesForSignatureAttributesMap
(t *testing.T)
go/integrityblock/integrityblock_test.go:140
FunctionTestComputeWebBundleSha512
(t *testing.T)
go/integrityblock/integrityblock_test.go:83
FunctionTestCreateOCSPRequestLarge
(t *testing.T)
go/signedexchange/certurl/ocsp_test.go:40
FunctionTestCreateOCSPRequestSmall
(t *testing.T)
go/signedexchange/certurl/ocsp_test.go:12
FunctionTestDecode3BytesUint
(t *testing.T)
go/signedexchange/internal/bigendian/bigendianint_test.go:38
FunctionTestDecodeBadDigestHeader
(t *testing.T)
go/signedexchange/mice/mice_test.go:356
FunctionTestDecodeByteString
(t *testing.T)
go/internal/cbor/decoder_test.go:10
FunctionTestDecodeByteStringNotCrashing
(t *testing.T)
go/internal/cbor/decoder_test.go:52
FunctionTestDecodeEmptyDraft02
(t *testing.T)
go/signedexchange/mice/mice_test.go:272
FunctionTestDecodeEmptyDraft03
(t *testing.T)
go/signedexchange/mice/mice_test.go:281
FunctionTestDecodeEmptyDraft03WrongHash
(t *testing.T)
go/signedexchange/mice/mice_test.go:294
FunctionTestDecodeMultipleRecords
https://martinthomson.github.io/http-mice/draft-thomson-http-mice.html#rfc.section.4.2
go/signedexchange/mice/mice_test.go:398
FunctionTestDecodeMultipleRecordsWrongLastRecordHash
(t *testing.T)
go/signedexchange/mice/mice_test.go:419
FunctionTestDecodeRecordSizeOnlyDraft02
(t *testing.T)
go/signedexchange/mice/mice_test.go:303
FunctionTestDecodeRecordSizeOnlyDraft02WrongHash
(t *testing.T)
go/signedexchange/mice/mice_test.go:316
FunctionTestDecodeRecordSizeOnlyDraft03
(t *testing.T)
go/signedexchange/mice/mice_test.go:325
FunctionTestDecodeRecordSizeTooBig
(t *testing.T)
go/signedexchange/mice/mice_test.go:345
FunctionTestDecodeRecordSizeZero
(t *testing.T)
go/signedexchange/mice/mice_test.go:334
FunctionTestDecodeSinglRecord
https://martinthomson.github.io/http-mice/draft-thomson-http-mice.html#rfc.section.4.1
go/signedexchange/mice/mice_test.go:370
FunctionTestDecodeSinglRecordWrongHash
(t *testing.T)
go/signedexchange/mice/mice_test.go:385
FunctionTestEmptyArrayIsDeterministic
(t *testing.T)
go/internal/cbor/deterministic_test.go:192
FunctionTestEmptyByteArrayIsDeterministic
(t *testing.T)
go/internal/cbor/deterministic_test.go:82
FunctionTestEmptyIntegrityBlock
(t *testing.T)
go/integrityblock/integrityblock_test.go:15
FunctionTestEncodeByteString
(t *testing.T)
go/internal/cbor/encoder_test.go:59
FunctionTestEncodeBytesUint
(t *testing.T)
go/signedexchange/internal/bigendian/bigendianint_test.go:10
FunctionTestEncodeEmptyDraft02
(t *testing.T)
go/signedexchange/mice/mice_test.go:19
FunctionTestEncodeEmptyDraft03
(t *testing.T)
go/signedexchange/mice/mice_test.go:38
FunctionTestEncodeInt
(t *testing.T)
go/internal/cbor/encoder_test.go:21
FunctionTestEncodeMapWithDuplicatedKeys
(t *testing.T)
go/internal/cbor/encoder_test.go:125
FunctionTestEncodeMultipleRecordsDraft02
https://tools.ietf.org/html/draft-thomson-http-mice-02#section-4.2
go/signedexchange/mice/mice_test.go:116
FunctionTestEncodeMultipleRecordsDraft03
https://tools.ietf.org/html/draft-thomson-http-mice-03#section-4.2
go/signedexchange/mice/mice_test.go:178
FunctionTestEncodeSingleRecordDraft02
https://tools.ietf.org/html/draft-thomson-http-mice-02#section-4.1
go/signedexchange/mice/mice_test.go:58
FunctionTestEncodeSingleRecordDraft03
https://tools.ietf.org/html/draft-thomson-http-mice-03#section-4.1
go/signedexchange/mice/mice_test.go:79
FunctionTestEncodeTextString
(t *testing.T)
go/internal/cbor/encoder_test.go:89
FunctionTestExchangeNotCoveredBySignature
(t *testing.T)
go/bundle/signature/verifier_test.go:91
FunctionTestGenerateDataToBeSigned
(t *testing.T)
go/integrityblock/integrityblock_test.go:104
FunctionTestGetUnsignedIntegerValue
(t *testing.T)
go/internal/cbor/deterministic_test.go:104
FunctionTestGetWebBundleId
(t *testing.T)
go/integrityblock/webbundleid/web-bundle-id_test.go:10
FunctionTestIndexSectionMultipleResourcesPerURL
(t *testing.T)
go/bundle/encoder_test.go:102
FunctionTestIndexSectionWithVariants
(t *testing.T)
go/bundle/encoder_test.go:59
FunctionTestIntegrityBlockGeneratedWithTheToolIsDeterministic
(t *testing.T)
go/integrityblock/integrityblock_test.go:160
FunctionTestIntegritySignature
(t *testing.T)
go/integrityblock/integrityblock_test.go:57
FunctionTestIsCacheable
(t *testing.T)
go/signedexchange/signedexchange_test.go:403
FunctionTestLongArrayIsDeterministic
(t *testing.T)
go/internal/cbor/deterministic_test.go:198
FunctionTestLongTextAndByteStringIsDeterministic
(t *testing.T)
go/internal/cbor/deterministic_test.go:148
FunctionTestMapEncoder
(t *testing.T)
go/internal/cbor/encoder_test.go:144
FunctionTestMapIsDeterministic
(t *testing.T)
go/internal/cbor/deterministic_test.go:235
FunctionTestMapWithDuplicateKeysIsNotDeterministic
(t *testing.T)
go/internal/cbor/deterministic_test.go:248
FunctionTestMapWithDuplicateNotSequentialKeysIsNotDeterministic
(t *testing.T)
go/internal/cbor/deterministic_test.go:269
FunctionTestMapWithUnorderedKeysIsNotDeterministic
(t *testing.T)
go/internal/cbor/deterministic_test.go:257
FunctionTestMapsNumberOfItemsIsWrong
(t *testing.T)
go/internal/cbor/deterministic_test.go:279
FunctionTestParseByteSequence
(t *testing.T)
go/signedexchange/structuredheader/parser_test.go:163
FunctionTestParseItem
(t *testing.T)
go/signedexchange/structuredheader/parser_test.go:200
FunctionTestParseKey
(t *testing.T)
go/signedexchange/structuredheader/parser_test.go:91
FunctionTestParseListOfLists
(t *testing.T)
go/signedexchange/structuredheader/parser_test.go:266
FunctionTestParseNumber
(t *testing.T)
go/signedexchange/structuredheader/parser_test.go:9
FunctionTestParsePEM
(t *testing.T)
go/signedexchange/certurl/certchain_test.go:29
FunctionTestParseParameterisedIdentifier
(t *testing.T)
go/signedexchange/structuredheader/parser_test.go:231
FunctionTestParseParameterisedList
(t *testing.T)
go/signedexchange/structuredheader/parser_test.go:297
FunctionTestParseString
(t *testing.T)
go/signedexchange/structuredheader/parser_test.go:51
← previousnext →401–500 of 591, ranked by callers