保险计划书

保险计划书


健易保接口RSA--加密示例说明

入参说明:

示例接口:https://xhs.yibaojiankang.com/api/hmb/order/audit

测试线上统一用:token = 'rqpllwgnuicj4rukbbo8c6mqsyzh2ajs'

公钥:[public.pem](https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/18b38534fafb8f19414d8a29f13ca2f0 "[public.pem")

token = 'rqpllwgnuicj4rukbbo8c6mqsyzh2ajs'
待处理数据
params = {
    "policyNo":"90000001",
    "applicantName": "张三是",
    "applicantMobile": "16619872340",
    "applyDate": "2020-10-13 17:43:21",
    "customerName": "网上我的",
    "customerIdCard": "411456789",
    "customerSex": "f",
    "buyWay": "1",
    "requestId": "45000000002",
    "beginTime": "2020-10-13 17:43:21",
    "endTime": "2020-10-13 17:43:21",
    "imageList": [{
        "url": "http://taikang-huiminbao.oss-cn-hangzhou.aliyuncs.com/baoxian/taikang/1308/202010161576494003610.jpg?Expires=4756437979&OSSAccessKeyId=LTAI4G6rKc8xdZPkn3kKCkKJ&Signature=3A6JuK6TvwgHgL5P%2BxQH7o%2Bn2%2B8%3D",
        "imageType": "05"
    }]
}

sign 生成说明,跟你们一样:字符串拼接,"token值&params" 然后以SHA1摘要形式生成。
拼接完成的字符串            rqpllwgnuicj4rukbbo8c6mqsyzh2ajs&{"policyNo": "90000001", "applicantName": "\u5f20\u4e09\u662f", "applicantMobile": "16619872340", "applyDate": "2020-10-13 17:43:21", "customerName": "\u7f51\u4e0a\u6211\u7684", "customerIdCard": "411456789", "customerSex": "f", "buyWay": "1", "requestId": "45000000002", "beginTime": "2020-10-13 17:43:21", "endTime": "2020-10-13 17:43:21", "imageList": [{"url": "http://taikang-huiminbao.oss-cn-hangzhou.aliyuncs.com/baoxian/taikang/1308/202010161576494003610.jpg?Expires=4756437979&OSSAccessKeyId=LTAI4G6rKc8xdZPkn3kKCkKJ&Signature=3A6JuK6TvwgHgL5P%2BxQH7o%2Bn2%2B8%3D", "imageType": "05"}]}

生成sign值:be1718984e158a5b8f5708492b89deed8c2bc458

params使用公钥public.pem进行rsa加密后字符串:
GkZnQp46PanzyYldZm1us9ByRyydqRRMGeXxSV/ZuZ4ncl8CdCUbuXLw5Llutg7SpIKFSmFcidoI\nqT8IVFhvsllC0AbRVtiHdmifwXBNC62IlFJ248WK68OT2px3wOfVs8jV4VCOvOaj8CQGBHE7jqVk\ngPyd5WG5FemtY9+AuHRderegFr2KzaIs5KmjP5xqPv7qxqXZ+i2aZJLmgvlKwuBuu1aCRwt3cbxt\n9D7SESxJmJD+h/ZsWTgpzZMQ871ilS43O7eUsEOQDyjxoeizkLprjHBtw6FhhtxMT91ix5FkTTHU\nj4szptp00oHMJibFvDAPyCAYigeN6PZME3Y5VUJSA/4CSxKSsImAp1sMSv7C3x/n1XvpOyvbHLtB\nUxf93/YbKvZlYry/9x3ekcTLtsSpRzEpM6S0H4pB6u390OtBK/9ZXfiEiNbXp8/g9x1gM+pEMeJi\nXwPYnJw88jzyApWnQvCHHLR6Nw2DaM4LAMTZ2LwQsQQJW20OgMC7kxxxjTk1okGR41sqAe2sT63R\nJJrH2vcXYu+H6HdfmJ1pgMZDPkjIXsEox0FfUMRIASJBOKgQCE2ltF30FzABT2j8zF6urLLFyva8\nWwh9qFx/5jbidbWL4x4apfSBSgOxg0SjAbfzMIq8eppfP1hxd6tit6e8lQW7/jSdG95u+dXeKxsA\nNdjDxvSome9Cv4IFV+N8ylJ32dTDv/xT8PpJx9Elg/WyTSZEHxnInQkMQjv8XzPCd4r+n2V4kBFm\nIswYl8pNFkIqNZ9LrPYi0VohVwHLstPuhPWEaKSnEcOfc/EATwFC3ZbFB/EAG/G9OEyNZtOkNURY\n9I1GQp2+mwxyWggD5zO2auyC33BOZniEqmKjzqJQjDASDj1nos8dJkz9H1DZDpEdy9HKk9NB3cZw\nTc4yPo0UXiysreZcx1OSYggmLjl/6G9UYYSeYxppQx13EXo8y/hpTY5kmK2GQThtQi1gXB/eJWoN\n7E3FPLC14bjPDWhwVSf6THXVmKuimK0b/QEu\n

组合入参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