golang.org/x/crypto/cryptobyte.Builder.AddBytes (method)
61 uses
golang.org/x/crypto/cryptobyte (current package)
asn1.go#L103: c.AddBytes(bytes)
asn1.go#L116: c.AddBytes([]byte(t.Format(generalizedTimeFormatStr)))
asn1.go#L129: c.AddBytes([]byte(t.Format(defaultUTCTimeFormatStr)))
asn1.go#L138: b.AddBytes(data)
asn1.go#L223: b.AddBytes(bytes)
builder.go#L109: func (b *Builder) AddBytes(v []byte) {
github.com/refraction-networking/utls
ech.go#L321: recon.AddBytes(versionAndRandom)
ech.go#L323: recon.AddBytes(outer.sessionId)
ech.go#L326: recon.AddBytes(cipherSuites)
ech.go#L329: recon.AddBytes(compressionMethods)
ech.go#L367: recon.AddBytes(rawOuterExts[i].data)
ech.go#L373: recon.AddBytes(extData)
ech.go#L411: b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { b.AddBytes(encodedKey) })
ech.go#L412: b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { b.AddBytes(payload) })
ech.go#L553: builder.AddBytes(c.Config)
ech.go#L639: b.AddBytes(c.Config)
handshake_messages.go#L31: b.AddBytes(v)
handshake_messages.go#L123: exts.AddBytes([]byte(m.serverName))
handshake_messages.go#L133: exts.AddBytes(m.supportedPoints)
handshake_messages.go#L141: exts.AddBytes(m.sessionTicket)
handshake_messages.go#L149: exts.AddBytes(m.secureRenegotiation)
handshake_messages.go#L172: exts.AddBytes(m.quicTransportParameters)
handshake_messages.go#L178: exts.AddBytes(m.encryptedClientHello)
handshake_messages.go#L254: exts.AddBytes([]byte(proto))
handshake_messages.go#L284: exts.AddBytes(m.cookie)
handshake_messages.go#L300: exts.AddBytes(ks.data)
handshake_messages.go#L315: exts.AddBytes(m.pskModes)
handshake_messages.go#L352: exts.AddBytes(psk.label)
handshake_messages.go#L360: exts.AddBytes(binder)
handshake_messages.go#L378: b.AddBytes(m.sessionId)
handshake_messages.go#L387: b.AddBytes(m.compressionMethods)
handshake_messages.go#L392: b.AddBytes(extBytes)
handshake_messages.go#L795: exts.AddBytes(m.secureRenegotiation)
handshake_messages.go#L808: exts.AddBytes([]byte(m.alpnProtocol))
handshake_messages.go#L819: exts.AddBytes(sct)
handshake_messages.go#L836: exts.AddBytes(m.serverShare.data)
handshake_messages.go#L851: exts.AddBytes(m.cookie)
handshake_messages.go#L865: exts.AddBytes(m.supportedPoints)
handshake_messages.go#L872: exts.AddBytes(m.encryptedClientHello)
handshake_messages.go#L891: b.AddBytes(m.sessionId)
handshake_messages.go#L898: b.AddBytes(extBytes)
handshake_messages.go#L1064: b.AddBytes([]byte(m.alpnProtocol))
handshake_messages.go#L1073: b.AddBytes(m.quicTransportParameters)
handshake_messages.go#L1084: b.AddBytes(m.echRetryConfigs)
handshake_messages.go#L1218: b.AddBytes(m.nonce)
handshake_messages.go#L1221: b.AddBytes(m.label)
handshake_messages.go#L1335: b.AddBytes(ca)
handshake_messages.go#L1529: b.AddBytes(cert)
handshake_messages.go#L1541: b.AddBytes(certificate.OCSPStaple)
handshake_messages.go#L1551: b.AddBytes(sct)
handshake_messages.go#L1674: b.AddBytes(m.response)
handshake_messages.go#L1742: b.AddBytes(m.verifyData)
handshake_messages.go#L1903: b.AddBytes(m.signature)
ticket.go#L119: b.AddBytes(s.secret)
ticket.go#L124: b.AddBytes(extra)
ticket.go#L153: b.AddBytes(cert.Raw)
ticket.go#L161: b.AddBytes([]byte(s.alpnProtocol))
u_handshake_messages.go#L34: b.AddBytes(m.compressedCertificateMessage)
u_handshake_messages.go#L92: msg.AddBytes(m.applicationSettings)
u_handshake_messages.go#L98: msg.AddBytes(m.customExtension)
u_pre_shared_key.go#L294: b.AddBytes(binder)
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |