1.这里的merchantSerialNumber证书序列号 是 商户API证书 的 序列号吗
Config config =
new RSAAutoCertificateConfig.Builder()
.merchantId(merchantId)
.privateKeyFromPath(privateKeyPath)
.merchantSerialNumber(merchantSerialNumber)
.apiV3Key(apiV3Key)
.build();
2.回调 这里的 merchantSerialNumber证书序列号 是 商户API证书 还是 商户平台证书 的
NotificationConfig config = new RSAAutoCertificateConfig.Builder()
.merchantId(merchantId)
.privateKeyFromPath(privateKeyPath)
.merchantSerialNumber(merchantSerialNumber)
.apiV3Key(apiV3Key)
.build();
商户平台证书 需要在哪里用,具体怎么用,还是这个没用
sdk里面对于平台证书是自动化处理的,你提到的两个地方都是指的商户API证书序列号,只有使用平台公钥模式的初始化的时候,才会在publicKeyId给出平台公钥id