MCPcopy
hub / github.com/hyperledger/fabric / Sign

Method Sign

msp/msp.go:172–172  ·  view source on GitHub ↗

Sign the message

(msg []byte)

Source from the content-addressed store, hash-verified

170
171 // Sign the message
172 Sign(msg []byte) ([]byte, error)
173
174 // GetPublicVersion returns the public parts of this identity
175 GetPublicVersion() Identity

Callers 15

SignOrPanicFunction · 0.65
CreateSignedTxFunction · 0.65
CreateProposalResponseFunction · 0.65
GetSignedProposalFunction · 0.65
EndorseMethod · 0.65
EndorseMethod · 0.65
TestValidateConfigTxFunction · 0.65
createSignedTxTwoActionsFunction · 0.65

Implementers 3

mockSIcore/committer/txvalidator/v20/validat
mockSIcore/committer/txvalidator/v14/validat
SigningIdentitycommon/ledger/testutil/fakes/signing_i

Calls

no outgoing calls

Tested by 10

TestValidateConfigTxFunction · 0.52
createSignedTxTwoActionsFunction · 0.52
TestSignatureAlgorithmsFunction · 0.52
TestSignAndVerifyFunction · 0.52
signECDSAFunction · 0.52