memcmdescriptor

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CMAttachmentDescriptors

type CMAttachmentDescriptors struct {
	OutputDesc             []*cm.OutputDescriptor           `json:"output_descriptor,omitempty"`
	PresentationDefinition *presexch.PresentationDefinition `json:"presentation_definition,omitempty"`
	Options                map[string]string                `json:"options,omitempty"`
}

CMAttachmentDescriptors defines the part of properties of credential manifest

type Provider

type Provider struct {
	// contains filtered or unexported fields
}

Provider provide credential attachment descriptors ops.

func New

func New(cmDescriptorsFile io.Reader) (*Provider, error)

New return new provider for credential manifest descriptor provider.

func (*Provider) FetchCMDescriptorsByScope

func (p *Provider) FetchCMDescriptorsByScope(scope string) (*CMAttachmentDescriptors, bool)

FetchCMDescriptorsByScope allows to fetch the descriptor by scope

Jump to

Keyboard shortcuts

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