MCPcopy Create free account

hub / github.com/WICG/webpackage / functions

Functions591 in github.com/WICG/webpackage

↓ 43 callersMethodEncodeTextString
(s string)
go/internal/cbor/encoder.go:115
↓ 37 callersMethodaddExchange
( url: string, status: number, headers: Headers, payload: Uint8Array | string )
js/bundle/src/encoder.ts:57
↓ 36 callersFunctionGenerateMapEntry
(f func(keyE *Encoder, valueE *Encoder))
go/internal/cbor/encoder.go:194
↓ 33 callersMethodEncodeByteString
(bs []byte)
go/internal/cbor/encoder.go:100
↓ 29 callersFunctionNewEncoder
(w io.Writer)
go/internal/cbor/encoder.go:20
↓ 28 callersMethodString
()
go/bundle/cmd/gen-bundle/main.go:17
↓ 26 callersFunctionmultiappend
(inputs ...[]byte)
go/internal/cbor/deterministic_test.go:322
↓ 25 callersMethodWrite
Write generates a certificate chain of application/cert-chain+cbor format and writes to w.
go/signedexchange/certurl/certchain.go:65
↓ 24 callersMethodcreateBundle
()
js/bundle/src/encoder.ts:42
↓ 23 callersFunctionDeterministic
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 callersMethodWrite
(p []byte)
go/bundle/countingwriter.go:23
↓ 23 callersFunctiontoCborHeader
(majorType Type, ainfoValue int)
go/internal/cbor/deterministic_test.go:337
↓ 22 callersMethodsetPrimaryURL
(url: string)
js/bundle/src/encoder.ts:21
↓ 20 callersMethodString
()
go/signedexchange/cmd/gen-signedexchange/main.go:24
↓ 18 callersMethodDecodeByteString
()
go/internal/cbor/decoder.go:117
↓ 17 callersMethodEncodeArrayHeader
(n int)
go/internal/cbor/encoder.go:139
↓ 17 callersFunctioncreateTestExchange
(ver version.Version, t *testing.T)
go/signedexchange/signedexchange_test.go:208
↓ 16 callersMethodtoCbor
()
js/sign/src/core/integrity-block.ts:161
↓ 14 callersMethodAddSignatureHeader
(s *Signer)
go/signedexchange/signedexchange.go:73
↓ 14 callersFunctionEncodeBytesUint
(n int64, size int)
go/signedexchange/internal/bigendian/bigendianint.go:9
↓ 14 callersMethodLen
()
go/bundle/encoder.go:88
↓ 14 callersFunctionNewDecoder
(r io.Reader)
go/internal/cbor/decoder.go:14
↓ 14 callersMethodisEmpty
()
go/signedexchange/structuredheader/parser.go:49
↓ 14 callersFunctiontestForEachVersion
(t *testing.T, testFunc func(ver version.Version, t *testing.T))
go/signedexchange/signedexchange_test.go:58
↓ 13 callersMethodDecodeTextString
()
go/internal/cbor/decoder.go:106
↓ 13 callersMethodEncodeMap
(mes []*MapEntryEncoder)
go/internal/cbor/encoder.go:200
↓ 12 callersMethodVerify
(msg, sig []byte)
go/internal/signingalgorithm/signingalgorithm.go:65
↓ 12 callersMethodWrite
(w io.Writer)
go/signedexchange/signedexchange.go:254
↓ 12 callersMethodsetWebBundleId
(webBundleId: string)
js/sign/src/core/integrity-block.ts:140
↓ 11 callersMethodaddIntegritySignature
(is: IntegritySignature)
js/sign/src/core/integrity-block.ts:144
↓ 10 callersFunctionCborBinaryToReadableString
CborBinaryToReadableString converts a CBOR binary to a readable string.
go/internal/testhelper/cbor.go:48
↓ 10 callersMethodDecodeArrayHeader
()
go/internal/cbor/decoder.go:86
↓ 10 callersMethodDecodeUint
()
go/internal/cbor/decoder.go:82
↓ 10 callersMethodEncodeInt
(n int64)
go/internal/cbor/encoder.go:74
↓ 10 callersFunctionParseCertificates
(text []byte)
go/internal/signingalgorithm/certs.go:17
↓ 10 callersMethodString
()
go/signedexchange/structuredheader/writer.go:13
↓ 10 callersFunctionconvertToAdditionalInfo
(b byte)
go/internal/cbor/addinfo.go:29
↓ 10 callersMethoddiscardLeadingOWS
()
go/signedexchange/structuredheader/parser.go:45
↓ 10 callersMethodfromWebBundle
( webBundle: Uint8Array, signingStrategies: Array<ISigningStrategy>, options?: { webBundleId?: str
js/sign/src/core/signed-web-bundle.ts:45
↓ 10 callersFunctionnewInputBuilder
(recordSize uint64)
go/signedexchange/mice/mice_test.go:256
↓ 9 callersMethodCborBytes
CborBytes returns the CBOR encoded bytes of the integrity block.
go/integrityblock/integrityblock.go:70
↓ 9 callersMethodDecodeMapHeader
()
go/internal/cbor/decoder.go:90
↓ 9 callersFunctionParsePrivateKey
(text []byte)
go/internal/signingalgorithm/certs.go:40
↓ 9 callersMethodfromCbor
(integrityBlockBytes: Uint8Array)
js/sign/src/core/integrity-block.ts:31
↓ 9 callersMethodgetResponse
(url: string)
js/bundle/src/decoder.ts:20
↓ 9 callersMethodserialize
()
js/sign/src/web-bundle-id.ts:50
↓ 9 callersMethodtoString
()
js/sign/src/web-bundle-id.ts:62
↓ 9 callersFunctionverificationShouldFail
(t *testing.T, e *Exchange, certBytes []byte, verificationTime time.Time)
go/signedexchange/signedexchange_test.go:256
↓ 8 callersMethodEncode
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 callersFunctionNewVerifier
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 callersMethodWriteTo
(w io.Writer)
go/bundle/encoder.go:562
↓ 8 callersMethodaddSection
(name: string, content: CBORValue)
js/bundle/src/encoder.ts:82
↓ 8 callersFunctionasArray
(x: unknown)
js/bundle/src/decoder.ts:239
↓ 8 callersMethodconsumeChar
(c byte)
go/signedexchange/structuredheader/parser.go:65
↓ 8 callersFunctiondecodeAll
(enc Encoding, input, proof []byte)
go/signedexchange/mice/mice_test.go:244
↓ 8 callersMethodmessage
(msg []byte)
go/signedexchange/mice/mice_test.go:262
↓ 7 callersMethodIsCacheable
IsCacheable returns true if Exchange is cacheable by a shared cache (Section 3 of [RFC7234]).
go/signedexchange/verifier.go:176
↓ 7 callersFunctionbyteString
(s: string)
js/bundle/src/encoder.ts:280
↓ 7 callersFunctioncreateTestSignedBundle
(t *testing.T)
go/bundle/signature/verifier_test.go:13
↓ 7 callersFunctiongenerateEmptyIntegrityBlock
generateEmptyIntegrityBlock creates an empty integrity block which does not have any integrity signatures in the signature stack yet.
go/integrityblock/integrityblock.go:100
↓ 7 callersFunctiongreenConsoleLog
(text: string)
js/sign/src/utils/cli-utils.ts:79
↓ 7 callersFunctionmustStdEncodeBase64
(s string)
go/signedexchange/mice/mice_test.go:107
↓ 7 callersFunctionurlMustParse
(rawurl string)
go/bundle/signature/signer_test.go:51
↓ 6 callersMethodDigestHeaderName
DigestHeaderName returns the name of HTTP header that carries integrity proofs.
go/signedexchange/mice/mice.go:35
↓ 6 callersMethodEncodeUint
(n uint64)
go/internal/cbor/encoder.go:70
↓ 6 callersMethodNewDecoder
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 callersMethodaddExchange
(e *Exchange, offset, length int)
go/bundle/encoder.go:98
↓ 6 callersMethodencodeTypedUint
(t Type, n uint64)
go/internal/cbor/encoder.go:24
↓ 6 callersMethodgetAdditionalInfoLength
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 callersFunctioninitSignerWithTestWebBundleAndKeys
( privateKeys, webBundleId = undefined )
js/sign/tests/integrity-block-signer_test.js:64
↓ 6 callersMethodsetManifestURL
(url: string)
js/bundle/src/encoder.ts:22
↓ 6 callersMethodsign
(data: Uint8Array)
js/sign/src/signers/signing-strategy-interface.ts:4
↓ 5 callersMethodHeaderMagicBytes
()
go/signedexchange/version/version.go:38
↓ 5 callersFunctionNewCertChain
"📜⛓" 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 callersMethodRead
(dst []byte)
go/signedexchange/mice/mice.go:200
↓ 5 callersMethodString
()
go/bundle/encoder.go:82
↓ 5 callersMethodString
()
go/signedexchange/cmd/dump-signedexchange/main.go:26
↓ 5 callersMethodVerifyExchange
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 callersFunctionasString
(x: unknown)
js/bundle/src/decoder.ts:260
↓ 5 callersFunctionbytesToCborAndToReadableStringHelper
(bts []byte)
go/integrityblock/integrityblock_test.go:334
↓ 5 callersFunctionbytestringToString
(bstr: unknown)
js/bundle/src/decoder.ts:274
↓ 5 callersMethodcalcWebBundleHash
@deprecated This method will not be supported in a future release.
js/sign/src/signers/integrity-block-signer.ts:142
↓ 5 callersFunctioncreateDecoder
(enc Encoding, input, proof []byte)
go/signedexchange/mice/mice_test.go:239
↓ 5 callersMethodfromBytes
(signedWebBundle: Uint8Array)
js/sign/src/core/signed-web-bundle.ts:29
↓ 5 callersFunctiongetRawPublicKey
(publicKey: crypto.KeyObject)
js/sign/src/utils/utils.ts:87
↓ 5 callersFunctionisDigit
(c byte)
go/signedexchange/structuredheader/parser.go:316
↓ 4 callersMethodCertSha256
CertSha256 returns SHA-256 hash of the DER-encoded X.509v3 certificate.
go/signedexchange/certurl/certchain.go:114
↓ 4 callersFunctionComputeWebBundleSha512
ComputeWebBundleSha512 computes the SHA-512 hash over the given web bundle file.
go/integrityblock/integrityblock.go:168
↓ 4 callersMethodContentEncoding
ContentEncoding returns content encoding name of the Encoding.
go/signedexchange/mice/mice.go:30
↓ 4 callersMethodDumpExchangeHeaders
(w io.Writer)
go/signedexchange/signedexchange.go:228
↓ 4 callersMethodFormatDigestHeader
(topLevelProof []byte)
go/signedexchange/mice/mice.go:55
↓ 4 callersFunctionGenerateSignatureAttributesWithPublicKey
GenerateSignatureAttributesWithPublicKey generates the basis for the map for signature attributes containing the public key.
go/integrityblock/integrityblock.go:205
↓ 4 callersFunctionGetWebBundleId
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 callersMethodHasPrimaryURLFieldInHeader
()
go/bundle/version/version.go:106
↓ 4 callersMethodIntegrityIdentifier
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 callersMethodKeyBytes
()
go/internal/cbor/encoder.go:190
↓ 4 callersMethodMiEncodePayload
(recordSize int)
go/signedexchange/signedexchange.go:56
↓ 4 callersFunctionNewExchange
(ver version.Version, uri string, method string, requestHeaders http.Header, status int, responseHeaders http.
go/signedexchange/signedexchange.go:44
↓ 4 callersFunctionRead
(r io.Reader)
go/bundle/decoder.go:629
↓ 4 callersFunctionReadCertChain
ReadCertChain parses the application/cert-chain+cbor format.
go/signedexchange/certurl/certchain.go:126
next →1–100 of 591, ranked by callers