Re: How to get the public key of a client inside the chaincode ? #fabric-chaincode #signcerts


Mark Lewis
 

ClientIdentity.getIDBytes() will give you the PEM-encoded X.509 certificate of the client, which contains the public key.

Join fabric@lists.hyperledger.org to automatically receive all group messages.