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

Interface Signer

protoutil/txutils.go:129–132  ·  view source on GitHub ↗

Signer is the interface needed to sign a transaction

Source from the content-addressed store, hash-verified

127
128// Signer is the interface needed to sign a transaction
129type Signer interface {
130 Sign(msg []byte) ([]byte, error)
131 Serialize() ([]byte, error)
132}
133
134// CreateSignedTx assembles an Envelope message from proposal, endorsements,
135// and a signer. This function should be called by a client when it has

Callers 53

SendMethod · 0.95
constructUnsignedTxEnvFunction · 0.95
constructUnsignedTxEnvFunction · 0.95
constructUnsignedTxEnvFunction · 0.95
SerializeMethod · 0.95
SignMethod · 0.95
commit_test.goFile · 0.45

Implementers 15

SigningIdentityintegration/nwo/signingid.go
SignerSerializerprotoutil/fakes/signer_serializer.go
mockSIcore/committer/txvalidator/v20/validat
mockSIcore/committer/txvalidator/v14/validat
SigningIdentitycore/handlers/endorsement/builtin/mock
SignerSerializercore/aclmgmt/mocks/signer_serializer.g
Signercore/ledger/kvledger/tests/fakes/signe
Supportcore/endorser/fake/support.go
SignerSerializergossip/service/mocks/signer_serializer
SignerSerializerinternal/configtxgen/encoder/fakes/sig
Signerinternal/peer/lifecycle/chaincode/mock
SignerSerializerinternal/peer/chaincode/mock/signer_se

Calls

no outgoing calls

Tested by

no test coverage detected