| 1 | // Code generated by 'yaegi extract crypto/x509'. DO NOT EDIT. |
| 2 | |
| 3 | //go:build go1.22 |
| 4 | // +build go1.22 |
| 5 | |
| 6 | package stdlib |
| 7 | |
| 8 | import ( |
| 9 | "crypto/x509" |
| 10 | "reflect" |
| 11 | ) |
| 12 | |
| 13 | func 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 | "OIDFromInts": reflect.ValueOf(x509.OIDFromInts), |
| 72 | "PEMCipher3DES": reflect.ValueOf(x509.PEMCipher3DES), |
| 73 | "PEMCipherAES128": reflect.ValueOf(x509.PEMCipherAES128), |
| 74 | "PEMCipherAES192": reflect.ValueOf(x509.PEMCipherAES192), |
| 75 | "PEMCipherAES256": reflect.ValueOf(x509.PEMCipherAES256), |
| 76 | "PEMCipherDES": reflect.ValueOf(x509.PEMCipherDES), |
| 77 | "ParseCRL": reflect.ValueOf(x509.ParseCRL), |
| 78 | "ParseCertificate": reflect.ValueOf(x509.ParseCertificate), |
| 79 | "ParseCertificateRequest": reflect.ValueOf(x509.ParseCertificateRequest), |
| 80 | "ParseCertificates": reflect.ValueOf(x509.ParseCertificates), |
| 81 | "ParseDERCRL": reflect.ValueOf(x509.ParseDERCRL), |
| 82 | "ParseECPrivateKey": reflect.ValueOf(x509.ParseECPrivateKey), |
| 83 | "ParsePKCS1PrivateKey": reflect.ValueOf(x509.ParsePKCS1PrivateKey), |
| 84 | "ParsePKCS1PublicKey": reflect.ValueOf(x509.ParsePKCS1PublicKey), |
| 85 | "ParsePKCS8PrivateKey": reflect.ValueOf(x509.ParsePKCS8PrivateKey), |
| 86 | "ParsePKIXPublicKey": reflect.ValueOf(x509.ParsePKIXPublicKey), |
| 87 | "ParseRevocationList": reflect.ValueOf(x509.ParseRevocationList), |
| 88 | "PureEd25519": reflect.ValueOf(x509.PureEd25519), |
| 89 | "RSA": reflect.ValueOf(x509.RSA), |
| 90 | "SHA1WithRSA": reflect.ValueOf(x509.SHA1WithRSA), |
| 91 | "SHA256WithRSA": reflect.ValueOf(x509.SHA256WithRSA), |
| 92 | "SHA256WithRSAPSS": reflect.ValueOf(x509.SHA256WithRSAPSS), |
| 93 | "SHA384WithRSA": reflect.ValueOf(x509.SHA384WithRSA), |
| 94 | "SHA384WithRSAPSS": reflect.ValueOf(x509.SHA384WithRSAPSS), |
| 95 | "SHA512WithRSA": reflect.ValueOf(x509.SHA512WithRSA), |
| 96 | "SHA512WithRSAPSS": reflect.ValueOf(x509.SHA512WithRSAPSS), |
| 97 | "SetFallbackRoots": reflect.ValueOf(x509.SetFallbackRoots), |
| 98 | "SystemCertPool": reflect.ValueOf(x509.SystemCertPool), |
| 99 | "TooManyConstraints": reflect.ValueOf(x509.TooManyConstraints), |
| 100 | "TooManyIntermediates": reflect.ValueOf(x509.TooManyIntermediates), |
| 101 | "UnconstrainedName": reflect.ValueOf(x509.UnconstrainedName), |
| 102 | "UnknownPublicKeyAlgorithm": reflect.ValueOf(x509.UnknownPublicKeyAlgorithm), |
| 103 | "UnknownSignatureAlgorithm": reflect.ValueOf(x509.UnknownSignatureAlgorithm), |
| 104 | |
| 105 | // type definitions |
| 106 | "CertPool": reflect.ValueOf((*x509.CertPool)(nil)), |
| 107 | "Certificate": reflect.ValueOf((*x509.Certificate)(nil)), |
| 108 | "CertificateInvalidError": reflect.ValueOf((*x509.CertificateInvalidError)(nil)), |
| 109 | "CertificateRequest": reflect.ValueOf((*x509.CertificateRequest)(nil)), |
| 110 | "ConstraintViolationError": reflect.ValueOf((*x509.ConstraintViolationError)(nil)), |
| 111 | "ExtKeyUsage": reflect.ValueOf((*x509.ExtKeyUsage)(nil)), |
| 112 | "HostnameError": reflect.ValueOf((*x509.HostnameError)(nil)), |
| 113 | "InsecureAlgorithmError": reflect.ValueOf((*x509.InsecureAlgorithmError)(nil)), |
| 114 | "InvalidReason": reflect.ValueOf((*x509.InvalidReason)(nil)), |
| 115 | "KeyUsage": reflect.ValueOf((*x509.KeyUsage)(nil)), |
| 116 | "OID": reflect.ValueOf((*x509.OID)(nil)), |
| 117 | "PEMCipher": reflect.ValueOf((*x509.PEMCipher)(nil)), |
| 118 | "PublicKeyAlgorithm": reflect.ValueOf((*x509.PublicKeyAlgorithm)(nil)), |
| 119 | "RevocationList": reflect.ValueOf((*x509.RevocationList)(nil)), |
| 120 | "RevocationListEntry": reflect.ValueOf((*x509.RevocationListEntry)(nil)), |
| 121 | "SignatureAlgorithm": reflect.ValueOf((*x509.SignatureAlgorithm)(nil)), |
| 122 | "SystemRootsError": reflect.ValueOf((*x509.SystemRootsError)(nil)), |
| 123 | "UnhandledCriticalExtension": reflect.ValueOf((*x509.UnhandledCriticalExtension)(nil)), |
| 124 | "UnknownAuthorityError": reflect.ValueOf((*x509.UnknownAuthorityError)(nil)), |
| 125 | "VerifyOptions": reflect.ValueOf((*x509.VerifyOptions)(nil)), |
| 126 | } |
| 127 | } |