How to decrypt the transaction payload when confidentiality is turned on?

二次信任 提交于 2019-12-02 06:07:28

问题


The transactions/<transaction_id> API returns a single transaction. But when confidentiality is turned on, the transaction payload is encrypted

How can I decrypt this transaction payload when confidentiality is turned on?


回答1:


You will only be able to do so if you have the key pair of who sent the transaction (that's why it is confidential).

If you are the user that sent the transaction then you can retrieve the ECert and TCert using this. With the certificate you can decrypt the transaction's payload.



来源:https://stackoverflow.com/questions/38143344/how-to-decrypt-the-transaction-payload-when-confidentiality-is-turned-on

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!