JAVA进行电子签章

对接流程

1、注册账号,获取customer_id用户编号(法大大用户编号)

2、获取企业 or 个人 实名认证链接进行实名认证(如需进行签章、企业个人都需要实名认证)

3、实名证书申请,为用户颁发ca证书

4、印章上传(可以不需要上传、申请实名证书之后默认会生成印章)

5、模板上传

6、模板填充

7、合同上传(可自己上传合同,也可使用5 6 进行生成合同)

8、企业签署合同

9、个人签署合同

10、合同归档(该合同不可以再进行签署操作)

注册账号,获取customer_id用户编号

javasdk示例:
(APPID、KEY、版本、服务地址)
FddClientBase base = new FddClientBase(APPID,APPKEY,V,SERVERURL);
String open_id =“1”;//用户在接入方的唯一标识
String account_type = “1”;//账号类型 (1.个人 2.企业)
String result =base.invokeregisterAccount(open_id,account_type);

    result格式({"code":1,"data":"3D328E3D3EC5DCF44B336447EF44001B","msg":"success"})

获取企业 or 个人 实名认证链接进行实名认证

JAVASDK:
GetPersonVerifyUrl personverify = new GetPersonVerifyUrl(APPID,APPKEY,V,SERVERURL);
String customer_id = “3D328E3D3EC5DCF44B336447EF44001B”;//客户编号
String verifyed_way = “1”;//实名认证套餐类型
String page_modify = “1”;//是否允许用户页面修改
String notify_url = “1”;//回调地址
String return_url= “1”;//同步通知url
String customer_name = “”;//姓名
String customer_ident_type = “”;//证件类型
String customer_ident_no ="";//证件号码
String mobile ="";//手机号码
String ident_front_path ="";//证件正面照下载地址
String result_type ="";//
String cert_flag ="";//
String cert_type =;//
String bank_card_no ="";//
String option ="";//
String isminprogram ="";//
String result = personverify.invokePersonVerifyUrl(customer_id,verifyed_way,page_modify,notify_url,return_url,customer_name,customer_ident_type,customer_ident_no,mobile,ident_front_path,result_type,cert_flag,cert_type,bank_card_no,null,option,isminprogram) ;

返回url进行加密、需要解密

实名证书申请,为用户颁发ca证书

JAVASDK:

ApplyCert applyCert = new ApplyCert(APPID,APPKEY,V,SERVERURL);
String customer_id = “3D328E3D3EC5DCF44B336447EF44001B”;//客户编号
String verified_serialno= “07de3b7132fe41cc846d0ec6474df4b6”;//实名认证序列号
String result = applyCert.invokeApplyCert(customer_id,verified_serialno);

个人签署合同

FddClientBase base = new FddClientBase(APP_ID,APP_SECRET,V,HOST);
ExtsignReq req = new ExtsignReq();
req.setCustomer_id("");//客户编号
req.setTransaction_id();//交易号
req.setContract_id("");//合同编号
req.setDoc_title("");//文档标题
req.setReturn_url("");页面跳转URL(签署结果同步通知)
String sign_url= base.invokeExtSign(req);
// sign_url是组装好的地址,请重定向到这个地址呈现签署页面给用户
// 例如:HttpServletResponse().sendRedirect(sign_url);
// 输出签署页面

文章到此结束、只列举部分sdk调用方式、有需要可私信进行咨询其他sdk调用方法

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值