type vendor/golang.org/x/crypto/cryptobyte.Builder
195 uses
vendor/golang.org/x/crypto/cryptobyte (current package)
asn1.go#L22: func (b *Builder) AddASN1Int64(v int64) {
asn1.go#L28: func (b *Builder) AddASN1Int64WithTag(v int64, tag asn1.Tag) {
asn1.go#L33: func (b *Builder) AddASN1Enum(v int64) {
asn1.go#L37: func (b *Builder) addASN1Signed(tag asn1.Tag, v int64) {
asn1.go#L38: b.AddASN1(tag, func(c *Builder) {
asn1.go#L52: func (b *Builder) AddASN1Uint64(v uint64) {
asn1.go#L53: b.AddASN1(asn1.INTEGER, func(c *Builder) {
asn1.go#L67: func (b *Builder) AddASN1BigInt(n *big.Int) {
asn1.go#L72: b.AddASN1(asn1.INTEGER, func(c *Builder) {
asn1.go#L101: func (b *Builder) AddASN1OctetString(bytes []byte) {
asn1.go#L102: b.AddASN1(asn1.OCTET_STRING, func(c *Builder) {
asn1.go#L110: func (b *Builder) AddASN1GeneralizedTime(t time.Time) {
asn1.go#L115: b.AddASN1(asn1.GeneralizedTime, func(c *Builder) {
asn1.go#L121: func (b *Builder) AddASN1UTCTime(t time.Time) {
asn1.go#L122: b.AddASN1(asn1.UTCTime, func(c *Builder) {
asn1.go#L135: func (b *Builder) AddASN1BitString(data []byte) {
asn1.go#L136: b.AddASN1(asn1.BIT_STRING, func(b *Builder) {
asn1.go#L142: func (b *Builder) addBase128Int(n int64) {
asn1.go#L181: func (b *Builder) AddASN1ObjectIdentifier(oid encoding_asn1.ObjectIdentifier) {
asn1.go#L182: b.AddASN1(asn1.OBJECT_IDENTIFIER, func(b *Builder) {
asn1.go#L195: func (b *Builder) AddASN1Boolean(v bool) {
asn1.go#L196: b.AddASN1(asn1.BOOLEAN, func(b *Builder) {
asn1.go#L205: func (b *Builder) AddASN1NULL() {
asn1.go#L211: func (b *Builder) MarshalASN1(v interface{}) {
asn1.go#L230: func (b *Builder) AddASN1(tag asn1.Tag, f BuilderContinuation) {
builder.go#L23: type Builder struct {
builder.go#L27: child *Builder
builder.go#L37: func NewBuilder(buffer []byte) *Builder {
builder.go#L38: return &Builder{
builder.go#L46: func NewFixedBuilder(buffer []byte) *Builder {
builder.go#L47: return &Builder{
builder.go#L55: func (b *Builder) SetError(err error) {
builder.go#L61: func (b *Builder) Bytes() ([]byte, error) {
builder.go#L70: func (b *Builder) BytesOrPanic() []byte {
builder.go#L78: func (b *Builder) AddUint8(v uint8) {
builder.go#L83: func (b *Builder) AddUint16(v uint16) {
builder.go#L89: func (b *Builder) AddUint24(v uint32) {
builder.go#L94: func (b *Builder) AddUint32(v uint32) {
builder.go#L99: func (b *Builder) AddUint64(v uint64) {
builder.go#L104: func (b *Builder) AddBytes(v []byte) {
builder.go#L130: type BuilderContinuation func(child *Builder)
builder.go#L140: func (b *Builder) AddUint8LengthPrefixed(f BuilderContinuation) {
builder.go#L145: func (b *Builder) AddUint16LengthPrefixed(f BuilderContinuation) {
builder.go#L150: func (b *Builder) AddUint24LengthPrefixed(f BuilderContinuation) {
builder.go#L155: func (b *Builder) AddUint32LengthPrefixed(f BuilderContinuation) {
builder.go#L159: func (b *Builder) callContinuation(f BuilderContinuation, arg *Builder) {
builder.go#L182: func (b *Builder) addLengthPrefixed(lenLen int, isASN1 bool, f BuilderContinuation) {
builder.go#L195: b.child = &Builder{
builder.go#L211: func (b *Builder) flushChild() {
builder.go#L289: func (b *Builder) add(bytes ...byte) {
builder.go#L309: func (b *Builder) Unwrite(n int) {
builder.go#L334: Marshal(b *Builder) error
builder.go#L340: func (b *Builder) AddValue(v MarshalingValue) {
crypto/ecdsa
ecdsa.go#L339: var b cryptobyte.Builder
ecdsa.go#L340: b.AddASN1(asn1.SEQUENCE, func(b *cryptobyte.Builder) {
ecdsa.go#L349: func addASN1IntBytes(b *cryptobyte.Builder, bytes []byte) {
ecdsa.go#L357: b.AddASN1(asn1.INTEGER, func(c *cryptobyte.Builder) {
crypto/tls
handshake_messages.go#L17: type marshalingFunction func(b *cryptobyte.Builder) error
handshake_messages.go#L19: func (f marshalingFunction) Marshal(b *cryptobyte.Builder) error {
handshake_messages.go#L25: func addBytesWithLength(b *cryptobyte.Builder, v []byte, n int) {
handshake_messages.go#L26: b.AddValue(marshalingFunction(func(b *cryptobyte.Builder) error {
handshake_messages.go#L36: func addUint64(b *cryptobyte.Builder, v uint64) {
handshake_messages.go#L105: var exts cryptobyte.Builder
handshake_messages.go#L109: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L110: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L112: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L121: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L130: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L131: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L141: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L142: exts.AddUint8LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L150: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L157: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L158: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L168: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L169: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L179: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L180: exts.AddUint8LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L193: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L194: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L196: exts.AddUint8LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L211: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L212: exts.AddUint8LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L222: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L223: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L231: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L232: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L235: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L250: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L251: exts.AddUint8LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L259: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L266: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L267: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L269: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L275: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L277: exts.AddUint8LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L289: var b cryptobyte.Builder
handshake_messages.go#L291: b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L294: b.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L297: b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L302: b.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L307: b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L354: b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L356: b.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L658: var exts cryptobyte.Builder
handshake_messages.go#L669: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L670: exts.AddUint8LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L681: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L682: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L683: exts.AddUint8LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L691: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L692: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L694: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L703: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L709: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L711: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L718: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L725: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L726: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L733: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L739: exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L740: exts.AddUint8LengthPrefixed(func(exts *cryptobyte.Builder) {
handshake_messages.go#L751: var b cryptobyte.Builder
handshake_messages.go#L753: b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L756: b.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L763: b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L903: var b cryptobyte.Builder
handshake_messages.go#L905: b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L906: b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L909: b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L910: b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L911: b.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L920: b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L1010: var b cryptobyte.Builder
handshake_messages.go#L1012: b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L1059: var b cryptobyte.Builder
handshake_messages.go#L1061: b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L1064: b.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L1067: b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L1071: b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L1074: b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L1141: var b cryptobyte.Builder
handshake_messages.go#L1143: b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L1148: b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L1164: b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L1165: b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L1174: b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L1175: b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L1184: b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L1185: b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L1187: b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L1367: var b cryptobyte.Builder
handshake_messages.go#L1369: b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L1387: func marshalCertificate(b *cryptobyte.Builder, certificate Certificate) {
handshake_messages.go#L1388: b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L1390: b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L1393: b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L1400: b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L1402: b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L1409: b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L1410: b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L1412: b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L1542: var b cryptobyte.Builder
handshake_messages.go#L1544: b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L1546: b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L1626: var b cryptobyte.Builder
handshake_messages.go#L1628: b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L1799: var b cryptobyte.Builder
handshake_messages.go#L1801: b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) {
handshake_messages.go#L1805: b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) {
key_schedule.go#L36: var hkdfLabel cryptobyte.Builder
key_schedule.go#L38: hkdfLabel.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) {
key_schedule.go#L42: hkdfLabel.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) {
ticket.go#L108: var b cryptobyte.Builder
ticket.go#L117: b.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) {
ticket.go#L120: b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) {
ticket.go#L122: b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) {
ticket.go#L142: b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) {
ticket.go#L144: b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) {
ticket.go#L151: b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) {
ticket.go#L159: b.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) {
crypto/x509
x509.go#L1206: var b cryptobyte.Builder
x509.go#L1213: b.AddASN1(cryptobyte_asn1.SEQUENCE, func(b *cryptobyte.Builder) {
x509.go#L1214: b.AddASN1(cryptobyte_asn1.Tag(2).ContextSpecific(), func(b *cryptobyte.Builder) {
x509.go#L1221: b.AddASN1(cryptobyte_asn1.SEQUENCE, func(b *cryptobyte.Builder) {
x509.go#L1222: b.AddASN1(cryptobyte_asn1.Tag(7).ContextSpecific(), func(b *cryptobyte.Builder) {
x509.go#L1233: b.AddASN1(cryptobyte_asn1.SEQUENCE, func(b *cryptobyte.Builder) {
x509.go#L1234: b.AddASN1(cryptobyte_asn1.Tag(1).ContextSpecific(), func(b *cryptobyte.Builder) {
x509.go#L1245: b.AddASN1(cryptobyte_asn1.SEQUENCE, func(b *cryptobyte.Builder) {
x509.go#L1246: b.AddASN1(cryptobyte_asn1.Tag(6).ContextSpecific(), func(b *cryptobyte.Builder) {
x509.go#L1265: var b cryptobyte.Builder
x509.go#L1266: b.AddASN1(cryptobyte_asn1.SEQUENCE, func(b *cryptobyte.Builder) {
x509.go#L1268: b.AddASN1(cryptobyte_asn1.Tag(0).ContextSpecific().Constructed(), func(b *cryptobyte.Builder) {
x509.go#L1274: b.AddASN1(cryptobyte_asn1.Tag(1).ContextSpecific().Constructed(), func(b *cryptobyte.Builder) {
|
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |