public class CreateTextRequest extends cn.com.antcloud.api.product.provider.AntCloudProdProviderRequest<CreateTextResponse>
| 构造器和说明 |
|---|
CreateTextRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getHashAlgorithm()
哈希算法,目前仅支持 SHA256
|
Location |
getLocation()
存证地点(如手机硬件ID,Wi-Fi地址,GPS位置,IP地址)
|
String |
getNotaryContent()
存证内容
|
String |
getPhase()
描述本条存证在存证事务中的阶段,用户可自行维护
|
String |
getProperties()
扩展属性
|
String |
getTextNotaryType()
文本存证类型,支持源文本/文本哈希
|
String |
getTransactionId()
存证事务id
|
Boolean |
getTsr()
是否使用可信时间戳,默认为false
|
void |
setHashAlgorithm(String hashAlgorithm)
哈希算法,目前仅支持 SHA256
|
void |
setLocation(Location location)
存证地点(如手机硬件ID,Wi-Fi地址,GPS位置,IP地址)
|
void |
setNotaryContent(String notaryContent)
存证内容
|
void |
setPhase(String phase)
描述本条存证在存证事务中的阶段,用户可自行维护
|
void |
setProperties(String properties)
扩展属性
|
void |
setTextNotaryType(String textNotaryType)
文本存证类型,支持源文本/文本哈希
|
void |
setTransactionId(String transactionId)
存证事务id
|
void |
setTsr(Boolean tsr)
是否使用可信时间戳,默认为false
|
public String getHashAlgorithm()
public void setHashAlgorithm(String hashAlgorithm)
public Location getLocation()
public void setLocation(Location location)
public String getNotaryContent()
public void setNotaryContent(String notaryContent)
public String getPhase()
public void setPhase(String phase)
public String getProperties()
public void setProperties(String properties)
public String getTextNotaryType()
public void setTextNotaryType(String textNotaryType)
public String getTransactionId()
public void setTransactionId(String transactionId)
public Boolean getTsr()
public void setTsr(Boolean tsr)
Copyright © 2020. All Rights Reserved.