status

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 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(_ 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(_ string, _ int, _ *vc.Signer) (*verifiable.Credential, error)

func (*MockVCStatusProcessor) CreateVCStatus

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

func (*MockVCStatusProcessor) GetStatusListIndex

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

func (*MockVCStatusProcessor) GetStatusVCURI

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

func (*MockVCStatusProcessor) GetVCContext

func (m *MockVCStatusProcessor) GetVCContext() string

func (*MockVCStatusProcessor) ValidateStatus

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

Jump to

Keyboard shortcuts

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