Class PdfVerifyResult
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.essbasic.v20210526.models.PdfVerifyResult
-
public class PdfVerifyResult extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetCertNotAfter()Get 证书过期时间戳,单位秒LonggetCertNotBefore()Get 证书起始时间戳,单位秒StringgetCertSn()Get 签名证书序列号FloatgetComponentHeight()Get 签名域高度,单位pxLonggetComponentPage()Get 签名域所在页码,1~NFloatgetComponentPosX()Get 签名域横坐标,单位pxFloatgetComponentPosY()Get 签名域纵坐标,单位pxFloatgetComponentWidth()Get 签名域宽度,单位pxStringgetSignAlgorithm()Get 签名算法StringgetSignerName()Get 签署人名称StringgetSignPlatform()Get 签署平台,如果文件是在腾讯电子签平台签署,则返回腾讯电子签,如果文件不在腾讯电子签平台签署,则返回其他平台。LonggetSignTime()Get 签署时间戳,单位秒LonggetSignType()Get 签名类型LonggetVerifyResult()Get 验签结果。0-签名域未签名;1-验签成功; 3-验签失败;4-未找到签名域:文件内没有签名域;5-签名值格式不正确。voidsetCertNotAfter(Long CertNotAfter)Set 证书过期时间戳,单位秒voidsetCertNotBefore(Long CertNotBefore)Set 证书起始时间戳,单位秒voidsetCertSn(String CertSn)Set 签名证书序列号voidsetComponentHeight(Float ComponentHeight)Set 签名域高度,单位pxvoidsetComponentPage(Long ComponentPage)Set 签名域所在页码,1~NvoidsetComponentPosX(Float ComponentPosX)Set 签名域横坐标,单位pxvoidsetComponentPosY(Float ComponentPosY)Set 签名域纵坐标,单位pxvoidsetComponentWidth(Float ComponentWidth)Set 签名域宽度,单位pxvoidsetSignAlgorithm(String SignAlgorithm)Set 签名算法voidsetSignerName(String SignerName)Set 签署人名称voidsetSignPlatform(String SignPlatform)Set 签署平台,如果文件是在腾讯电子签平台签署,则返回腾讯电子签,如果文件不在腾讯电子签平台签署,则返回其他平台。voidsetSignTime(Long SignTime)Set 签署时间戳,单位秒voidsetSignType(Long SignType)Set 签名类型voidsetVerifyResult(Long VerifyResult)Set 验签结果。0-签名域未签名;1-验签成功; 3-验签失败;4-未找到签名域:文件内没有签名域;5-签名值格式不正确。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
PdfVerifyResult
public PdfVerifyResult()
-
PdfVerifyResult
public 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.
-
-
Method Detail
-
getVerifyResult
public Long getVerifyResult()
Get 验签结果。0-签名域未签名;1-验签成功; 3-验签失败;4-未找到签名域:文件内没有签名域;5-签名值格式不正确。- Returns:
- VerifyResult 验签结果。0-签名域未签名;1-验签成功; 3-验签失败;4-未找到签名域:文件内没有签名域;5-签名值格式不正确。
-
setVerifyResult
public void setVerifyResult(Long VerifyResult)
Set 验签结果。0-签名域未签名;1-验签成功; 3-验签失败;4-未找到签名域:文件内没有签名域;5-签名值格式不正确。- Parameters:
VerifyResult- 验签结果。0-签名域未签名;1-验签成功; 3-验签失败;4-未找到签名域:文件内没有签名域;5-签名值格式不正确。
-
getSignPlatform
public String getSignPlatform()
Get 签署平台,如果文件是在腾讯电子签平台签署,则返回腾讯电子签,如果文件不在腾讯电子签平台签署,则返回其他平台。- Returns:
- SignPlatform 签署平台,如果文件是在腾讯电子签平台签署,则返回腾讯电子签,如果文件不在腾讯电子签平台签署,则返回其他平台。
-
setSignPlatform
public void setSignPlatform(String SignPlatform)
Set 签署平台,如果文件是在腾讯电子签平台签署,则返回腾讯电子签,如果文件不在腾讯电子签平台签署,则返回其他平台。- Parameters:
SignPlatform- 签署平台,如果文件是在腾讯电子签平台签署,则返回腾讯电子签,如果文件不在腾讯电子签平台签署,则返回其他平台。
-
getSignerName
public String getSignerName()
Get 签署人名称- Returns:
- SignerName 签署人名称
-
setSignerName
public void setSignerName(String SignerName)
Set 签署人名称- Parameters:
SignerName- 签署人名称
-
getSignTime
public Long getSignTime()
Get 签署时间戳,单位秒- Returns:
- SignTime 签署时间戳,单位秒
-
setSignTime
public void setSignTime(Long SignTime)
Set 签署时间戳,单位秒- Parameters:
SignTime- 签署时间戳,单位秒
-
getSignAlgorithm
public String getSignAlgorithm()
Get 签名算法- Returns:
- SignAlgorithm 签名算法
-
setSignAlgorithm
public void setSignAlgorithm(String SignAlgorithm)
Set 签名算法- Parameters:
SignAlgorithm- 签名算法
-
getCertSn
public String getCertSn()
Get 签名证书序列号- Returns:
- CertSn 签名证书序列号
-
setCertSn
public void setCertSn(String CertSn)
Set 签名证书序列号- Parameters:
CertSn- 签名证书序列号
-
getCertNotBefore
public Long getCertNotBefore()
Get 证书起始时间戳,单位秒- Returns:
- CertNotBefore 证书起始时间戳,单位秒
-
setCertNotBefore
public void setCertNotBefore(Long CertNotBefore)
Set 证书起始时间戳,单位秒- Parameters:
CertNotBefore- 证书起始时间戳,单位秒
-
getCertNotAfter
public Long getCertNotAfter()
Get 证书过期时间戳,单位秒- Returns:
- CertNotAfter 证书过期时间戳,单位秒
-
setCertNotAfter
public void setCertNotAfter(Long CertNotAfter)
Set 证书过期时间戳,单位秒- Parameters:
CertNotAfter- 证书过期时间戳,单位秒
-
getSignType
public Long getSignType()
Get 签名类型- Returns:
- SignType 签名类型
-
setSignType
public void setSignType(Long SignType)
Set 签名类型- Parameters:
SignType- 签名类型
-
getComponentPosX
public Float getComponentPosX()
Get 签名域横坐标,单位px- Returns:
- ComponentPosX 签名域横坐标,单位px
-
setComponentPosX
public void setComponentPosX(Float ComponentPosX)
Set 签名域横坐标,单位px- Parameters:
ComponentPosX- 签名域横坐标,单位px
-
getComponentPosY
public Float getComponentPosY()
Get 签名域纵坐标,单位px- Returns:
- ComponentPosY 签名域纵坐标,单位px
-
setComponentPosY
public void setComponentPosY(Float ComponentPosY)
Set 签名域纵坐标,单位px- Parameters:
ComponentPosY- 签名域纵坐标,单位px
-
getComponentWidth
public Float getComponentWidth()
Get 签名域宽度,单位px- Returns:
- ComponentWidth 签名域宽度,单位px
-
setComponentWidth
public void setComponentWidth(Float ComponentWidth)
Set 签名域宽度,单位px- Parameters:
ComponentWidth- 签名域宽度,单位px
-
getComponentHeight
public Float getComponentHeight()
Get 签名域高度,单位px- Returns:
- ComponentHeight 签名域高度,单位px
-
setComponentHeight
public void setComponentHeight(Float ComponentHeight)
Set 签名域高度,单位px- Parameters:
ComponentHeight- 签名域高度,单位px
-
getComponentPage
public Long getComponentPage()
Get 签名域所在页码,1~N- Returns:
- ComponentPage 签名域所在页码,1~N
-
setComponentPage
public void setComponentPage(Long ComponentPage)
Set 签名域所在页码,1~N- Parameters:
ComponentPage- 签名域所在页码,1~N
-
-