cauthdsl

package
v0.0.0-...-e295948 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2020 License: Apache-2.0 Imports: 11 Imported by: 2

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

type EnvelopeBasedPolicyProvider struct {
	Deserializer msp.IdentityDeserializer
}

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

func (*EnvelopeBasedPolicyProvider) NewPolicy

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