mocks

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PresentationEngine

type PresentationEngine struct {
	mock.Mock
}

PresentationEngine is an autogenerated mock type for the PresentationEngine type

func (*PresentationEngine) Accept

func (_m *PresentationEngine) Accept(typ string) bool

Accept provides a mock function with given fields: typ

func (*PresentationEngine) RequestPresentation

func (_m *PresentationEngine) RequestPresentation(name string, version string, attrInfo map[string]*schema.IndyProofRequestAttr, predicateInfo map[string]*schema.IndyProofRequestPredicate) (*decorator.AttachmentData, error)

RequestPresentation provides a mock function with given fields: name, version, attrInfo, predicateInfo

func (*PresentationEngine) RequestPresentationFormat

func (_m *PresentationEngine) RequestPresentationFormat() string

RequestPresentationFormat provides a mock function with given fields:

func (*PresentationEngine) Verify

func (_m *PresentationEngine) Verify(presentation []byte, request []byte, theirDID string, myDID string) error

Verify provides a mock function with given fields: presentation, request, theirDID, myDID

type PresentationRegistry

type PresentationRegistry struct {
	mock.Mock
}

PresentationRegistry is an autogenerated mock type for the PresentationRegistry type

func (*PresentationRegistry) RequestPresentation

func (_m *PresentationRegistry) RequestPresentation(name string, version string, typ string, attrInfo map[string]*schema.IndyProofRequestAttr, predicateInfo map[string]*schema.IndyProofRequestPredicate) (*decorator.AttachmentData, error)

RequestPresentation provides a mock function with given fields: name, version, typ, attrInfo, predicateInfo

func (*PresentationRegistry) Verify

func (_m *PresentationRegistry) Verify(format string, presentation []byte, request []byte, theirDID string, myDID string) error

Verify provides a mock function with given fields: format, presentation, request, theirDID, myDID

Jump to

Keyboard shortcuts

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