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
↓ 43 callers
Method
EncodeTextString
(s string)
go/internal/cbor/encoder.go:115
↓ 37 callers
Method
addExchange
( url: string, status: number, headers: Headers, payload: Uint8Array | string )
js/bundle/src/encoder.ts:57
↓ 36 callers
Function
GenerateMapEntry
(f func(keyE *Encoder, valueE *Encoder))
go/internal/cbor/encoder.go:194
↓ 33 callers
Method
EncodeByteString
(bs []byte)
go/internal/cbor/encoder.go:100
↓ 29 callers
Function
NewEncoder
(w io.Writer)
go/internal/cbor/encoder.go:20
↓ 28 callers
Method
String
()
go/bundle/cmd/gen-bundle/main.go:17
↓ 26 callers
Function
multiappend
(inputs ...[]byte)
go/internal/cbor/deterministic_test.go:322
↓ 25 callers
Method
Write
Write generates a certificate chain of application/cert-chain+cbor format and writes to w.
go/signedexchange/certurl/certchain.go:65
↓ 24 callers
Method
createBundle
()
js/bundle/src/encoder.ts:42
↓ 23 callers
Function
Deterministic
Deterministic function loops through the given byte array containing CBOR sequence and checks that they follow the deterministic principles described
go/internal/cbor/deterministic.go:13
↓ 23 callers
Method
Write
(p []byte)
go/bundle/countingwriter.go:23
↓ 23 callers
Function
toCborHeader
(majorType Type, ainfoValue int)
go/internal/cbor/deterministic_test.go:337
↓ 22 callers
Method
setPrimaryURL
(url: string)
js/bundle/src/encoder.ts:21
↓ 20 callers
Method
String
()
go/signedexchange/cmd/gen-signedexchange/main.go:24
↓ 18 callers
Method
DecodeByteString
()
go/internal/cbor/decoder.go:117
↓ 17 callers
Method
EncodeArrayHeader
(n int)
go/internal/cbor/encoder.go:139
↓ 17 callers
Function
createTestExchange
(ver version.Version, t *testing.T)
go/signedexchange/signedexchange_test.go:208
↓ 16 callers
Method
toCbor
()
js/sign/src/core/integrity-block.ts:161
↓ 14 callers
Method
AddSignatureHeader
(s *Signer)
go/signedexchange/signedexchange.go:73
↓ 14 callers
Function
EncodeBytesUint
(n int64, size int)
go/signedexchange/internal/bigendian/bigendianint.go:9
↓ 14 callers
Method
Len
()
go/bundle/encoder.go:88
↓ 14 callers
Function
NewDecoder
(r io.Reader)
go/internal/cbor/decoder.go:14
↓ 14 callers
Method
isEmpty
()
go/signedexchange/structuredheader/parser.go:49
↓ 14 callers
Function
testForEachVersion
(t *testing.T, testFunc func(ver version.Version, t *testing.T))
go/signedexchange/signedexchange_test.go:58
↓ 13 callers
Method
DecodeTextString
()
go/internal/cbor/decoder.go:106
↓ 13 callers
Method
EncodeMap
(mes []*MapEntryEncoder)
go/internal/cbor/encoder.go:200
↓ 12 callers
Method
Verify
(msg, sig []byte)
go/internal/signingalgorithm/signingalgorithm.go:65
↓ 12 callers
Method
Write
(w io.Writer)
go/signedexchange/signedexchange.go:254
↓ 12 callers
Method
setWebBundleId
(webBundleId: string)
js/sign/src/core/integrity-block.ts:140
↓ 11 callers
Method
addIntegritySignature
(is: IntegritySignature)
js/sign/src/core/integrity-block.ts:144
↓ 10 callers
Function
CborBinaryToReadableString
CborBinaryToReadableString converts a CBOR binary to a readable string.
go/internal/testhelper/cbor.go:48
↓ 10 callers
Method
DecodeArrayHeader
()
go/internal/cbor/decoder.go:86
↓ 10 callers
Method
DecodeUint
()
go/internal/cbor/decoder.go:82
↓ 10 callers
Method
EncodeInt
(n int64)
go/internal/cbor/encoder.go:74
↓ 10 callers
Function
ParseCertificates
(text []byte)
go/internal/signingalgorithm/certs.go:17
↓ 10 callers
Method
String
()
go/signedexchange/structuredheader/writer.go:13
↓ 10 callers
Function
convertToAdditionalInfo
(b byte)
go/internal/cbor/addinfo.go:29
↓ 10 callers
Method
discardLeadingOWS
()
go/signedexchange/structuredheader/parser.go:45
↓ 10 callers
Method
fromWebBundle
( webBundle: Uint8Array, signingStrategies: Array<ISigningStrategy>, options?: { webBundleId?: str
js/sign/src/core/signed-web-bundle.ts:45
↓ 10 callers
Function
newInputBuilder
(recordSize uint64)
go/signedexchange/mice/mice_test.go:256
↓ 9 callers
Method
CborBytes
CborBytes returns the CBOR encoded bytes of the integrity block.
go/integrityblock/integrityblock.go:70
↓ 9 callers
Method
DecodeMapHeader
()
go/internal/cbor/decoder.go:90
↓ 9 callers
Function
ParsePrivateKey
(text []byte)
go/internal/signingalgorithm/certs.go:40
↓ 9 callers
Method
fromCbor
(integrityBlockBytes: Uint8Array)
js/sign/src/core/integrity-block.ts:31
↓ 9 callers
Method
getResponse
(url: string)
js/bundle/src/decoder.ts:20
↓ 9 callers
Method
serialize
()
js/sign/src/web-bundle-id.ts:50
↓ 9 callers
Method
toString
()
js/sign/src/web-bundle-id.ts:62
↓ 9 callers
Function
verificationShouldFail
(t *testing.T, e *Exchange, certBytes []byte, verificationTime time.Time)
go/signedexchange/signedexchange_test.go:256
↓ 8 callers
Method
Encode
Encode encodes content of buf and writes to w. Encode returns Digest header value (or MI header value in draft 02), and error if one exists.
go/signedexchange/mice/mice.go:72
↓ 8 callers
Function
NewVerifier
NewVerifier checks the validity of the signatures in sigs at verificationTime, and returns a Verifier that can be used to verify responses in the bund
go/bundle/signature/verifier.go:37
↓ 8 callers
Method
WriteTo
(w io.Writer)
go/bundle/encoder.go:562
↓ 8 callers
Method
addSection
(name: string, content: CBORValue)
js/bundle/src/encoder.ts:82
↓ 8 callers
Function
asArray
(x: unknown)
js/bundle/src/decoder.ts:239
↓ 8 callers
Method
consumeChar
(c byte)
go/signedexchange/structuredheader/parser.go:65
↓ 8 callers
Function
decodeAll
(enc Encoding, input, proof []byte)
go/signedexchange/mice/mice_test.go:244
↓ 8 callers
Method
message
(msg []byte)
go/signedexchange/mice/mice_test.go:262
↓ 7 callers
Method
IsCacheable
IsCacheable returns true if Exchange is cacheable by a shared cache (Section 3 of [RFC7234]).
go/signedexchange/verifier.go:176
↓ 7 callers
Function
byteString
(s: string)
js/bundle/src/encoder.ts:280
↓ 7 callers
Function
createTestSignedBundle
(t *testing.T)
go/bundle/signature/verifier_test.go:13
↓ 7 callers
Function
generateEmptyIntegrityBlock
generateEmptyIntegrityBlock creates an empty integrity block which does not have any integrity signatures in the signature stack yet.
go/integrityblock/integrityblock.go:100
↓ 7 callers
Function
greenConsoleLog
(text: string)
js/sign/src/utils/cli-utils.ts:79
↓ 7 callers
Function
mustStdEncodeBase64
(s string)
go/signedexchange/mice/mice_test.go:107
↓ 7 callers
Function
urlMustParse
(rawurl string)
go/bundle/signature/signer_test.go:51
↓ 6 callers
Method
DigestHeaderName
DigestHeaderName returns the name of HTTP header that carries integrity proofs.
go/signedexchange/mice/mice.go:35
↓ 6 callers
Method
EncodeUint
(n uint64)
go/internal/cbor/encoder.go:70
↓ 6 callers
Method
NewDecoder
NewDecoder creates a new http-mice stream decoder. It reads first few bytes from r to determine the record size, and fails if the record size exceeds
go/signedexchange/mice/mice.go:167
↓ 6 callers
Method
addExchange
(e *Exchange, offset, length int)
go/bundle/encoder.go:98
↓ 6 callers
Method
encodeTypedUint
(t Type, n uint64)
go/internal/cbor/encoder.go:24
↓ 6 callers
Method
getAdditionalInfoLength
getAdditionalInfoLength returns the length of the byte array following the additional info byte to read the unsigned integer from.
go/internal/cbor/addinfo.go:54
↓ 6 callers
Function
initSignerWithTestWebBundleAndKeys
( privateKeys, webBundleId = undefined )
js/sign/tests/integrity-block-signer_test.js:64
↓ 6 callers
Method
setManifestURL
(url: string)
js/bundle/src/encoder.ts:22
↓ 6 callers
Method
sign
(data: Uint8Array)
js/sign/src/signers/signing-strategy-interface.ts:4
↓ 5 callers
Method
HeaderMagicBytes
()
go/signedexchange/version/version.go:38
↓ 5 callers
Function
NewCertChain
"📜⛓" NewCertChain creates a new CertChain from a list of X.509 certificates, an OCSP response, and a SCT.
go/signedexchange/certurl/certchain.go:33
↓ 5 callers
Method
Read
(dst []byte)
go/signedexchange/mice/mice.go:200
↓ 5 callers
Method
String
()
go/bundle/encoder.go:82
↓ 5 callers
Method
String
()
go/signedexchange/cmd/dump-signedexchange/main.go:26
↓ 5 callers
Method
VerifyExchange
VerifyExchange verifies a bundled response. If successfully verified, returns a VerifyExchangeResult. If verification failed, returns an error. If e i
go/bundle/signature/verifier.go:59
↓ 5 callers
Function
asString
(x: unknown)
js/bundle/src/decoder.ts:260
↓ 5 callers
Function
bytesToCborAndToReadableStringHelper
(bts []byte)
go/integrityblock/integrityblock_test.go:334
↓ 5 callers
Function
bytestringToString
(bstr: unknown)
js/bundle/src/decoder.ts:274
↓ 5 callers
Method
calcWebBundleHash
@deprecated This method will not be supported in a future release.
js/sign/src/signers/integrity-block-signer.ts:142
↓ 5 callers
Function
createDecoder
(enc Encoding, input, proof []byte)
go/signedexchange/mice/mice_test.go:239
↓ 5 callers
Method
fromBytes
(signedWebBundle: Uint8Array)
js/sign/src/core/signed-web-bundle.ts:29
↓ 5 callers
Function
getRawPublicKey
(publicKey: crypto.KeyObject)
js/sign/src/utils/utils.ts:87
↓ 5 callers
Function
isDigit
(c byte)
go/signedexchange/structuredheader/parser.go:316
↓ 4 callers
Method
CertSha256
CertSha256 returns SHA-256 hash of the DER-encoded X.509v3 certificate.
go/signedexchange/certurl/certchain.go:114
↓ 4 callers
Function
ComputeWebBundleSha512
ComputeWebBundleSha512 computes the SHA-512 hash over the given web bundle file.
go/integrityblock/integrityblock.go:168
↓ 4 callers
Method
ContentEncoding
ContentEncoding returns content encoding name of the Encoding.
go/signedexchange/mice/mice.go:30
↓ 4 callers
Method
DumpExchangeHeaders
(w io.Writer)
go/signedexchange/signedexchange.go:228
↓ 4 callers
Method
FormatDigestHeader
(topLevelProof []byte)
go/signedexchange/mice/mice.go:55
↓ 4 callers
Function
GenerateSignatureAttributesWithPublicKey
GenerateSignatureAttributesWithPublicKey generates the basis for the map for signature attributes containing the public key.
go/integrityblock/integrityblock.go:205
↓ 4 callers
Function
GetWebBundleId
GetWebBundleId returns a base32-encoded (without padding) ed25519 public key combined with a 3-byte long suffix and transformed to lowercase. More inf
go/integrityblock/webbundleid/web-bundle-id.go:14
↓ 4 callers
Method
HasPrimaryURLFieldInHeader
()
go/bundle/version/version.go:106
↓ 4 callers
Method
IntegrityIdentifier
IntegrityIdentifier returns an identifier for Signed Exchange signature's "integrity" parameter when the exchange's payload is guarded by this encodin
go/signedexchange/mice/mice.go:44
↓ 4 callers
Method
KeyBytes
()
go/internal/cbor/encoder.go:190
↓ 4 callers
Method
MiEncodePayload
(recordSize int)
go/signedexchange/signedexchange.go:56
↓ 4 callers
Function
NewExchange
(ver version.Version, uri string, method string, requestHeaders http.Header, status int, responseHeaders http.
go/signedexchange/signedexchange.go:44
↓ 4 callers
Function
Read
(r io.Reader)
go/bundle/decoder.go:629
↓ 4 callers
Function
ReadCertChain
ReadCertChain parses the application/cert-chain+cbor format.
go/signedexchange/certurl/certchain.go:126
next →
1–100 of 591, ranked by callers