fabric: github.com/hyperledger/fabric/common/cauthdsl Index | Files

package cauthdsl

import "github.com/hyperledger/fabric/common/cauthdsl"

Index

Package Files

cauthdsl.go policy.go

func NewPolicyProvider Uses

func NewPolicyProvider(deserializer msp.IdentityDeserializer) policies.Provider

NewPolicyProvider provides a policy generator for cauthdsl type policies

type EnvelopeBasedPolicyProvider Uses

type EnvelopeBasedPolicyProvider struct {
    Deserializer msp.IdentityDeserializer
}

EnvelopeBasedPolicyProvider allows to create a new policy from SignaturePolicyEnvelope struct instead of []byte

func (*EnvelopeBasedPolicyProvider) NewPolicy Uses

func (pp *EnvelopeBasedPolicyProvider) NewPolicy(sigPolicy *cb.SignaturePolicyEnvelope) (policies.Policy, error)

NewPolicy creates a new policy from the policy envelope

Package cauthdsl imports 11 packages (graph) and is imported by 158 packages. Updated 2020-07-11. Refresh now. Tools for package owners.