Versions in this module Expand all Collapse all v0 v0.1.0 Jul 29, 2021 Changes in this version + var ErrConstructed = asn1.SyntaxError + var ErrEarlyEOF = asn1.SyntaxError + var ErrPrimitive = asn1.SyntaxError + var ErrUnsupportedLength = asn1.StructuralError + func ConvertToDER(ber []byte) ([]byte, error) + type ConstructedValue struct + func DecodeConstructed(r ValueReader) (*ConstructedValue, error) + func (v *ConstructedValue) Encode(w ValueWriter) error + func (v *ConstructedValue) EncodedLen() int + type LimitedValueReader struct + S io.ByteScanner + func (l *LimitedValueReader) ReadByte() (c byte, err error) + func (l *LimitedValueReader) UnreadByte() (err error) + type PrimitiveValue struct + func DecodePrimitive(r ValueReader) (*PrimitiveValue, error) + func (v *PrimitiveValue) Encode(w ValueWriter) error + func (v *PrimitiveValue) EncodedLen() int + type Value interface + Encode func(ValueWriter) error + EncodedLen func() int + func Decode(r ValueReader) (Value, error) + type ValueReader interface + func LimitValueReader(r ValueReader, n int64) ValueReader + type ValueWriter interface