github.com/goplus/igop@v0.25.0/pkg/crypto/x509/go114_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //+build go1.14,!go1.15 4 5 package x509 6 7 import ( 8 q "crypto/x509" 9 10 "go/constant" 11 "reflect" 12 13 "github.com/goplus/igop" 14 ) 15 16 func init() { 17 igop.RegisterPackage(&igop.Package{ 18 Name: "x509", 19 Path: "crypto/x509", 20 Deps: map[string]string{ 21 "bufio": "bufio", 22 "bytes": "bytes", 23 "crypto": "crypto", 24 "crypto/aes": "aes", 25 "crypto/cipher": "cipher", 26 "crypto/des": "des", 27 "crypto/dsa": "dsa", 28 "crypto/ecdsa": "ecdsa", 29 "crypto/ed25519": "ed25519", 30 "crypto/elliptic": "elliptic", 31 "crypto/md5": "md5", 32 "crypto/rsa": "rsa", 33 "crypto/sha1": "sha1", 34 "crypto/sha256": "sha256", 35 "crypto/sha512": "sha512", 36 "crypto/x509/pkix": "pkix", 37 "encoding/asn1": "asn1", 38 "encoding/hex": "hex", 39 "encoding/pem": "pem", 40 "errors": "errors", 41 "fmt": "fmt", 42 "io": "io", 43 "io/ioutil": "ioutil", 44 "math/big": "big", 45 "net": "net", 46 "net/url": "url", 47 "os": "os", 48 "os/exec": "exec", 49 "path/filepath": "filepath", 50 "reflect": "reflect", 51 "runtime": "runtime", 52 "runtime/cgo": "cgo", 53 "strconv": "strconv", 54 "strings": "strings", 55 "sync": "sync", 56 "syscall": "syscall", 57 "time": "time", 58 "unicode/utf8": "utf8", 59 "unsafe": "unsafe", 60 "vendor/golang.org/x/crypto/cryptobyte": "cryptobyte", 61 "vendor/golang.org/x/crypto/cryptobyte/asn1": "asn1", 62 }, 63 Interfaces: map[string]reflect.Type{}, 64 NamedTypes: map[string]reflect.Type{ 65 "CertPool": reflect.TypeOf((*q.CertPool)(nil)).Elem(), 66 "Certificate": reflect.TypeOf((*q.Certificate)(nil)).Elem(), 67 "CertificateInvalidError": reflect.TypeOf((*q.CertificateInvalidError)(nil)).Elem(), 68 "CertificateRequest": reflect.TypeOf((*q.CertificateRequest)(nil)).Elem(), 69 "ConstraintViolationError": reflect.TypeOf((*q.ConstraintViolationError)(nil)).Elem(), 70 "ExtKeyUsage": reflect.TypeOf((*q.ExtKeyUsage)(nil)).Elem(), 71 "HostnameError": reflect.TypeOf((*q.HostnameError)(nil)).Elem(), 72 "InsecureAlgorithmError": reflect.TypeOf((*q.InsecureAlgorithmError)(nil)).Elem(), 73 "InvalidReason": reflect.TypeOf((*q.InvalidReason)(nil)).Elem(), 74 "KeyUsage": reflect.TypeOf((*q.KeyUsage)(nil)).Elem(), 75 "PEMCipher": reflect.TypeOf((*q.PEMCipher)(nil)).Elem(), 76 "PublicKeyAlgorithm": reflect.TypeOf((*q.PublicKeyAlgorithm)(nil)).Elem(), 77 "SignatureAlgorithm": reflect.TypeOf((*q.SignatureAlgorithm)(nil)).Elem(), 78 "SystemRootsError": reflect.TypeOf((*q.SystemRootsError)(nil)).Elem(), 79 "UnhandledCriticalExtension": reflect.TypeOf((*q.UnhandledCriticalExtension)(nil)).Elem(), 80 "UnknownAuthorityError": reflect.TypeOf((*q.UnknownAuthorityError)(nil)).Elem(), 81 "VerifyOptions": reflect.TypeOf((*q.VerifyOptions)(nil)).Elem(), 82 }, 83 AliasTypes: map[string]reflect.Type{}, 84 Vars: map[string]reflect.Value{ 85 "ErrUnsupportedAlgorithm": reflect.ValueOf(&q.ErrUnsupportedAlgorithm), 86 "IncorrectPasswordError": reflect.ValueOf(&q.IncorrectPasswordError), 87 }, 88 Funcs: map[string]reflect.Value{ 89 "CreateCertificate": reflect.ValueOf(q.CreateCertificate), 90 "CreateCertificateRequest": reflect.ValueOf(q.CreateCertificateRequest), 91 "DecryptPEMBlock": reflect.ValueOf(q.DecryptPEMBlock), 92 "EncryptPEMBlock": reflect.ValueOf(q.EncryptPEMBlock), 93 "IsEncryptedPEMBlock": reflect.ValueOf(q.IsEncryptedPEMBlock), 94 "MarshalECPrivateKey": reflect.ValueOf(q.MarshalECPrivateKey), 95 "MarshalPKCS1PrivateKey": reflect.ValueOf(q.MarshalPKCS1PrivateKey), 96 "MarshalPKCS1PublicKey": reflect.ValueOf(q.MarshalPKCS1PublicKey), 97 "MarshalPKCS8PrivateKey": reflect.ValueOf(q.MarshalPKCS8PrivateKey), 98 "MarshalPKIXPublicKey": reflect.ValueOf(q.MarshalPKIXPublicKey), 99 "NewCertPool": reflect.ValueOf(q.NewCertPool), 100 "ParseCRL": reflect.ValueOf(q.ParseCRL), 101 "ParseCertificate": reflect.ValueOf(q.ParseCertificate), 102 "ParseCertificateRequest": reflect.ValueOf(q.ParseCertificateRequest), 103 "ParseCertificates": reflect.ValueOf(q.ParseCertificates), 104 "ParseDERCRL": reflect.ValueOf(q.ParseDERCRL), 105 "ParseECPrivateKey": reflect.ValueOf(q.ParseECPrivateKey), 106 "ParsePKCS1PrivateKey": reflect.ValueOf(q.ParsePKCS1PrivateKey), 107 "ParsePKCS1PublicKey": reflect.ValueOf(q.ParsePKCS1PublicKey), 108 "ParsePKCS8PrivateKey": reflect.ValueOf(q.ParsePKCS8PrivateKey), 109 "ParsePKIXPublicKey": reflect.ValueOf(q.ParsePKIXPublicKey), 110 "SystemCertPool": reflect.ValueOf(q.SystemCertPool), 111 }, 112 TypedConsts: map[string]igop.TypedConst{ 113 "CANotAuthorizedForExtKeyUsage": {reflect.TypeOf(q.CANotAuthorizedForExtKeyUsage), constant.MakeInt64(int64(q.CANotAuthorizedForExtKeyUsage))}, 114 "CANotAuthorizedForThisName": {reflect.TypeOf(q.CANotAuthorizedForThisName), constant.MakeInt64(int64(q.CANotAuthorizedForThisName))}, 115 "DSA": {reflect.TypeOf(q.DSA), constant.MakeInt64(int64(q.DSA))}, 116 "DSAWithSHA1": {reflect.TypeOf(q.DSAWithSHA1), constant.MakeInt64(int64(q.DSAWithSHA1))}, 117 "DSAWithSHA256": {reflect.TypeOf(q.DSAWithSHA256), constant.MakeInt64(int64(q.DSAWithSHA256))}, 118 "ECDSA": {reflect.TypeOf(q.ECDSA), constant.MakeInt64(int64(q.ECDSA))}, 119 "ECDSAWithSHA1": {reflect.TypeOf(q.ECDSAWithSHA1), constant.MakeInt64(int64(q.ECDSAWithSHA1))}, 120 "ECDSAWithSHA256": {reflect.TypeOf(q.ECDSAWithSHA256), constant.MakeInt64(int64(q.ECDSAWithSHA256))}, 121 "ECDSAWithSHA384": {reflect.TypeOf(q.ECDSAWithSHA384), constant.MakeInt64(int64(q.ECDSAWithSHA384))}, 122 "ECDSAWithSHA512": {reflect.TypeOf(q.ECDSAWithSHA512), constant.MakeInt64(int64(q.ECDSAWithSHA512))}, 123 "Ed25519": {reflect.TypeOf(q.Ed25519), constant.MakeInt64(int64(q.Ed25519))}, 124 "Expired": {reflect.TypeOf(q.Expired), constant.MakeInt64(int64(q.Expired))}, 125 "ExtKeyUsageAny": {reflect.TypeOf(q.ExtKeyUsageAny), constant.MakeInt64(int64(q.ExtKeyUsageAny))}, 126 "ExtKeyUsageClientAuth": {reflect.TypeOf(q.ExtKeyUsageClientAuth), constant.MakeInt64(int64(q.ExtKeyUsageClientAuth))}, 127 "ExtKeyUsageCodeSigning": {reflect.TypeOf(q.ExtKeyUsageCodeSigning), constant.MakeInt64(int64(q.ExtKeyUsageCodeSigning))}, 128 "ExtKeyUsageEmailProtection": {reflect.TypeOf(q.ExtKeyUsageEmailProtection), constant.MakeInt64(int64(q.ExtKeyUsageEmailProtection))}, 129 "ExtKeyUsageIPSECEndSystem": {reflect.TypeOf(q.ExtKeyUsageIPSECEndSystem), constant.MakeInt64(int64(q.ExtKeyUsageIPSECEndSystem))}, 130 "ExtKeyUsageIPSECTunnel": {reflect.TypeOf(q.ExtKeyUsageIPSECTunnel), constant.MakeInt64(int64(q.ExtKeyUsageIPSECTunnel))}, 131 "ExtKeyUsageIPSECUser": {reflect.TypeOf(q.ExtKeyUsageIPSECUser), constant.MakeInt64(int64(q.ExtKeyUsageIPSECUser))}, 132 "ExtKeyUsageMicrosoftCommercialCodeSigning": {reflect.TypeOf(q.ExtKeyUsageMicrosoftCommercialCodeSigning), constant.MakeInt64(int64(q.ExtKeyUsageMicrosoftCommercialCodeSigning))}, 133 "ExtKeyUsageMicrosoftKernelCodeSigning": {reflect.TypeOf(q.ExtKeyUsageMicrosoftKernelCodeSigning), constant.MakeInt64(int64(q.ExtKeyUsageMicrosoftKernelCodeSigning))}, 134 "ExtKeyUsageMicrosoftServerGatedCrypto": {reflect.TypeOf(q.ExtKeyUsageMicrosoftServerGatedCrypto), constant.MakeInt64(int64(q.ExtKeyUsageMicrosoftServerGatedCrypto))}, 135 "ExtKeyUsageNetscapeServerGatedCrypto": {reflect.TypeOf(q.ExtKeyUsageNetscapeServerGatedCrypto), constant.MakeInt64(int64(q.ExtKeyUsageNetscapeServerGatedCrypto))}, 136 "ExtKeyUsageOCSPSigning": {reflect.TypeOf(q.ExtKeyUsageOCSPSigning), constant.MakeInt64(int64(q.ExtKeyUsageOCSPSigning))}, 137 "ExtKeyUsageServerAuth": {reflect.TypeOf(q.ExtKeyUsageServerAuth), constant.MakeInt64(int64(q.ExtKeyUsageServerAuth))}, 138 "ExtKeyUsageTimeStamping": {reflect.TypeOf(q.ExtKeyUsageTimeStamping), constant.MakeInt64(int64(q.ExtKeyUsageTimeStamping))}, 139 "IncompatibleUsage": {reflect.TypeOf(q.IncompatibleUsage), constant.MakeInt64(int64(q.IncompatibleUsage))}, 140 "KeyUsageCRLSign": {reflect.TypeOf(q.KeyUsageCRLSign), constant.MakeInt64(int64(q.KeyUsageCRLSign))}, 141 "KeyUsageCertSign": {reflect.TypeOf(q.KeyUsageCertSign), constant.MakeInt64(int64(q.KeyUsageCertSign))}, 142 "KeyUsageContentCommitment": {reflect.TypeOf(q.KeyUsageContentCommitment), constant.MakeInt64(int64(q.KeyUsageContentCommitment))}, 143 "KeyUsageDataEncipherment": {reflect.TypeOf(q.KeyUsageDataEncipherment), constant.MakeInt64(int64(q.KeyUsageDataEncipherment))}, 144 "KeyUsageDecipherOnly": {reflect.TypeOf(q.KeyUsageDecipherOnly), constant.MakeInt64(int64(q.KeyUsageDecipherOnly))}, 145 "KeyUsageDigitalSignature": {reflect.TypeOf(q.KeyUsageDigitalSignature), constant.MakeInt64(int64(q.KeyUsageDigitalSignature))}, 146 "KeyUsageEncipherOnly": {reflect.TypeOf(q.KeyUsageEncipherOnly), constant.MakeInt64(int64(q.KeyUsageEncipherOnly))}, 147 "KeyUsageKeyAgreement": {reflect.TypeOf(q.KeyUsageKeyAgreement), constant.MakeInt64(int64(q.KeyUsageKeyAgreement))}, 148 "KeyUsageKeyEncipherment": {reflect.TypeOf(q.KeyUsageKeyEncipherment), constant.MakeInt64(int64(q.KeyUsageKeyEncipherment))}, 149 "MD2WithRSA": {reflect.TypeOf(q.MD2WithRSA), constant.MakeInt64(int64(q.MD2WithRSA))}, 150 "MD5WithRSA": {reflect.TypeOf(q.MD5WithRSA), constant.MakeInt64(int64(q.MD5WithRSA))}, 151 "NameConstraintsWithoutSANs": {reflect.TypeOf(q.NameConstraintsWithoutSANs), constant.MakeInt64(int64(q.NameConstraintsWithoutSANs))}, 152 "NameMismatch": {reflect.TypeOf(q.NameMismatch), constant.MakeInt64(int64(q.NameMismatch))}, 153 "NotAuthorizedToSign": {reflect.TypeOf(q.NotAuthorizedToSign), constant.MakeInt64(int64(q.NotAuthorizedToSign))}, 154 "PEMCipher3DES": {reflect.TypeOf(q.PEMCipher3DES), constant.MakeInt64(int64(q.PEMCipher3DES))}, 155 "PEMCipherAES128": {reflect.TypeOf(q.PEMCipherAES128), constant.MakeInt64(int64(q.PEMCipherAES128))}, 156 "PEMCipherAES192": {reflect.TypeOf(q.PEMCipherAES192), constant.MakeInt64(int64(q.PEMCipherAES192))}, 157 "PEMCipherAES256": {reflect.TypeOf(q.PEMCipherAES256), constant.MakeInt64(int64(q.PEMCipherAES256))}, 158 "PEMCipherDES": {reflect.TypeOf(q.PEMCipherDES), constant.MakeInt64(int64(q.PEMCipherDES))}, 159 "PureEd25519": {reflect.TypeOf(q.PureEd25519), constant.MakeInt64(int64(q.PureEd25519))}, 160 "RSA": {reflect.TypeOf(q.RSA), constant.MakeInt64(int64(q.RSA))}, 161 "SHA1WithRSA": {reflect.TypeOf(q.SHA1WithRSA), constant.MakeInt64(int64(q.SHA1WithRSA))}, 162 "SHA256WithRSA": {reflect.TypeOf(q.SHA256WithRSA), constant.MakeInt64(int64(q.SHA256WithRSA))}, 163 "SHA256WithRSAPSS": {reflect.TypeOf(q.SHA256WithRSAPSS), constant.MakeInt64(int64(q.SHA256WithRSAPSS))}, 164 "SHA384WithRSA": {reflect.TypeOf(q.SHA384WithRSA), constant.MakeInt64(int64(q.SHA384WithRSA))}, 165 "SHA384WithRSAPSS": {reflect.TypeOf(q.SHA384WithRSAPSS), constant.MakeInt64(int64(q.SHA384WithRSAPSS))}, 166 "SHA512WithRSA": {reflect.TypeOf(q.SHA512WithRSA), constant.MakeInt64(int64(q.SHA512WithRSA))}, 167 "SHA512WithRSAPSS": {reflect.TypeOf(q.SHA512WithRSAPSS), constant.MakeInt64(int64(q.SHA512WithRSAPSS))}, 168 "TooManyConstraints": {reflect.TypeOf(q.TooManyConstraints), constant.MakeInt64(int64(q.TooManyConstraints))}, 169 "TooManyIntermediates": {reflect.TypeOf(q.TooManyIntermediates), constant.MakeInt64(int64(q.TooManyIntermediates))}, 170 "UnconstrainedName": {reflect.TypeOf(q.UnconstrainedName), constant.MakeInt64(int64(q.UnconstrainedName))}, 171 "UnknownPublicKeyAlgorithm": {reflect.TypeOf(q.UnknownPublicKeyAlgorithm), constant.MakeInt64(int64(q.UnknownPublicKeyAlgorithm))}, 172 "UnknownSignatureAlgorithm": {reflect.TypeOf(q.UnknownSignatureAlgorithm), constant.MakeInt64(int64(q.UnknownSignatureAlgorithm))}, 173 }, 174 UntypedConsts: map[string]igop.UntypedConst{}, 175 }) 176 }