1// Code generated by 'yaegi extract crypto/x509'. DO NOT EDIT.
2
3//go:build go1.17
4// +build go1.17
5
6package stdlib
7
8import (
9	"crypto/x509"
10	"reflect"
11)
12
13func init() {
14	Symbols["crypto/x509/x509"] = map[string]reflect.Value{
15		// function, constant and variable definitions
16		"CANotAuthorizedForExtKeyUsage":             reflect.ValueOf(x509.CANotAuthorizedForExtKeyUsage),
17		"CANotAuthorizedForThisName":                reflect.ValueOf(x509.CANotAuthorizedForThisName),
18		"CreateCertificate":                         reflect.ValueOf(x509.CreateCertificate),
19		"CreateCertificateRequest":                  reflect.ValueOf(x509.CreateCertificateRequest),
20		"CreateRevocationList":                      reflect.ValueOf(x509.CreateRevocationList),
21		"DSA":                                       reflect.ValueOf(x509.DSA),
22		"DSAWithSHA1":                               reflect.ValueOf(x509.DSAWithSHA1),
23		"DSAWithSHA256":                             reflect.ValueOf(x509.DSAWithSHA256),
24		"DecryptPEMBlock":                           reflect.ValueOf(x509.DecryptPEMBlock),
25		"ECDSA":                                     reflect.ValueOf(x509.ECDSA),
26		"ECDSAWithSHA1":                             reflect.ValueOf(x509.ECDSAWithSHA1),
27		"ECDSAWithSHA256":                           reflect.ValueOf(x509.ECDSAWithSHA256),
28		"ECDSAWithSHA384":                           reflect.ValueOf(x509.ECDSAWithSHA384),
29		"ECDSAWithSHA512":                           reflect.ValueOf(x509.ECDSAWithSHA512),
30		"Ed25519":                                   reflect.ValueOf(x509.Ed25519),
31		"EncryptPEMBlock":                           reflect.ValueOf(x509.EncryptPEMBlock),
32		"ErrUnsupportedAlgorithm":                   reflect.ValueOf(&x509.ErrUnsupportedAlgorithm).Elem(),
33		"Expired":                                   reflect.ValueOf(x509.Expired),
34		"ExtKeyUsageAny":                            reflect.ValueOf(x509.ExtKeyUsageAny),
35		"ExtKeyUsageClientAuth":                     reflect.ValueOf(x509.ExtKeyUsageClientAuth),
36		"ExtKeyUsageCodeSigning":                    reflect.ValueOf(x509.ExtKeyUsageCodeSigning),
37		"ExtKeyUsageEmailProtection":                reflect.ValueOf(x509.ExtKeyUsageEmailProtection),
38		"ExtKeyUsageIPSECEndSystem":                 reflect.ValueOf(x509.ExtKeyUsageIPSECEndSystem),
39		"ExtKeyUsageIPSECTunnel":                    reflect.ValueOf(x509.ExtKeyUsageIPSECTunnel),
40		"ExtKeyUsageIPSECUser":                      reflect.ValueOf(x509.ExtKeyUsageIPSECUser),
41		"ExtKeyUsageMicrosoftCommercialCodeSigning": reflect.ValueOf(x509.ExtKeyUsageMicrosoftCommercialCodeSigning),
42		"ExtKeyUsageMicrosoftKernelCodeSigning":     reflect.ValueOf(x509.ExtKeyUsageMicrosoftKernelCodeSigning),
43		"ExtKeyUsageMicrosoftServerGatedCrypto":     reflect.ValueOf(x509.ExtKeyUsageMicrosoftServerGatedCrypto),
44		"ExtKeyUsageNetscapeServerGatedCrypto":      reflect.ValueOf(x509.ExtKeyUsageNetscapeServerGatedCrypto),
45		"ExtKeyUsageOCSPSigning":                    reflect.ValueOf(x509.ExtKeyUsageOCSPSigning),
46		"ExtKeyUsageServerAuth":                     reflect.ValueOf(x509.ExtKeyUsageServerAuth),
47		"ExtKeyUsageTimeStamping":                   reflect.ValueOf(x509.ExtKeyUsageTimeStamping),
48		"IncompatibleUsage":                         reflect.ValueOf(x509.IncompatibleUsage),
49		"IncorrectPasswordError":                    reflect.ValueOf(&x509.IncorrectPasswordError).Elem(),
50		"IsEncryptedPEMBlock":                       reflect.ValueOf(x509.IsEncryptedPEMBlock),
51		"KeyUsageCRLSign":                           reflect.ValueOf(x509.KeyUsageCRLSign),
52		"KeyUsageCertSign":                          reflect.ValueOf(x509.KeyUsageCertSign),
53		"KeyUsageContentCommitment":                 reflect.ValueOf(x509.KeyUsageContentCommitment),
54		"KeyUsageDataEncipherment":                  reflect.ValueOf(x509.KeyUsageDataEncipherment),
55		"KeyUsageDecipherOnly":                      reflect.ValueOf(x509.KeyUsageDecipherOnly),
56		"KeyUsageDigitalSignature":                  reflect.ValueOf(x509.KeyUsageDigitalSignature),
57		"KeyUsageEncipherOnly":                      reflect.ValueOf(x509.KeyUsageEncipherOnly),
58		"KeyUsageKeyAgreement":                      reflect.ValueOf(x509.KeyUsageKeyAgreement),
59		"KeyUsageKeyEncipherment":                   reflect.ValueOf(x509.KeyUsageKeyEncipherment),
60		"MD2WithRSA":                                reflect.ValueOf(x509.MD2WithRSA),
61		"MD5WithRSA":                                reflect.ValueOf(x509.MD5WithRSA),
62		"MarshalECPrivateKey":                       reflect.ValueOf(x509.MarshalECPrivateKey),
63		"MarshalPKCS1PrivateKey":                    reflect.ValueOf(x509.MarshalPKCS1PrivateKey),
64		"MarshalPKCS1PublicKey":                     reflect.ValueOf(x509.MarshalPKCS1PublicKey),
65		"MarshalPKCS8PrivateKey":                    reflect.ValueOf(x509.MarshalPKCS8PrivateKey),
66		"MarshalPKIXPublicKey":                      reflect.ValueOf(x509.MarshalPKIXPublicKey),
67		"NameConstraintsWithoutSANs":                reflect.ValueOf(x509.NameConstraintsWithoutSANs),
68		"NameMismatch":                              reflect.ValueOf(x509.NameMismatch),
69		"NewCertPool":                               reflect.ValueOf(x509.NewCertPool),
70		"NotAuthorizedToSign":                       reflect.ValueOf(x509.NotAuthorizedToSign),
71		"PEMCipher3DES":                             reflect.ValueOf(x509.PEMCipher3DES),
72		"PEMCipherAES128":                           reflect.ValueOf(x509.PEMCipherAES128),
73		"PEMCipherAES192":                           reflect.ValueOf(x509.PEMCipherAES192),
74		"PEMCipherAES256":                           reflect.ValueOf(x509.PEMCipherAES256),
75		"PEMCipherDES":                              reflect.ValueOf(x509.PEMCipherDES),
76		"ParseCRL":                                  reflect.ValueOf(x509.ParseCRL),
77		"ParseCertificate":                          reflect.ValueOf(x509.ParseCertificate),
78		"ParseCertificateRequest":                   reflect.ValueOf(x509.ParseCertificateRequest),
79		"ParseCertificates":                         reflect.ValueOf(x509.ParseCertificates),
80		"ParseDERCRL":                               reflect.ValueOf(x509.ParseDERCRL),
81		"ParseECPrivateKey":                         reflect.ValueOf(x509.ParseECPrivateKey),
82		"ParsePKCS1PrivateKey":                      reflect.ValueOf(x509.ParsePKCS1PrivateKey),
83		"ParsePKCS1PublicKey":                       reflect.ValueOf(x509.ParsePKCS1PublicKey),
84		"ParsePKCS8PrivateKey":                      reflect.ValueOf(x509.ParsePKCS8PrivateKey),
85		"ParsePKIXPublicKey":                        reflect.ValueOf(x509.ParsePKIXPublicKey),
86		"PureEd25519":                               reflect.ValueOf(x509.PureEd25519),
87		"RSA":                                       reflect.ValueOf(x509.RSA),
88		"SHA1WithRSA":                               reflect.ValueOf(x509.SHA1WithRSA),
89		"SHA256WithRSA":                             reflect.ValueOf(x509.SHA256WithRSA),
90		"SHA256WithRSAPSS":                          reflect.ValueOf(x509.SHA256WithRSAPSS),
91		"SHA384WithRSA":                             reflect.ValueOf(x509.SHA384WithRSA),
92		"SHA384WithRSAPSS":                          reflect.ValueOf(x509.SHA384WithRSAPSS),
93		"SHA512WithRSA":                             reflect.ValueOf(x509.SHA512WithRSA),
94		"SHA512WithRSAPSS":                          reflect.ValueOf(x509.SHA512WithRSAPSS),
95		"SystemCertPool":                            reflect.ValueOf(x509.SystemCertPool),
96		"TooManyConstraints":                        reflect.ValueOf(x509.TooManyConstraints),
97		"TooManyIntermediates":                      reflect.ValueOf(x509.TooManyIntermediates),
98		"UnconstrainedName":                         reflect.ValueOf(x509.UnconstrainedName),
99		"UnknownPublicKeyAlgorithm":                 reflect.ValueOf(x509.UnknownPublicKeyAlgorithm),
100		"UnknownSignatureAlgorithm":                 reflect.ValueOf(x509.UnknownSignatureAlgorithm),
101
102		// type definitions
103		"CertPool":                   reflect.ValueOf((*x509.CertPool)(nil)),
104		"Certificate":                reflect.ValueOf((*x509.Certificate)(nil)),
105		"CertificateInvalidError":    reflect.ValueOf((*x509.CertificateInvalidError)(nil)),
106		"CertificateRequest":         reflect.ValueOf((*x509.CertificateRequest)(nil)),
107		"ConstraintViolationError":   reflect.ValueOf((*x509.ConstraintViolationError)(nil)),
108		"ExtKeyUsage":                reflect.ValueOf((*x509.ExtKeyUsage)(nil)),
109		"HostnameError":              reflect.ValueOf((*x509.HostnameError)(nil)),
110		"InsecureAlgorithmError":     reflect.ValueOf((*x509.InsecureAlgorithmError)(nil)),
111		"InvalidReason":              reflect.ValueOf((*x509.InvalidReason)(nil)),
112		"KeyUsage":                   reflect.ValueOf((*x509.KeyUsage)(nil)),
113		"PEMCipher":                  reflect.ValueOf((*x509.PEMCipher)(nil)),
114		"PublicKeyAlgorithm":         reflect.ValueOf((*x509.PublicKeyAlgorithm)(nil)),
115		"RevocationList":             reflect.ValueOf((*x509.RevocationList)(nil)),
116		"SignatureAlgorithm":         reflect.ValueOf((*x509.SignatureAlgorithm)(nil)),
117		"SystemRootsError":           reflect.ValueOf((*x509.SystemRootsError)(nil)),
118		"UnhandledCriticalExtension": reflect.ValueOf((*x509.UnhandledCriticalExtension)(nil)),
119		"UnknownAuthorityError":      reflect.ValueOf((*x509.UnknownAuthorityError)(nil)),
120		"VerifyOptions":              reflect.ValueOf((*x509.VerifyOptions)(nil)),
121	}
122}
123