yeepay_yop_download_cert
Download and save CFCA certificates using key algorithm, serial number, auth code, asymmetric key pairs, and password. Returns paths for private (.pfx) and public (.cer) certificates.
Instructions
根据密钥算法、CFCA证书的序列号、授权码、非对称密钥对(公钥和私钥)、密码,下载该证书,并保存到本地路径
Args: algorithm: 密钥算法,可选值为 "RSA" 或 "SM2",默认为 "RSA" serial_no: cfca证书序列号 auth_code: cfca证书授权码 private_key: Base64 编码后的私钥字符串 public_key: Base64 编码后的公钥字符串 pwd: 密码,长度:12~16位
Returns: Dict包含: - message: 响应信息 - pfxCert: 私钥证书路径(.pfx) - pubCert: 公钥证书路径(.cer)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
algorithm | No | RSA | |
auth_code | No | ||
private_key | No | ||
public_key | No | ||
pwd | No | ||
serial_no | No |
Input Schema (JSON Schema)
{
"properties": {
"algorithm": {
"default": "RSA",
"title": "Algorithm",
"type": "string"
},
"auth_code": {
"default": "",
"title": "Auth Code",
"type": "string"
},
"private_key": {
"default": "",
"title": "Private Key",
"type": "string"
},
"public_key": {
"default": "",
"title": "Public Key",
"type": "string"
},
"pwd": {
"default": "",
"title": "Pwd",
"type": "string"
},
"serial_no": {
"default": "",
"title": "Serial No",
"type": "string"
}
},
"title": "yeepay_yop_download_certArguments",
"type": "object"
}