github.com/goplus/igop@v0.25.0/pkg/crypto/x509/pkix/go118_export.go (about)

     1  // export by github.com/goplus/igop/cmd/qexp
     2  
     3  //go:build go1.18 && !go1.19
     4  // +build go1.18,!go1.19
     5  
     6  package pkix
     7  
     8  import (
     9  	q "crypto/x509/pkix"
    10  
    11  	"reflect"
    12  
    13  	"github.com/goplus/igop"
    14  )
    15  
    16  func init() {
    17  	igop.RegisterPackage(&igop.Package{
    18  		Name: "pkix",
    19  		Path: "crypto/x509/pkix",
    20  		Deps: map[string]string{
    21  			"encoding/asn1": "asn1",
    22  			"encoding/hex":  "hex",
    23  			"fmt":           "fmt",
    24  			"math/big":      "big",
    25  			"time":          "time",
    26  		},
    27  		Interfaces: map[string]reflect.Type{},
    28  		NamedTypes: map[string]reflect.Type{
    29  			"AlgorithmIdentifier":          reflect.TypeOf((*q.AlgorithmIdentifier)(nil)).Elem(),
    30  			"AttributeTypeAndValue":        reflect.TypeOf((*q.AttributeTypeAndValue)(nil)).Elem(),
    31  			"AttributeTypeAndValueSET":     reflect.TypeOf((*q.AttributeTypeAndValueSET)(nil)).Elem(),
    32  			"CertificateList":              reflect.TypeOf((*q.CertificateList)(nil)).Elem(),
    33  			"Extension":                    reflect.TypeOf((*q.Extension)(nil)).Elem(),
    34  			"Name":                         reflect.TypeOf((*q.Name)(nil)).Elem(),
    35  			"RDNSequence":                  reflect.TypeOf((*q.RDNSequence)(nil)).Elem(),
    36  			"RelativeDistinguishedNameSET": reflect.TypeOf((*q.RelativeDistinguishedNameSET)(nil)).Elem(),
    37  			"RevokedCertificate":           reflect.TypeOf((*q.RevokedCertificate)(nil)).Elem(),
    38  			"TBSCertificateList":           reflect.TypeOf((*q.TBSCertificateList)(nil)).Elem(),
    39  		},
    40  		AliasTypes:    map[string]reflect.Type{},
    41  		Vars:          map[string]reflect.Value{},
    42  		Funcs:         map[string]reflect.Value{},
    43  		TypedConsts:   map[string]igop.TypedConst{},
    44  		UntypedConsts: map[string]igop.UntypedConst{},
    45  	})
    46  }