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