github.com/goplus/gossa@v0.3.25/pkg/encoding/asn1/go115_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //+build go1.15,!go1.16 4 5 package asn1 6 7 import ( 8 q "encoding/asn1" 9 10 "go/constant" 11 "reflect" 12 13 "github.com/goplus/gossa" 14 ) 15 16 func init() { 17 gossa.RegisterPackage(&gossa.Package{ 18 Name: "asn1", 19 Path: "encoding/asn1", 20 Deps: map[string]string{ 21 "bytes": "bytes", 22 "errors": "errors", 23 "fmt": "fmt", 24 "math": "math", 25 "math/big": "big", 26 "reflect": "reflect", 27 "sort": "sort", 28 "strconv": "strconv", 29 "strings": "strings", 30 "time": "time", 31 "unicode/utf16": "utf16", 32 "unicode/utf8": "utf8", 33 }, 34 Interfaces: map[string]reflect.Type{}, 35 NamedTypes: map[string]gossa.NamedType{ 36 "BitString": {reflect.TypeOf((*q.BitString)(nil)).Elem(), "At,RightAlign", ""}, 37 "Enumerated": {reflect.TypeOf((*q.Enumerated)(nil)).Elem(), "", ""}, 38 "Flag": {reflect.TypeOf((*q.Flag)(nil)).Elem(), "", ""}, 39 "ObjectIdentifier": {reflect.TypeOf((*q.ObjectIdentifier)(nil)).Elem(), "Equal,String", ""}, 40 "RawContent": {reflect.TypeOf((*q.RawContent)(nil)).Elem(), "", ""}, 41 "RawValue": {reflect.TypeOf((*q.RawValue)(nil)).Elem(), "", ""}, 42 "StructuralError": {reflect.TypeOf((*q.StructuralError)(nil)).Elem(), "Error", ""}, 43 "SyntaxError": {reflect.TypeOf((*q.SyntaxError)(nil)).Elem(), "Error", ""}, 44 }, 45 AliasTypes: map[string]reflect.Type{}, 46 Vars: map[string]reflect.Value{ 47 "NullBytes": reflect.ValueOf(&q.NullBytes), 48 "NullRawValue": reflect.ValueOf(&q.NullRawValue), 49 }, 50 Funcs: map[string]reflect.Value{ 51 "Marshal": reflect.ValueOf(q.Marshal), 52 "MarshalWithParams": reflect.ValueOf(q.MarshalWithParams), 53 "Unmarshal": reflect.ValueOf(q.Unmarshal), 54 "UnmarshalWithParams": reflect.ValueOf(q.UnmarshalWithParams), 55 }, 56 TypedConsts: map[string]gossa.TypedConst{}, 57 UntypedConsts: map[string]gossa.UntypedConst{ 58 "ClassApplication": {"untyped int", constant.MakeInt64(int64(q.ClassApplication))}, 59 "ClassContextSpecific": {"untyped int", constant.MakeInt64(int64(q.ClassContextSpecific))}, 60 "ClassPrivate": {"untyped int", constant.MakeInt64(int64(q.ClassPrivate))}, 61 "ClassUniversal": {"untyped int", constant.MakeInt64(int64(q.ClassUniversal))}, 62 "TagBMPString": {"untyped int", constant.MakeInt64(int64(q.TagBMPString))}, 63 "TagBitString": {"untyped int", constant.MakeInt64(int64(q.TagBitString))}, 64 "TagBoolean": {"untyped int", constant.MakeInt64(int64(q.TagBoolean))}, 65 "TagEnum": {"untyped int", constant.MakeInt64(int64(q.TagEnum))}, 66 "TagGeneralString": {"untyped int", constant.MakeInt64(int64(q.TagGeneralString))}, 67 "TagGeneralizedTime": {"untyped int", constant.MakeInt64(int64(q.TagGeneralizedTime))}, 68 "TagIA5String": {"untyped int", constant.MakeInt64(int64(q.TagIA5String))}, 69 "TagInteger": {"untyped int", constant.MakeInt64(int64(q.TagInteger))}, 70 "TagNull": {"untyped int", constant.MakeInt64(int64(q.TagNull))}, 71 "TagNumericString": {"untyped int", constant.MakeInt64(int64(q.TagNumericString))}, 72 "TagOID": {"untyped int", constant.MakeInt64(int64(q.TagOID))}, 73 "TagOctetString": {"untyped int", constant.MakeInt64(int64(q.TagOctetString))}, 74 "TagPrintableString": {"untyped int", constant.MakeInt64(int64(q.TagPrintableString))}, 75 "TagSequence": {"untyped int", constant.MakeInt64(int64(q.TagSequence))}, 76 "TagSet": {"untyped int", constant.MakeInt64(int64(q.TagSet))}, 77 "TagT61String": {"untyped int", constant.MakeInt64(int64(q.TagT61String))}, 78 "TagUTCTime": {"untyped int", constant.MakeInt64(int64(q.TagUTCTime))}, 79 "TagUTF8String": {"untyped int", constant.MakeInt64(int64(q.TagUTF8String))}, 80 }, 81 }) 82 }