How to get peer x509 certifi ate in chaincode? #fabric #fabric-chaincode
Kevin X
How can I get peer's x509 certificate in chaincode? I need to access attributes from peer certificate in the chaincode.
I can get perer's MSP ID using ChaincodeStub.getMspID() method. What is the recommended way to get peer certificate from within chaincode |
|