MCPcopy Create free account

hub / github.com/WICG/webpackage / functions

Functions591 in github.com/WICG/webpackage

↓ 4 callersFunctionSerializeSCTList
SerializeSCTList serializes a list of SignedCertificateTimestamps into a SignedCertificateTimestampList (RFC6962 Section 3.3).
go/signedexchange/certurl/sct.go:25
↓ 4 callersMethodSign
(data []byte)
go/integrityblock/signing-strategy-interface.go:8
↓ 4 callersMethodSign
(m []byte)
go/internal/signingalgorithm/signingalgorithm.go:17
↓ 4 callersMethodSignAndAddNewSignature
SignAndAddNewSignature contains the main logic for generating the new signature and prepending the integrity block's signature stack with a new integr
go/integrityblock/integrityblock-signer.go:27
↓ 4 callersMethodaddSignature
(signingStrategy: ISigningStrategy)
js/sign/src/core/signed-web-bundle.ts:65
↓ 4 callersFunctionasBytestring
(x: unknown)
js/bundle/src/decoder.ts:267
↓ 4 callersMethoddecodeOfType
(expected Type)
go/internal/cbor/decoder.go:71
↓ 4 callersFunctionerrorLog
(text: string)
js/sign/src/utils/cli-utils.ts:89
↓ 4 callersFunctionfindExtensionWithOID
(extensions []pkix.Extension, oid asn1.ObjectIdentifier)
go/signedexchange/certurl/sct.go:59
↓ 4 callersFunctionfromHex
fromHex converts strings of the form "12 34 5678 9a" to byte slices.
go/internal/cbor/encoder_test.go:13
↓ 4 callersFunctiongetSignatureType
(key: crypto.KeyObject)
js/sign/src/utils/utils.ts:74
↓ 4 callersMethodgetSignedWebBundleBytes
()
js/sign/src/core/signed-web-bundle.ts:126
↓ 4 callersMethodgetString
(n int)
go/signedexchange/structuredheader/parser.go:59
↓ 4 callersFunctiongetUnsignedIntegerValue
getUnsignedIntegerValue converts the byte array containing the CBOR encoded unsigned integer into an actual value.
go/internal/cbor/deterministic.go:89
↓ 4 callersMethodhash
(h string)
go/signedexchange/mice/mice_test.go:267
↓ 4 callersFunctionisAlpha
(c byte)
go/signedexchange/structuredheader/parser.go:324
↓ 4 callersFunctionparseMaybeEncryptedKeyFromFile
( filePath: string )
js/sign/src/utils/cli-utils.ts:14
↓ 4 callersFunctionshouldPanic
(t *testing.T, f func())
go/internal/cbor/deterministic_test.go:330
↓ 4 callersFunctionunsignedIntegerDeterministic
( input: Uint8Array, index: number )
js/sign/src/cbor/deterministic.ts:55
↓ 4 callersFunctionunsignedIntegerDeterministic
unsignedIntegerDeterministic calculates the value of the unsigned integer to ensure that the right amount of bytes is used in the CBOR encoding. It re
go/internal/cbor/deterministic.go:70
↓ 4 callersFunctionurlMustParse
(rawurl string)
go/bundle/bundle_test.go:29
↓ 4 callersFunctionvalidateExchangeURL
(urlString: string)
js/bundle/src/encoder.ts:269
↓ 4 callersFunctionvalidateRecord
(record, proof []byte, isLastRecord bool)
go/signedexchange/mice/mice.go:251
↓ 4 callersFunctionverificationShouldSucceed
(t *testing.T, e *Exchange, certBytes []byte, verificationTime time.Time)
go/signedexchange/signedexchange_test.go:249
↓ 4 callersFunctionwarnLog
(text: string)
js/sign/src/utils/cli-utils.ts:86
↓ 3 callersMethodAddExchange
AddExchange adds resource integrity information of e for signing.
go/bundle/signature/signer.go:117
↓ 3 callersMethodAddPayloadIntegrity
AddPayloadIntegrity encodes the exchange's payload with Merkle Integrity content encoding, and adds `Content-Encoding` and `Digest` response headers.
go/bundle/bundle.go:59
↓ 3 callersMethodCanSignForURL
CanSignForURL returns true iff this signer can sign for a resource with given URL.
go/bundle/signature/signer.go:112
↓ 3 callersFunctionCreateOCSPRequest
(certs []*x509.Certificate, preferGET bool)
go/signedexchange/certurl/ocsp.go:15
↓ 3 callersFunctionDecode3BytesUint
(b [3]byte)
go/signedexchange/internal/bigendian/bigendianint.go:24
↓ 3 callersMethodEncode
Encode encodes s as a CBOR item.
go/bundle/signature/signer.go:47
↓ 3 callersMethodFinalize
(ver version.Version)
go/bundle/encoder.go:112
↓ 3 callersFunctionFindSection
(sos []sectionOffset, name string)
go/bundle/decoder.go:31
↓ 3 callersMethodGetPublicKey
()
go/integrityblock/signing-strategy-interface.go:9
↓ 3 callersMethodHeaderSha256
()
go/bundle/encoder.go:63
↓ 3 callersMethodMiceEncoding
()
go/signedexchange/version/version.go:67
↓ 3 callersFunctionNewParsedEd25519KeySigningStrategy
(ed25519privKey ed25519.PrivateKey)
go/integrityblock/parsed-ed25519-key-signing-strategy.go:13
↓ 3 callersFunctionParseParameterisedList
ParseParameterisedList parses input as a Parameterised List. https://tools.ietf.org/html/draft-ietf-httpbis-header-structure-09#section-4.2
go/signedexchange/structuredheader/parser.go:91
↓ 3 callersFunctionSigningAlgorithmForPrivateKey
(pk crypto.PrivateKey, rand io.Reader)
go/internal/signingalgorithm/signingalgorithm.go:49
↓ 3 callersMethodSupportsVariants
()
go/bundle/version/version.go:110
↓ 3 callersMethodUpdateSignatures
UpdateSignatures updates bundle.Signatures by adding the cert chain and the signature of exchanges added with AddExchange.
go/bundle/signature/signer.go:138
↓ 3 callersFunctionVerifierForPublicKey
(k crypto.PublicKey)
go/internal/signingalgorithm/signingalgorithm.go:88
↓ 3 callersFunctionWebBundleHasIntegrityBlock
WebBundleHasIntegrityBlock is a helper function that can be called with any file path to check if it has an integrtiy block. Basically this checks if
go/integrityblock/integrityblock.go:211
↓ 3 callersMethodaddNewSignatureToIntegrityBlock
(signatureAttributes SignatureAttributesMap, signature []byte)
go/integrityblock/integrityblock.go:158
↓ 3 callersFunctioncalcWebBundleHash
(webBundle: Uint8Array)
js/sign/src/utils/utils.ts:179
↓ 3 callersFunctioncalculateCertSha256
(certs []*x509.Certificate)
go/signedexchange/signer.go:45
↓ 3 callersMethodcborBytes
cborBytes writes the integrity signature as CBOR using the given encoder containing the signature attributes and the signature.
go/integrityblock/integrityblock.go:56
↓ 3 callersFunctioncheckDeterministic
(input: Uint8Array)
js/sign/src/cbor/deterministic.ts:14
↓ 3 callersFunctioncreateTestSigner
(t *testing.T)
go/bundle/signature/signer_test.go:71
↓ 3 callersFunctiondeterministicRec
(input: Uint8Array, index: number)
js/sign/src/cbor/deterministic.ts:29
↓ 3 callersFunctiondeterministicRec
deterministicRec is a recursively called helper function to check the deterministicy of a bytes array. TODO(sonkkeli): Recursively called parts will b
go/internal/cbor/deterministic.go:29
↓ 3 callersMethodencodeExchangeHeaders
draft-yasskin-http-origin-signed-responses.html#rfc.section.3.4
go/signedexchange/signedexchange.go:213
↓ 3 callersFunctiongetOutputPath
( bundlePath: string, options: { inPlace?: boolean; output?: string } )
js/sign/src/cli-sign.ts:27
↓ 3 callersMethodgetPublicKey
()
js/sign/src/signers/signing-strategy-interface.ts:5
↓ 3 callersMethodgetSignatureStack
()
js/sign/src/core/integrity-block.ts:157
↓ 3 callersMethodgetWebBundleId
()
js/sign/src/core/integrity-block.ts:136
↓ 3 callersFunctionisApprovedVersion
(param: any)
js/bundle/src/constants.ts:7
↓ 3 callersFunctionisLCAlpha
(c byte)
go/signedexchange/structuredheader/parser.go:320
↓ 3 callersFunctionnormalizeHeaderValues
(values []string)
go/bundle/encoder.go:22
↓ 3 callersMethodnumberOfPossibleKeys
()
go/bundle/encoder.go:306
↓ 3 callersMethodparseItem
https://tools.ietf.org/html/draft-ietf-httpbis-header-structure-09#section-4.2.7
go/signedexchange/structuredheader/parser.go:199
↓ 3 callersFunctionparsePemKey
( unparsedKey: string | Buffer<ArrayBufferLike>, passphrase?: string )
js/sign/src/utils/utils.ts:14
↓ 3 callersMethodparseToken
https://tools.ietf.org/html/draft-ietf-httpbis-header-structure-09#section-4.2.10
go/signedexchange/structuredheader/parser.go:274
↓ 3 callersFunctionparseVariants
(s string)
go/bundle/encoder.go:301
↓ 3 callersMethodremoveSignature
(publicKey: Uint8Array)
js/sign/src/core/signed-web-bundle.ts:74
↓ 3 callersFunctionserializeSignedMessage
(e *Exchange, certSha256 []byte, validityUrl string, date, expires int64)
go/signedexchange/signer.go:55
↓ 3 callersMethodserializeWithIsolatedWebAppOrigin
()
js/sign/src/web-bundle-id.ts:58
↓ 2 callersMethodComputeHeaderIntegrity
()
go/signedexchange/signedexchange.go:518
↓ 2 callersFunctionDecodeAugmentedCertificateFrom
DecodeAugmentedCertificateFrom decodes an augmented-certificate CBOR item from dec and returns it as an AugmentedCertificate.
go/signedexchange/certurl/certchain.go:158
↓ 2 callersMethodEncodeHeader
()
go/bundle/encoder.go:40
↓ 2 callersMethodEncodeTo
EncodeTo encodes ac as an augmented-certificate CBOR item.
go/signedexchange/certurl/certchain.go:89
↓ 2 callersFunctionGenerateDataToBeSigned
GenerateDataToBeSigned creates a bytes array containing the payload of which the signature of the web bundle will be calculated. The order must be the
go/integrityblock/integrityblock.go:186
↓ 2 callersMethodMiceEncoding
()
go/bundle/version/version.go:86
↓ 2 callersFunctionNewSigner
(ver version.Version, certs certurl.CertChain, privKey crypto.PrivateKey, validityUrl *url.URL, date time.Time
go/bundle/signature/signer.go:91
↓ 2 callersFunctionParse
(str string)
go/signedexchange/version/version.go:26
↓ 2 callersFunctionParseListOfLists
ParseListOfLists parses input as a List of Lists. https://tools.ietf.org/html/draft-ietf-httpbis-header-structure-09#section-4.2
go/signedexchange/structuredheader/parser.go:75
↓ 2 callersMethodReadByte
()
go/internal/cbor/decoder.go:18
↓ 2 callersFunctionReadExchange
(r io.Reader)
go/signedexchange/signedexchange.go:453
↓ 2 callersMethodSet
(value string)
go/bundle/cmd/gen-bundle/main.go:21
↓ 2 callersMethodSet
(value string)
go/signedexchange/cmd/gen-signedexchange/main.go:28
↓ 2 callersMethodString
()
go/bundle/bundle.go:25
↓ 2 callersMethodSupportsSignatures
TODO: consider changing this also to only version B1, as the signatures section is not a part of the main spec anymore. Currently returns true as both
go/bundle/version/version.go:118
↓ 2 callersMethodValidate
Validate performs basic sanity checks on the bundle.
go/bundle/bundle.go:77
↓ 2 callersMethodValidate
Validate performs basic sanity checks on the cert chain. It returns nil if the chain is valid, or else an error describing a problem.
go/signedexchange/certurl/certchain.go:49
↓ 2 callersFunctionaddFile
( builder: BundleBuilder, url: string, file: string, overrideHeaders: Headers | undefined )
js/bundle/src/cli.ts:19
↓ 2 callersFunctionasNumber
(x: unknown)
js/bundle/src/decoder.ts:253
↓ 2 callersMethodbase64Encoding
()
go/signedexchange/mice/mice.go:59
↓ 2 callersMethodcborBytes
cborBytes writes the signature attributes map as CBOR using the given encoder so that the map's key is text string and value byte string.
go/integrityblock/integrityblock.go:40
↓ 2 callersFunctioncheckIsValidKey
( expectedKeyType: crypto.KeyObjectType, key: KeyObject )
js/sign/src/utils/utils.ts:110
↓ 2 callersFunctioncombineHeadersForUrl
( headers: Headers, overrideHeadersOption: OverrideHeadersOption, url: string )
js/bundle/src/encoder.ts:301
↓ 2 callersFunctioncontextString
(v version.Version)
go/signedexchange/signer.go:20
↓ 2 callersFunctionconvertToNonDeterministicUintHelper
( deterministicUintBytes, firstByte )
js/sign/tests/deterministic_test.js:360
↓ 2 callersFunctionconvertToNonDeterministicUintHelper
Helper functions:
go/internal/cbor/deterministic_test.go:309
↓ 2 callersFunctioncreateCertChain
(t *testing.T)
go/signedexchange/certurl/certchain_test.go:13
↓ 2 callersFunctioncreateTestBundle
(t *testing.T, ver version.Version)
go/bundle/bundle_test.go:37
↓ 2 callersFunctioncreateTestCertChain
(t *testing.T)
go/bundle/signature/signer_test.go:59
↓ 2 callersFunctioncreateTestSuffix
(publicKey)
js/sign/tests/integrity-block-signer_test.js:81
↓ 2 callersMethoddecodeBytesOfType
(expected Type)
go/internal/cbor/decoder.go:94
↓ 2 callersMethodencodeBytes
(t Type, bs []byte)
go/internal/cbor/encoder.go:90
↓ 2 callersFunctionencodeHeaders
(encs []*cbor.MapEntryEncoder, headers http.Header)
go/signedexchange/signedexchange.go:171
← previousnext →101–200 of 591, ranked by callers