Documentation ¶
Index ¶
- func CreateSignedCCDepSpecForInstall(pack []*common.Envelope) (*common.Envelope, error)
- func ExtractSignedCCDepSpec(env *common.Envelope) (*common.ChannelHeader, *peer.SignedChaincodeDeploymentSpec, error)
- func OwnerCreateSignedCCDepSpec(cds *peer.ChaincodeDeploymentSpec, instPolicy *common.SignaturePolicyEnvelope, ...) (*common.Envelope, error)
- func SignExistingPackage(env *common.Envelope, owner msp.SigningIdentity) (*common.Envelope, error)
- func ValidateCip(baseCip, otherCip *peer.SignedChaincodeDeploymentSpec) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSignedCCDepSpecForInstall ¶
CreateSignedCDepspecForInstall从一组由签名的包创建最终包 业主。这类似于SDK如何从各种方案组装TX。 签名回复。
func ExtractSignedCCDepSpec ¶
func ExtractSignedCCDepSpec(env *common.Envelope) (*common.ChannelHeader, *peer.SignedChaincodeDeploymentSpec, error)
ExtractSignedCDepspec从信封中提取消息
func OwnerCreateSignedCCDepSpec ¶
func OwnerCreateSignedCCDepSpec(cds *peer.ChaincodeDeploymentSpec, instPolicy *common.SignaturePolicyEnvelope, owner msp.SigningIdentity) (*common.Envelope, error)
ownerCreateSignedCDepspec从chaincodeDeploymentsPec创建包,然后 可选择背书
func SignExistingPackage ¶
SigneXistingPackage向已签名的包添加签名。
func ValidateCip ¶
func ValidateCip(baseCip, otherCip *peer.SignedChaincodeDeploymentSpec) error
validatecp根据基本包验证已背书的包
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.