public class PdfVerifyResult extends AbstractModel
header, skipSign
Constructor and Description |
---|
PdfVerifyResult() |
PdfVerifyResult(PdfVerifyResult source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getCertNotAfter()
Get 证书过期时间的时间戳,单位毫秒
|
Long |
getCertNotBefore()
Get 证书起始时间的Unix时间戳,单位毫秒
|
String |
getCertSn()
Get CA供应商下发给用户的证书编号
注意:`腾讯电子签接入多家CA供应商以提供容灾能力,不同CA下发的证书编号区别较大,但基本都是由数字和字母组成,长度在200以下`。
|
Float |
getComponentHeight()
Get 签名域高度,单位px
|
Long |
getComponentPage()
Get 签名域所在页码,1~N
|
Float |
getComponentPosX()
Get 签名域横坐标,单位px
|
Float |
getComponentPosY()
Get 签名域纵坐标,单位px
|
Float |
getComponentWidth()
Get 签名域宽度,单位px
|
String |
getSignAlgorithm()
Get 证书签名算法, 如SHA1withRSA等算法
|
String |
getSignerName()
Get 申请证书的主体的名字
如果是在腾讯电子签平台签署, 则对应的主体的名字个数如下
企业**: ESS@企业名称@编码
个人**: ESS@个人姓名@证件号@808854
如果在其他平台签署的, 主体的名字参考其他平台的说明
|
String |
getSignPlatform()
Get 签署平台
如果文件是在腾讯电子签平台签署,则为**腾讯电子签**,
如果文件不在腾讯电子签平台签署,则为**其他平台**。
|
Long |
getSignTime()
Get 签署时间的Unix时间戳,单位毫秒
|
Long |
getVerifyResult()
Get 验签结果。0-签名域未签名;1-验签成功; 3-验签失败;4-未找到签名域:文件内没有签名域;5-签名值格式不正确。
|
void |
setCertNotAfter(Long CertNotAfter)
Set 证书过期时间的时间戳,单位毫秒
|
void |
setCertNotBefore(Long CertNotBefore)
Set 证书起始时间的Unix时间戳,单位毫秒
|
void |
setCertSn(String CertSn)
Set CA供应商下发给用户的证书编号
注意:`腾讯电子签接入多家CA供应商以提供容灾能力,不同CA下发的证书编号区别较大,但基本都是由数字和字母组成,长度在200以下`。
|
void |
setComponentHeight(Float ComponentHeight)
Set 签名域高度,单位px
|
void |
setComponentPage(Long ComponentPage)
Set 签名域所在页码,1~N
|
void |
setComponentPosX(Float ComponentPosX)
Set 签名域横坐标,单位px
|
void |
setComponentPosY(Float ComponentPosY)
Set 签名域纵坐标,单位px
|
void |
setComponentWidth(Float ComponentWidth)
Set 签名域宽度,单位px
|
void |
setSignAlgorithm(String SignAlgorithm)
Set 证书签名算法, 如SHA1withRSA等算法
|
void |
setSignerName(String SignerName)
Set 申请证书的主体的名字
如果是在腾讯电子签平台签署, 则对应的主体的名字个数如下
企业**: ESS@企业名称@编码
个人**: ESS@个人姓名@证件号@808854
如果在其他平台签署的, 主体的名字参考其他平台的说明
|
void |
setSignPlatform(String SignPlatform)
Set 签署平台
如果文件是在腾讯电子签平台签署,则为**腾讯电子签**,
如果文件不在腾讯电子签平台签署,则为**其他平台**。
|
void |
setSignTime(Long SignTime)
Set 签署时间的Unix时间戳,单位毫秒
|
void |
setVerifyResult(Long VerifyResult)
Set 验签结果。0-签名域未签名;1-验签成功; 3-验签失败;4-未找到签名域:文件内没有签名域;5-签名值格式不正确。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public PdfVerifyResult()
public PdfVerifyResult(PdfVerifyResult source)
public Long getVerifyResult()
public void setVerifyResult(Long VerifyResult)
VerifyResult
- 验签结果。0-签名域未签名;1-验签成功; 3-验签失败;4-未找到签名域:文件内没有签名域;5-签名值格式不正确。public String getSignPlatform()
public void setSignPlatform(String SignPlatform)
SignPlatform
- 签署平台
如果文件是在腾讯电子签平台签署,则为**腾讯电子签**,
如果文件不在腾讯电子签平台签署,则为**其他平台**。public String getSignerName()
public void setSignerName(String SignerName)
SignerName
- 申请证书的主体的名字
如果是在腾讯电子签平台签署, 则对应的主体的名字个数如下
企业**: ESS@企业名称@编码
个人**: ESS@个人姓名@证件号@808854
如果在其他平台签署的, 主体的名字参考其他平台的说明public Long getSignTime()
public void setSignTime(Long SignTime)
SignTime
- 签署时间的Unix时间戳,单位毫秒public String getSignAlgorithm()
public void setSignAlgorithm(String SignAlgorithm)
SignAlgorithm
- 证书签名算法, 如SHA1withRSA等算法public String getCertSn()
public void setCertSn(String CertSn)
CertSn
- CA供应商下发给用户的证书编号
注意:`腾讯电子签接入多家CA供应商以提供容灾能力,不同CA下发的证书编号区别较大,但基本都是由数字和字母组成,长度在200以下`。public Long getCertNotBefore()
public void setCertNotBefore(Long CertNotBefore)
CertNotBefore
- 证书起始时间的Unix时间戳,单位毫秒public Long getCertNotAfter()
public void setCertNotAfter(Long CertNotAfter)
CertNotAfter
- 证书过期时间的时间戳,单位毫秒public Float getComponentPosX()
public void setComponentPosX(Float ComponentPosX)
ComponentPosX
- 签名域横坐标,单位pxpublic Float getComponentPosY()
public void setComponentPosY(Float ComponentPosY)
ComponentPosY
- 签名域纵坐标,单位pxpublic Float getComponentWidth()
public void setComponentWidth(Float ComponentWidth)
ComponentWidth
- 签名域宽度,单位pxpublic Float getComponentHeight()
public void setComponentHeight(Float ComponentHeight)
ComponentHeight
- 签名域高度,单位pxpublic Long getComponentPage()
public void setComponentPage(Long ComponentPage)
ComponentPage
- 签名域所在页码,1~NCopyright © 2024. All rights reserved.