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