cauthdsl

package
v1.5.6 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPolicyProvider

func NewPolicyProvider(deserializer msp.IdentityDeserializer) policies.Provider

NewPolicyProvider provides a policy generator for cauthdsl type policies

Types

type EnvelopeBasedPolicyProvider added in v1.4.2

type EnvelopeBasedPolicyProvider struct {
	Deserializer msp.IdentityDeserializer
}

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

func (*EnvelopeBasedPolicyProvider) NewPolicy added in v1.4.2

NewPolicy creates a new policy from the policy envelope

Jump to

Keyboard shortcuts

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