Versions in this module Expand all Collapse all v1 v1.0.0 Jun 18, 2018 Changes in this version + type BuildError struct + Err error + type Builder struct + func NewBuilder(buffer []byte) *Builder + func NewFixedBuilder(buffer []byte) *Builder + func (b *Builder) AddASN1(tag asn1.Tag, f BuilderContinuation) + func (b *Builder) AddASN1BigInt(n *big.Int) + func (b *Builder) AddASN1BitString(data []byte) + func (b *Builder) AddASN1Boolean(v bool) + func (b *Builder) AddASN1Enum(v int64) + func (b *Builder) AddASN1GeneralizedTime(t time.Time) + func (b *Builder) AddASN1Int64(v int64) + func (b *Builder) AddASN1NULL() + func (b *Builder) AddASN1ObjectIdentifier(oid encoding_asn1.ObjectIdentifier) + func (b *Builder) AddASN1OctetString(bytes []byte) + func (b *Builder) AddASN1Uint64(v uint64) + func (b *Builder) AddBytes(v []byte) + func (b *Builder) AddUint16(v uint16) + func (b *Builder) AddUint16LengthPrefixed(f BuilderContinuation) + func (b *Builder) AddUint24(v uint32) + func (b *Builder) AddUint24LengthPrefixed(f BuilderContinuation) + func (b *Builder) AddUint32(v uint32) + func (b *Builder) AddUint32LengthPrefixed(f BuilderContinuation) + func (b *Builder) AddUint8(v uint8) + func (b *Builder) AddUint8LengthPrefixed(f BuilderContinuation) + func (b *Builder) AddValue(v MarshalingValue) + func (b *Builder) Bytes() ([]byte, error) + func (b *Builder) BytesOrPanic() []byte + func (b *Builder) MarshalASN1(v interface{}) + type BuilderContinuation func(child *Builder) + type MarshalingValue interface + Marshal func(b *Builder) error + type String []byte + func (s *String) CopyBytes(out []byte) bool + func (s *String) ReadASN1(out *String, tag asn1.Tag) bool + func (s *String) ReadASN1BitString(out *encoding_asn1.BitString) bool + func (s *String) ReadASN1BitStringAsBytes(out *[]byte) bool + func (s *String) ReadASN1Boolean(out *bool) bool + func (s *String) ReadASN1Bytes(out *[]byte, tag asn1.Tag) bool + func (s *String) ReadASN1Element(out *String, tag asn1.Tag) bool + func (s *String) ReadASN1Enum(out *int) bool + func (s *String) ReadASN1GeneralizedTime(out *time.Time) bool + func (s *String) ReadASN1Integer(out interface{}) bool + func (s *String) ReadASN1ObjectIdentifier(out *encoding_asn1.ObjectIdentifier) bool + func (s *String) ReadAnyASN1(out *String, outTag *asn1.Tag) bool + func (s *String) ReadAnyASN1Element(out *String, outTag *asn1.Tag) bool + func (s *String) ReadBytes(out *[]byte, n int) bool + func (s *String) ReadOptionalASN1(out *String, outPresent *bool, tag asn1.Tag) bool + func (s *String) ReadOptionalASN1Boolean(out *bool, defaultValue bool) bool + func (s *String) ReadOptionalASN1Integer(out interface{}, tag asn1.Tag, defaultValue interface{}) bool + func (s *String) ReadOptionalASN1OctetString(out *[]byte, outPresent *bool, tag asn1.Tag) bool + func (s *String) ReadUint16(out *uint16) bool + func (s *String) ReadUint16LengthPrefixed(out *String) bool + func (s *String) ReadUint24(out *uint32) bool + func (s *String) ReadUint24LengthPrefixed(out *String) bool + func (s *String) ReadUint32(out *uint32) bool + func (s *String) ReadUint8(out *uint8) bool + func (s *String) ReadUint8LengthPrefixed(out *String) bool + func (s *String) Skip(n int) bool + func (s *String) SkipASN1(tag asn1.Tag) bool + func (s *String) SkipOptionalASN1(tag asn1.Tag) bool + func (s String) Empty() bool + func (s String) PeekASN1Tag(tag asn1.Tag) bool Incompatible versions in this module v2.0.0+incompatible Mar 4, 2019