github.com/goplus/gossa@v0.3.25/pkg/crypto/x509/pkix/go115_export.go (about)

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