ca登入回调
接口说明
ca登入回调
签署回调通知
通知参数
参数名称 |
类型 |
必填 |
说明 |
loginStatus |
String |
是 |
登入状态 1-确认登入, 2-取消登入 |
procStatus |
String |
是 |
处理状态 1-已经扫码,2-已经完成登入 |
bindId |
String |
是 |
绑定ID |
userBusId |
String |
是 |
用户姓名 |
publicCert |
String |
是 |
公钥证书 |
procPhone |
String |
是 |
登入手机号 |
loginIdentifyId |
String |
是 |
登入唯一标记ID |
msg |
String |
否 |
消息 |
返回参数
参数名称 |
类型 |
必填 |
说明 |
signSerial |
String |
是 |
签署单号 |
JAVA调用实例
String charsetName = "UTF-8";
request.setCharacterEncoding(charsetName);
int contentLength = request.getContentLength();
if(contentLength<0){
System.out.println("没有收到请求参数");
return;
}
byte buffer[] = new byte[contentLength];
for (int i = 0; i < contentLength;) {
int readlen = request.getInputStream().read(buffer, i,
contentLength - i);
if (readlen == -1) {
break;
}
i += readlen;
}
String resultStr = new String(buffer, charsetName);
System.out.println("回调结果:" + resultStr);