Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComStamp ¶
type ComStamp struct { /* 盖章类型(0 坐标 1 关键字) (Optional) */ SignPositionType *int `json:"signPositionType"` /* 盖章关键字(与坐标二选一) (Optional) */ Keyword *string `json:"keyword"` /* 盖章X坐标(与关键字二选一) (Optional) */ PositionX *int `json:"positionX"` /* 盖章Y坐标(与关键字二选一) (Optional) */ PositionY *int `json:"positionY"` /* 盖章X坐标偏移量(配合positionX) (Optional) */ OffsetX *int `json:"offsetX"` /* 盖章Y坐标偏移量(配合positionY) (Optional) */ OffsetY *int `json:"offsetY"` /* 盖章页码(选择坐标盖章时需要) (Optional) */ Page *int `json:"page"` /* 印章名称 (Optional) */ SealName *string `json:"sealName"` /* 印章图像base64(建议png格式,不传使用默认圆形章) (Optional) */ ImageB64 *string `json:"imageB64"` /* 印章ID (Optional) */ StampId *string `json:"stampId"` /* 印章描述 (Optional) */ Desc *string `json:"desc"` /* 是否作为以后签章默认章 (Optional) */ IsDefault *bool `json:"isDefault"` /* 图片类型,只支持png格式 (Optional) */ ImageType *string `json:"imageType"` /* 图片大小,高度*宽度 (Optional) */ ImageSize *int `json:"imageSize"` /* 图片高度 (Optional) */ ImageHeight *int `json:"imageHeight"` /* 图片宽度 (Optional) */ ImageWidth *int `json:"imageWidth"` /* 公司名称 (Optional) */ OrgName *string `json:"orgName"` /* 法人姓名 (Optional) */ LegalPersonName *string `json:"legalPersonName"` /* 代办人姓名 (Optional) */ TransactorName *string `json:"transactorName"` /* 代办人身份证号码 (Optional) */ TransactorIdCardNum *string `json:"transactorIdCardNum"` /* 代办人手机号 (Optional) */ TransactorMobile *string `json:"transactorMobile"` /* 标记字段 - usci(统一社会信用码) orgCode(组织机构代码) businessNum (工商营业执照号) (Optional) */ IdentifyType *string `json:"identifyType"` /* 标记值 (Optional) */ IdentifyValue *string `json:"identifyValue"` }
type ContractInfo ¶
type ContractInfo struct { /* 合同ID (Optional) */ ContractId string `json:"contractId"` /* 合同标题 (Optional) */ ContractTitle string `json:"contractTitle"` /* 印章名称(可能有多个印章) (Optional) */ StampNames []string `json:"stampNames"` /* 合同文件(base64) (Optional) */ ContractContent string `json:"contractContent"` /* 合同文件摘要 (Optional) */ ContractDigest string `json:"contractDigest"` /* 合同签章时间 (Optional) */ CreateTime string `json:"createTime"` }
type ContractSpec ¶
type ContractSpec struct { /* 个人用户盖章信息 (Optional) */ PersonStamps []PerStamp `json:"personStamps"` /* 企业用户盖章信息 (Optional) */ CompanyStamps []ComStamp `json:"companyStamps"` /* 合同文件(base64) (Optional) */ ContractContent *string `json:"contractContent"` /* 合同模板文件(base64) (Optional) */ TemplateContent *string `json:"templateContent"` /* 合同模板文件ID (Optional) */ TemplateId *string `json:"templateId"` /* 合同标题或名称 (Optional) */ ContractTitle *string `json:"contractTitle"` /* 证书类型 (Optional) */ CaType *string `json:"caType"` }
type ContractVerifySpec ¶
type PaddingInfo ¶ added in v1.42.0
type PaddingSpec ¶ added in v1.42.0
type PaddingSpec struct { /* 填充信息 1. 成对出现(占位符,替换值) 2. 填充信息必须全部填写(与word模板上传时holdingKeys数量以及名称保持一致) (Optional) */ PaddingInfo []PaddingInfo `json:"paddingInfo"` }
type PerStamp ¶
type PerStamp struct { /* 盖章类型(0 坐标 1 关键字) (Optional) */ SignPositionType *int `json:"signPositionType"` /* 盖章关键字(与坐标二选一) (Optional) */ Keyword *string `json:"keyword"` /* 盖章X坐标(与关键字二选一) (Optional) */ PositionX *int `json:"positionX"` /* 盖章Y坐标(与关键字二选一) (Optional) */ PositionY *int `json:"positionY"` /* 盖章X坐标偏移量(配合positionX) (Optional) */ OffsetX *int `json:"offsetX"` /* 盖章Y坐标偏移量(配合positionY) (Optional) */ OffsetY *int `json:"offsetY"` /* 盖章页码(选择坐标盖章时需要) (Optional) */ Page *int `json:"page"` /* 印章名称 (Optional) */ SealName *string `json:"sealName"` /* 印章图像base64(建议png格式,不传使用默认方形章) (Optional) */ ImageB64 *string `json:"imageB64"` /* 印章ID (Optional) */ StampId *string `json:"stampId"` /* 印章描述 (Optional) */ Desc *string `json:"desc"` /* 是否作为以后签章默认章 (Optional) */ IsDefault *bool `json:"isDefault"` /* 图片类型,只支持png格式 (Optional) */ ImageType *string `json:"imageType"` /* 图片大小,高度*宽度 (Optional) */ ImageSize *int `json:"imageSize"` /* 图片高度 (Optional) */ ImageHeight *int `json:"imageHeight"` /* 图片宽度 (Optional) */ ImageWidth *int `json:"imageWidth"` /* 姓名 (Optional) */ PersonalName *string `json:"personalName"` /* 手机号 (Optional) */ Mobile *string `json:"mobile"` /* 标记字段 - idCardNum(身份证) passportNum(护照) mtpNum(港澳通行证) (Optional) */ IdentifyType *string `json:"identifyType"` /* 标记值 (Optional) */ IdentifyValue *string `json:"identifyValue"` }
type StampInfo ¶
type StampInfo struct { /* 印章ID (Optional) */ StampId string `json:"stampId"` /* 印章名称 (Optional) */ StampName string `json:"stampName"` /* 印章图片(base64) (Optional) */ StampContent string `json:"stampContent"` /* 印章摘要 (Optional) */ StampDigest string `json:"stampDigest"` /* 印章上传时间 (Optional) */ CreateTime string `json:"createTime"` }
type StampResult ¶
type StampResult struct { /* 验证结果 (Optional) */ Verified bool `json:"verified"` /* 时间戳 (Optional) */ Timestamp string `json:"timestamp"` /* 签名算法信息 (Optional) */ Algorithm string `json:"algorithm"` /* 证书信息 (Optional) */ CertInfo string `json:"certInfo"` /* 是否验证根证书 (Optional) */ ChainRootVerified bool `json:"chainRootVerified"` /* 子类型 (Optional) */ SubType string `json:"subType"` }
type StatisticsInfo ¶
type StatisticsInfo struct { /* 已签合同数量 (Optional) */ ContractNumber int `json:"contractNumber"` /* 印章数量 (Optional) */ StampNumber int `json:"stampNumber"` /* 合同模板数量 (Optional) */ TemplateNumber int `json:"templateNumber"` /* 是否启用存管 (Optional) */ ContractSave bool `json:"contractSave"` /* 已用存储空间容量(单位:MB) (Optional) */ UsedSpace int `json:"usedSpace"` /* 签章系统加密密钥ID (Optional) */ KmsKeyId string `json:"kmsKeyId"` /* 签章次数统计[24小时,7天,30天] (Optional) */ SignStatistic []SignItem `json:"signStatistic"` }
type TemplateInfo ¶
type TemplateInfo struct { /* 合同模板ID (Optional) */ TemplateId string `json:"templateId"` /* 合同模板名称 (Optional) */ TemplateName string `json:"templateName"` /* 合同模板标题 (Optional) */ TemplateTitle string `json:"templateTitle"` /* 合同模板文件名称 (Optional) */ TemplateFileName string `json:"templateFileName"` /* 合同模板文件(base64) (Optional) */ TemplateContent string `json:"templateContent"` /* 合同模板文件摘要 (Optional) */ TemplateDigest string `json:"templateDigest"` /* 合同模板文件类型 pdf,word,pdf-auto (Optional) */ TemplateType string `json:"templateType"` /* 填充信息 (Optional) */ PaddingInfo []PaddingInfo `json:"paddingInfo"` /* 创建时间 (Optional) */ CreateTime string `json:"createTime"` }
type TemplateSpec ¶
type TemplateSpec struct { /* 合同模板文件(base64) (Optional) */ TemplateContent *string `json:"templateContent"` /* 合同模板名称 (Optional) */ TemplateName *string `json:"templateName"` /* 合同模板标题 (Optional) */ TemplateTitle *string `json:"templateTitle"` /* 模板类型 pdf,word (word为可编辑模板) (Optional) */ TemplateType *string `json:"templateType"` /* 占位符关键字,templateType为word时必传 在word文档中为双大括号里的内容, 比如{{单位名称}} (Optional) */ HoldingKeys []string `json:"holdingKeys"` }
type VerifyInfo ¶
type VerifyInfo struct { /* 验签是否成功,true 成功 false 失败 (Optional) */ Success bool `json:"success"` /* 验证消息 (Optional) */ Message string `json:"message"` /* 签章验证列表 (Optional) */ Results []StampResult `json:"results"` }
Click to show internal directories.
Click to hide internal directories.