ccpackage

package
v0.0.0-...-fbe82ab Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSignedCCDepSpecForInstall

func CreateSignedCCDepSpecForInstall(pack []*common.Envelope) (*common.Envelope, error)

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

func SignExistingPackage(env *common.Envelope, owner msp.SigningIdentity) (*common.Envelope, error)

SigneXistingPackage向已签名的包添加签名。

func ValidateCip

func ValidateCip(baseCip, otherCip *peer.SignedChaincodeDeploymentSpec) error

validatecp根据基本包验证已背书的包

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL