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
updateIndexValues
(responsesHeaderSize: number)
js/bundle/src/encoder.ts:24
↓ 1 callers
Function
validateOptions
(options: any)
js/bundle/src/cli.ts:108
↓ 1 callers
Function
verify
(e *signedexchange.Exchange, certFetcher signedexchange.CertFetcher, verificationTime time.Time)
go/signedexchange/cmd/dump-signedexchange/main.go:181
↓ 1 callers
Function
verifyHeaders
(e *Exchange)
go/signedexchange/verifier.go:379
↓ 1 callers
Function
verifyPayload
(e *Exchange, signature *Signature)
go/signedexchange/verifier.go:354
↓ 1 callers
Function
verifySignature
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 callers
Method
verifySignature
@deprecated Moved to utils
js/sign/src/signers/integrity-block-signer.ts:147
↓ 1 callers
Function
verifyTimestamps
(sig *Signature, verificationTime time.Time)
go/signedexchange/verifier.go:339
↓ 1 callers
Function
verifyVouchedSubset
(vs *bundle.VouchedSubset, authorities []*certurl.AugmentedCertificate, verificationTime time.Time, ver versio
go/bundle/signature/verifier.go:107
↓ 1 callers
Function
writeBundleToFile
(b *bundle.Bundle, path string)
go/bundle/cmd/sign-bundle/signedexchange.go:45
↓ 1 callers
Function
writeFooter
(w io.Writer, offset int)
go/bundle/encoder.go:542
↓ 1 callers
Function
writeOutput
(bundleFile io.ReadSeeker, integrityBlockBytes []byte, originalIntegrityBlockOffset int64, signedBundleFile *o
go/bundle/cmd/sign-bundle/integrityblock.go:17
↓ 1 callers
Function
writePrimaryURL
(w io.Writer, url *url.URL)
go/bundle/encoder.go:508
↓ 1 callers
Function
writeSectionHeader
(w io.Writer, numSections int)
go/bundle/encoder.go:537
↓ 1 callers
Function
writeSectionOffsets
https://wicg.github.io/webpackage/draft-yasskin-dispatch-bundled-exchanges.html#load-metadata Steps 3-7.
go/bundle/encoder.go:515
Function
DefaultCertFetcher
DefaultCertFetcher fetches certificates using http.Get.
go/signedexchange/verifier.go:70
Method
GetPublicKey
()
go/integrityblock/parsed-ed25519-key-signing-strategy.go:23
Method
Header
()
go/bundle/cmd/gen-bundle/fromdir.go:80
Method
Len
()
go/bundle/encoder.go:363
Method
Len
()
go/bundle/encoder.go:418
Method
Name
()
go/bundle/encoder.go:359
Method
Name
()
go/bundle/encoder.go:417
Method
Name
()
go/bundle/encoder.go:427
Method
Name
()
go/bundle/encoder.go:442
Method
Name
()
go/bundle/encoder.go:457
Method
ReadFrom
(r io.Reader)
go/bundle/countingwriter.go:29
Method
Set
(value string)
go/signedexchange/cmd/dump-signedexchange/main.go:30
Method
Sign
(data []byte)
go/integrityblock/parsed-ed25519-key-signing-strategy.go:19
Method
Sign
Sign returns the SHA-256 hash of the input.
go/internal/signingalgorithm/signingalgorithm.go:23
Method
Sign
(m []byte)
go/internal/signingalgorithm/signingalgorithm.go:39
Method
String
()
go/signedexchange/structuredheader/writer.go:21
Function
TestAddNewSignatureToIntegrityBlock
(t *testing.T)
go/integrityblock/integrityblock_test.go:34
Function
TestAdditionalInfoConversion
(t *testing.T)
go/internal/cbor/deterministic_test.go:114
Function
TestArrayContainsNonDeterministicCbor
(t *testing.T)
go/internal/cbor/deterministic_test.go:228
Function
TestArrayIsDeterministic
(t *testing.T)
go/internal/cbor/deterministic_test.go:181
Function
TestArraysNumberOfItemsIsWrong
(t *testing.T)
go/internal/cbor/deterministic_test.go:220
Function
TestB2BundleWithSpecifiedManifestURLShouldFail
(t *testing.T)
go/bundle/bundle_test.go:153
Function
TestByteStringIsDeterministic
(t *testing.T)
go/internal/cbor/deterministic_test.go:137
Function
TestByteStringIsNotDeterministic
(t *testing.T)
go/internal/cbor/deterministic_test.go:172
Function
TestCanSignForURL
(t *testing.T)
go/bundle/signature/signer_test.go:88
Function
TestCborBytesForSignatureAttributesMap
(t *testing.T)
go/integrityblock/integrityblock_test.go:140
Function
TestComputeWebBundleSha512
(t *testing.T)
go/integrityblock/integrityblock_test.go:83
Function
TestCreateOCSPRequestLarge
(t *testing.T)
go/signedexchange/certurl/ocsp_test.go:40
Function
TestCreateOCSPRequestSmall
(t *testing.T)
go/signedexchange/certurl/ocsp_test.go:12
Function
TestDecode3BytesUint
(t *testing.T)
go/signedexchange/internal/bigendian/bigendianint_test.go:38
Function
TestDecodeBadDigestHeader
(t *testing.T)
go/signedexchange/mice/mice_test.go:356
Function
TestDecodeByteString
(t *testing.T)
go/internal/cbor/decoder_test.go:10
Function
TestDecodeByteStringNotCrashing
(t *testing.T)
go/internal/cbor/decoder_test.go:52
Function
TestDecodeEmptyDraft02
(t *testing.T)
go/signedexchange/mice/mice_test.go:272
Function
TestDecodeEmptyDraft03
(t *testing.T)
go/signedexchange/mice/mice_test.go:281
Function
TestDecodeEmptyDraft03WrongHash
(t *testing.T)
go/signedexchange/mice/mice_test.go:294
Function
TestDecodeMultipleRecords
https://martinthomson.github.io/http-mice/draft-thomson-http-mice.html#rfc.section.4.2
go/signedexchange/mice/mice_test.go:398
Function
TestDecodeMultipleRecordsWrongLastRecordHash
(t *testing.T)
go/signedexchange/mice/mice_test.go:419
Function
TestDecodeRecordSizeOnlyDraft02
(t *testing.T)
go/signedexchange/mice/mice_test.go:303
Function
TestDecodeRecordSizeOnlyDraft02WrongHash
(t *testing.T)
go/signedexchange/mice/mice_test.go:316
Function
TestDecodeRecordSizeOnlyDraft03
(t *testing.T)
go/signedexchange/mice/mice_test.go:325
Function
TestDecodeRecordSizeTooBig
(t *testing.T)
go/signedexchange/mice/mice_test.go:345
Function
TestDecodeRecordSizeZero
(t *testing.T)
go/signedexchange/mice/mice_test.go:334
Function
TestDecodeSinglRecord
https://martinthomson.github.io/http-mice/draft-thomson-http-mice.html#rfc.section.4.1
go/signedexchange/mice/mice_test.go:370
Function
TestDecodeSinglRecordWrongHash
(t *testing.T)
go/signedexchange/mice/mice_test.go:385
Function
TestEmptyArrayIsDeterministic
(t *testing.T)
go/internal/cbor/deterministic_test.go:192
Function
TestEmptyByteArrayIsDeterministic
(t *testing.T)
go/internal/cbor/deterministic_test.go:82
Function
TestEmptyIntegrityBlock
(t *testing.T)
go/integrityblock/integrityblock_test.go:15
Function
TestEncodeByteString
(t *testing.T)
go/internal/cbor/encoder_test.go:59
Function
TestEncodeBytesUint
(t *testing.T)
go/signedexchange/internal/bigendian/bigendianint_test.go:10
Function
TestEncodeEmptyDraft02
(t *testing.T)
go/signedexchange/mice/mice_test.go:19
Function
TestEncodeEmptyDraft03
(t *testing.T)
go/signedexchange/mice/mice_test.go:38
Function
TestEncodeInt
(t *testing.T)
go/internal/cbor/encoder_test.go:21
Function
TestEncodeMapWithDuplicatedKeys
(t *testing.T)
go/internal/cbor/encoder_test.go:125
Function
TestEncodeMultipleRecordsDraft02
https://tools.ietf.org/html/draft-thomson-http-mice-02#section-4.2
go/signedexchange/mice/mice_test.go:116
Function
TestEncodeMultipleRecordsDraft03
https://tools.ietf.org/html/draft-thomson-http-mice-03#section-4.2
go/signedexchange/mice/mice_test.go:178
Function
TestEncodeSingleRecordDraft02
https://tools.ietf.org/html/draft-thomson-http-mice-02#section-4.1
go/signedexchange/mice/mice_test.go:58
Function
TestEncodeSingleRecordDraft03
https://tools.ietf.org/html/draft-thomson-http-mice-03#section-4.1
go/signedexchange/mice/mice_test.go:79
Function
TestEncodeTextString
(t *testing.T)
go/internal/cbor/encoder_test.go:89
Function
TestExchangeNotCoveredBySignature
(t *testing.T)
go/bundle/signature/verifier_test.go:91
Function
TestGenerateDataToBeSigned
(t *testing.T)
go/integrityblock/integrityblock_test.go:104
Function
TestGetUnsignedIntegerValue
(t *testing.T)
go/internal/cbor/deterministic_test.go:104
Function
TestGetWebBundleId
(t *testing.T)
go/integrityblock/webbundleid/web-bundle-id_test.go:10
Function
TestIndexSectionMultipleResourcesPerURL
(t *testing.T)
go/bundle/encoder_test.go:102
Function
TestIndexSectionWithVariants
(t *testing.T)
go/bundle/encoder_test.go:59
Function
TestIntegrityBlockGeneratedWithTheToolIsDeterministic
(t *testing.T)
go/integrityblock/integrityblock_test.go:160
Function
TestIntegritySignature
(t *testing.T)
go/integrityblock/integrityblock_test.go:57
Function
TestIsCacheable
(t *testing.T)
go/signedexchange/signedexchange_test.go:403
Function
TestLongArrayIsDeterministic
(t *testing.T)
go/internal/cbor/deterministic_test.go:198
Function
TestLongTextAndByteStringIsDeterministic
(t *testing.T)
go/internal/cbor/deterministic_test.go:148
Function
TestMapEncoder
(t *testing.T)
go/internal/cbor/encoder_test.go:144
Function
TestMapIsDeterministic
(t *testing.T)
go/internal/cbor/deterministic_test.go:235
Function
TestMapWithDuplicateKeysIsNotDeterministic
(t *testing.T)
go/internal/cbor/deterministic_test.go:248
Function
TestMapWithDuplicateNotSequentialKeysIsNotDeterministic
(t *testing.T)
go/internal/cbor/deterministic_test.go:269
Function
TestMapWithUnorderedKeysIsNotDeterministic
(t *testing.T)
go/internal/cbor/deterministic_test.go:257
Function
TestMapsNumberOfItemsIsWrong
(t *testing.T)
go/internal/cbor/deterministic_test.go:279
Function
TestParseByteSequence
(t *testing.T)
go/signedexchange/structuredheader/parser_test.go:163
Function
TestParseItem
(t *testing.T)
go/signedexchange/structuredheader/parser_test.go:200
Function
TestParseKey
(t *testing.T)
go/signedexchange/structuredheader/parser_test.go:91
Function
TestParseListOfLists
(t *testing.T)
go/signedexchange/structuredheader/parser_test.go:266
Function
TestParseNumber
(t *testing.T)
go/signedexchange/structuredheader/parser_test.go:9
Function
TestParsePEM
(t *testing.T)
go/signedexchange/certurl/certchain_test.go:29
Function
TestParseParameterisedIdentifier
(t *testing.T)
go/signedexchange/structuredheader/parser_test.go:231
Function
TestParseParameterisedList
(t *testing.T)
go/signedexchange/structuredheader/parser_test.go:297
Function
TestParseString
(t *testing.T)
go/signedexchange/structuredheader/parser_test.go:51
← previous
next →
401–500 of 591, ranked by callers