开发者社区> 问答> 正文

关于支付宝RSA2证书

1、https://docs.open.alipay.com/291/105971这个官方生成的签名工具竟然不支持空格?(大部分程序安装路径不都是C:\Program Files,竟然不支持?)

2、这个工具加密签名怎么操作? 比如,我生成一个RSA2私钥

MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCB02hPEsuRL30rAjPhXj/THemcEGN/U9ChhhpyEG3r1NeUFksu37tj/fO4KBftzAcgn2RxkU0qXL+esd0VHxti/ZHYelJ20VNiRJbdddVMUzsnVSNDFzPoKIXiu1ryhmcK/C7Yyt/njJ6X51VkBWsQf6RL0x2lkCUfmUirdhd3Lwd8w56hNXrOXbLlat3U684gpod17EOl+UxmyaXqwvWm2bl0vuJ4Le34VyD+o2aILjuNX2JMSZ8RjqRnetYhvKOd9VOLjE73kA4V6gYEutC7cz6BLme8VxP7NTgWb8YSL/qy6Vy/4VbbjSQUynamDCR7j4dTr7GjQtQ3HJlquPoHAgMBAAECggEAMaOFhIZpM0/3CdTDxW3l9XDAe52AjZScdsXxop9JiBxPeR21DW0aFzdoUodx7shOCVkobIvj90iTM7hKEeNc81KEy0Kp+Sg8O5yCGpcNQSupuHZDD0n13NRxrKl6MrTU/UxDFT0sszn/AZHAAohX0W0cgqlr8nvU1eoj8PssKbNQ/t3slIeAayMyUqIWFvSOeg+NOetKKtD/b10hkBzNj2pNDAGUgzI3bCK+tUAhrINNu0TOT22Qul0vC2sDNW4eZ4vs6JLkMRdYrR/UkqY6iETnlqfd9qETXd0hY19PsNSetiuO7uH+yDzwBVRyMYECshn/TkuPunXem2ZVbdlJ4QKBgQDiInBrwR5U9pr5tQGF4w/AOKB4KsIt7lxJ+XKodJ15Sq47sN3vgozMxkTqOnhzmejnXIiBMmFyzLBsHWyVbwoRUu4tp4rpWaqTQeT7l4uVmmZX26uU97RLhhASJUwoeQ/pefQ1gvo521PZaaxiclM7mZ2Jgu+QVVbrDM5/GOsizwKBgQCS+Mpy8oUQxTD7su5FR3cvNIXksnImU+5j01qeHD1AknC2UcbUthjWgsc3ugZNybT4VyUeuTidTYhJUuw/GYqrFMvjinjMFiBjrFrXHYexKcKruTF0UtYMaCUYNMONFlAG+knA3bfgZTmYc9zsmqt7wtw3ZDlge1OtU11wcOpjSQKBgDGY6BtaIfL0m40FHC5nXL8GLHvutOQqEWfQJEu6OAewT4KcCjFL6uHG4rqU1HJWYXTNIMtlZ2Ysas1rrrMfxY+DJuYwhxEjL3xYyYY8+Mp5MNU4QuvLYGnoH4I7V/bQhqLosp1B+uvRpRRcTwjQllzOFnVgmHaJoSSwjGHn7zqVAoGBAIVT92xxv+8nxDkB6I+mtmN3dWOz0kQc7e1XZiR7H8H9Vwy+gO6kx0GKYCmYs3FL48VKYR1PECH7nQBPnovbouVyt0gTbWRPSlDBoaL2YguBA93+4fNR1mZo8AXWj/Pk4vKBifjR6qZBjg9URH3MDnb2ngoN/NMe7hkVwHVpqegpAoGAdjw2+F1Ov9bg9sdU+oGqMdH0hdKFVTNyIdLF7wVwitUp6GlDRLycvG9dxxs2SE/3bVDzrGj9a5iHg6aedBkvcyNm36rjfy5K/yRhXqz86ELTXc0wkvXnQei+ZLuSnsYctGTfET1VF7EYvBL3MpUA/9JKst0YR6+nBJB4uh5mSZI=

请求参数那里填什么?

"out_trade_no":"201912231157294218549","total_amount":"88.88","subject":"iPhone+Xs+Max+256G","buyer_id":"2088102175953034","goods_detail":[],"seller_id":"2088102175107499"

还是

{ "apiName":"alipay.trade.precreate", "apiNameFirstUpper":"AlipayTradePrecreate", "apiNameFirstLower":"alipayTradePrecreate", "sign_type":"RSA2" "bizContent":"{"out_trade_no":"1577073277640","total_amount":"111","subject":"111","seller_id":"","discountable_amount":"","undiscountable_amount":"","buyer_logon_id":"","goods_detail":"","body":"","product_code":"","operator_id":"","store_id":"","disable_pay_channels":"","enable_pay_channels":"","terminal_id":"","extend_params":"","timeout_express":"","royalty_info":"","settle_info":"","sub_merchant":"","alipay_store_id":"","merchant_order_no":"","ext_user_info":"","business_params":"","qr_code_timeout_express":""}" }

你自己测试下,用楼上那个官方证书工具,能运行吗?啥错误该有说明啊..总是一个提示,很奇怪..

3、SDK那里,能不能尽量列出最新的支持库?

展开
收起
2019-12-23 12:08:53 2495 0
0 条回答
写回答
取消 提交回答
来源圈子
更多
收录在圈子:
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载

相关实验场景

更多