No description provided by the author
Get returns current chaincode owner identity.Entry Service implementation recommended, see chaincode_owner.proto.
IdentityEntryFromState returns identity.Entry with chaincode owner certificate Service implementation recommended, see chaincode_owner.proto.
Insert information about owner to chaincode state.
InvokeSetFromArgs gets owner data from args[0] (Msp Id) and arg[1] (cert).
InvokeSetFromCreator sets tx creator as chaincode owner, if owner not previously set.
IsInvoker checks than tx creator is chain code owner Service implementation recommended, see chaincode_owner.proto.
IsInvokerOr checks tx creator and compares with owner of another identity Service implementation recommended, see chaincode_owner.proto.
No description provided by the author
IsTxCreator returns error if owner identity (msp_id + certificate) did not match tx creator identity Service implementation recommended, see chaincode_owner.proto.
No description provided by the author
NewChaincodeOwnerServiceGateway creates gateway to access chaincode method via chaincode service.
No description provided by the author
No description provided by the author
Only allow access from chain code owner.
Query returns raw data (serialized Grant) of current chain code owner.
RegisterChaincodeOwnerServiceChaincode registers service methods as chaincode router handlers.
RegisterChaincodeOwnerServiceHandler registers the http handlers for service ChaincodeOwnerService to "mux".
RegisterChaincodeOwnerServiceHandlerClient registers the http handlers for service ChaincodeOwnerService to "mux".
RegisterChaincodeOwnerServiceHandlerFromEndpoint is same as RegisterChaincodeOwnerServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterChaincodeOwnerServiceHandlerServer registers the http handlers for service ChaincodeOwnerService to "mux".
No description provided by the author
SetFromArgs set owner from first args.
SetFromCreator sets chain code owner from stub creator Service implementation recommended, see chaincode_owner.proto.
No description provided by the author