status

package
v1.0.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStatusProcessorGetter

type MockStatusProcessorGetter struct {
	StatusProcessor vc.StatusProcessor
	Err             error
}

func (*MockStatusProcessorGetter) GetMockStatusProcessor

func (m *MockStatusProcessorGetter) GetMockStatusProcessor(vcStatusListType vc.StatusType) (vc.StatusProcessor, error)

type MockVCStatusProcessor

type MockVCStatusProcessor struct {
	ValidateErr           error
	StatusVCURI           string
	GetStatusVCURIErr     error
	StatusListIndex       int
	GetStatusListIndexErr error
	VC                    *verifiable.Credential
	CreateVCErr           error
	VCStatus              *verifiable.TypedID
	VCContext             string
}

func (*MockVCStatusProcessor) CreateVC

func (m *MockVCStatusProcessor) CreateVC(vcID string, size int, profile *vc.Signer) (*verifiable.Credential, error)

func (*MockVCStatusProcessor) CreateVCStatus

func (m *MockVCStatusProcessor) CreateVCStatus(statusListIndex string, vcID string) *verifiable.TypedID

func (*MockVCStatusProcessor) GetStatusListIndex

func (m *MockVCStatusProcessor) GetStatusListIndex(vcStatus *verifiable.TypedID) (int, error)

func (*MockVCStatusProcessor) GetStatusVCURI

func (m *MockVCStatusProcessor) GetStatusVCURI(vcStatus *verifiable.TypedID) (string, error)

func (*MockVCStatusProcessor) GetVCContext

func (m *MockVCStatusProcessor) GetVCContext() string

func (*MockVCStatusProcessor) ValidateStatus

func (m *MockVCStatusProcessor) ValidateStatus(vcStatus *verifiable.TypedID) error

Jump to

Keyboard shortcuts

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