Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Appid = "2021000117673683" // 私钥 PrivateKey = "" /* 1588-byte string literal not displayed */ // 支付宝公钥证书 AlipayPublicContentRSA2 = []byte(`-----BEGIN CERTIFICATE----- MIIDszCCApugAwIBAgIQICEGEs5toISjThCzk4QcbzANBgkqhkiG9w0BAQsFADCBkTELMAkGA1UE BhMCQ04xGzAZBgNVBAoMEkFudCBGaW5hbmNpYWwgdGVzdDElMCMGA1UECwwcQ2VydGlmaWNhdGlv biBBdXRob3JpdHkgdGVzdDE+MDwGA1UEAww1QW50IEZpbmFuY2lhbCBDZXJ0aWZpY2F0aW9uIEF1 dGhvcml0eSBDbGFzcyAyIFIxIHRlc3QwHhcNMjEwNjEyMDkwNjIwWhcNMjQwNjEwMDkwNjIwWjCB hDELMAkGA1UEBhMCQ04xHzAdBgNVBAoMFndoeGh4azI3OTdAc2FuZGJveC5jb20xDzANBgNVBAsM BkFsaXBheTFDMEEGA1UEAww65pSv5LuY5a6dKOS4reWbvSnnvZHnu5zmioDmnK/mnInpmZDlhazl j7gtMjA4ODYyMTk1NTk2ODg5ODCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKXjSPJi S8SHSbjq99Q++KGJ5UImEHTYHStD0wPRkLrLD+XNwU3z+O9b3R1KOLukqTTJIjoMiiFjzlNI1Yj9 4+WysoS+Kl52WKp2SPOd8zPW1oq3qgeMqka5brHogbhkGbSbzgW+KsDPnP0+z9QKUSt7mxXl5kMq eA1V23W2e94/99ITXuho5oHeyytxOXbe+FMqI0xA7raQ92JBd0BWMTyNY2YbZGHbeTNtkz+IQ/bP zphCRJ0XIChiYWXHruTZvXA+Q8eRtaJme/94xkDYCIJbgAAoXgfa6kpRqXs4KYxxH0g+ol7wiZ9x HXfzmAla97tPylMniBJ4UMlHu6nLQxsCAwEAAaMSMBAwDgYDVR0PAQH/BAQDAgTwMA0GCSqGSIb3 DQEBCwUAA4IBAQA1Ixqig4lSOB1NKV0Av4zhQGOzi1hV+Lyj+7EO3S8l3l8rIcAbwoAAo9pgM7qN 5/Soudso+KkaG2v4n0jVJp/fDeFkRkQ3RHV/D52X2Ev+7bAn22OOUukNk24yhhaNk1Fx3clipgyQ JCP9OfTF/tmHdAunqgVEv97NDbZ+bnD/8NiRVvN/M9ge/nnKv+VvwAmm0aFmLle1YUtbe+Iu9lKL I6KMVtXmuLs0sG08js202fuWCribWY0vg7LUmIwczgeZjr3oX8E/SNtsAj4Z+zUYZ4MP3sgYRCRC T/gvZ1y0v9+Q58MeZC5MZfDPAzyxYwAGOvBF11jKeXG3nW4WyGCT -----END CERTIFICATE-----`) // 支付宝根证书 AlipayRootContent = []byte(`-----BEGIN CERTIFICATE----- MIIBszCCAVegAwIBAgIIaeL+wBcKxnswDAYIKoEcz1UBg3UFADAuMQswCQYDVQQG EwJDTjEOMAwGA1UECgwFTlJDQUMxDzANBgNVBAMMBlJPT1RDQTAeFw0xMjA3MTQw MzExNTlaFw00MjA3MDcwMzExNTlaMC4xCzAJBgNVBAYTAkNOMQ4wDAYDVQQKDAVO UkNBQzEPMA0GA1UEAwwGUk9PVENBMFkwEwYHKoZIzj0CAQYIKoEcz1UBgi0DQgAE MPCca6pmgcchsTf2UnBeL9rtp4nw+itk1Kzrmbnqo05lUwkwlWK+4OIrtFdAqnRT V7Q9v1htkv42TsIutzd126NdMFswHwYDVR0jBBgwFoAUTDKxl9kzG8SmBcHG5Yti W/CXdlgwDAYDVR0TBAUwAwEB/zALBgNVHQ8EBAMCAQYwHQYDVR0OBBYEFEwysZfZ MxvEpgXBxuWLYlvwl3ZYMAwGCCqBHM9VAYN1BQADSAAwRQIgG1bSLeOXp3oB8H7b 53W+CKOPl2PknmWEq/lMhtn25HkCIQDaHDgWxWFtnCrBjH16/W3Ezn7/U/Vjo5xI pDoiVhsLwg== -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- MIIF0zCCA7ugAwIBAgIIH8+hjWpIDREwDQYJKoZIhvcNAQELB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2hp bmEgVHJ1c3QgTmV0d29yazEoMCYGA1UEAwwfaVRydXNDaGluYSBDbGFzcyAyIFJv b3QgQ0EgLSBHMzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOPPShpV nJbMqqCw6Bz1kehnoPst9pkr0V9idOwU2oyS47/HjJXk9Rd5a9xfwkPO88trUpz5 4GmmwspDXjVFu9L0eFaRuH3KMha1Ak01citbF7cQLJlS7XI+tpkTGHEY5pt3EsQg wykfZl/A1jrnSkspMS997r2Gim54cwz+mTMgDRhZsKK/lbOeBPpWtcFizjXYCqhw WktvQfZBYi6o4sHCshnOswi4yV1p+LuFcQ2ciYdWvULh1eZhLxHbGXyznYHi0dGN z+I9H8aXxqAQfHVhbdHNzi77hCxFjOy+hHrGsyzjrd2swVQ2iUWP8BfEQqGLqM1g KgWKYfcTGdbPB1MCAwEAAaNjMGEwHQYDVR0OBBYEFG/oAMxTVe7y0+408CTAK8hA uTyRMB8GA1UdIwQYMBaAFG/oAMxTVe7y0+408CTAK8hAuTyRMA8GA1UdEwEB/wQF MAMBAf8wDgYDVR0PAQH/BAQDAgEGMA0GCSqGSIb3DQEBBQUAA4IBAQBLnUTfW7hp emMbuUGCk7RBswzOT83bDM6824EkUnf+X0iKS95SUNGeeSWK2o/3ALJo5hi7GZr3 U8eLaWAcYizfO99UXMRBPw5PRR+gXGEronGUugLpxsjuynoLQu8GQAeysSXKbN1I UugDo9u8igJORYA+5ms0s5sCUySqbQ2R5z/GoceyI9LdxIVa1RjVX8pYOj8JFwtn DJN3ftSFvNMYwRuILKuqUYSHc2GPYiHVflDh5nDymCMOQFcFG3WsEuB+EYQPFgIU 1DHmdZcz7Llx8UOZXX2JupWCYzK1XhJb+r4hK5ncf/w8qGtYlmyJpxk3hr1TfUJX Yf4Zr0fJsGuv -----END CERTIFICATE-----`) // 应用公钥证书 AppPublicContent = []byte(`-----BEGIN CERTIFICATE----- MIIDmTCCAoGgAwIBAgIQICEGEtdR5YUIwp9bt5LmG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dYSZ6U9Rb0DUa5fqXH3ufl542J+T YEyq5nnILI9wBJuHhoioU0qx7EJHhinx5YOcdxolGrgPYhYBTcy37by3sTTaHJaGfxu9xjowB8W1 wKOgdtsFqrqhe73pTQ== -----END CERTIFICATE-----`) )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.