Versions in this module Expand all Collapse all go1 go1.18.10 Jan 10, 2023 Changes in this version + const ClassApplication + const ClassContextSpecific + const ClassPrivate + const ClassUniversal + const TagBMPString + const TagBitString + const TagBoolean + const TagEnum + const TagGeneralString + const TagGeneralizedTime + const TagIA5String + const TagInteger + const TagNull + const TagNumericString + const TagOID + const TagOctetString + const TagPrintableString + const TagSequence + const TagSet + const TagT61String + const TagUTCTime + const TagUTF8String + var NullBytes = []byte + var NullRawValue = RawValue + func Marshal(val any) ([]byte, error) + func MarshalWithParams(val any, params string) ([]byte, error) + func Unmarshal(b []byte, val any) (rest []byte, err error) + func UnmarshalWithParams(b []byte, val any, params string) (rest []byte, err error) + type BitString struct + BitLength int + Bytes []byte + func (b BitString) At(i int) int + func (b BitString) RightAlign() []byte + type Enumerated int + type Flag bool + type ObjectIdentifier []int + func (oi ObjectIdentifier) Equal(other ObjectIdentifier) bool + func (oi ObjectIdentifier) String() string + type RawContent []byte + type RawValue struct + Bytes []byte + Class int + FullBytes []byte + IsCompound bool + Tag int + type StructuralError struct + Msg string + func (e StructuralError) Error() string + type SyntaxError struct + Msg string + func (e SyntaxError) Error() string