{"modulePath":"github.com/eric-erki/https-hyperledger.org","version":"v1.4.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package ccpackage\n\n## Functions\n\n```go\nfunc CreateSignedCCDepSpecForInstall(pack []*common.Envelope) (*common.Envelope, error)\n```\nCreateSignedCCDepSpecForInstall creates the final package from a set of packages signed by owners.  This is similar to how the SDK assembles a TX from various proposal responses from the signatures.\n\n```go\nfunc ExtractSignedCCDepSpec(env *common.Envelope) (*common.ChannelHeader, *peer.SignedChaincodeDeploymentSpec, error)\n```\nExtractSignedCCDepSpec extracts the messages from the envelope\n\n```go\nfunc OwnerCreateSignedCCDepSpec(cds *peer.ChaincodeDeploymentSpec, instPolicy *common.SignaturePolicyEnvelope, owner msp.SigningIdentity) (*common.Envelope, error)\n```\nOwnerCreateSignedCCDepSpec creates a package from a ChaincodeDeploymentSpec and optionally endorses it\n\n```go\nfunc SignExistingPackage(env *common.Envelope, owner msp.SigningIdentity) (*common.Envelope, error)\n```\nSignExistingPackage adds a signature to a signed package.\n\n```go\nfunc ValidateCip(baseCip, otherCip *peer.SignedChaincodeDeploymentSpec) error\n```\nValidateCip validate the endorsed package against the base package\n\n","path":"github.com/eric-erki/https-hyperledger.org/core/common/ccpackage","name":"ccpackage","synopsis":"","isRedistributable":true}
