Documentation ¶
Index ¶
- type MockStatusProcessorGetter
- type MockVCStatusProcessor
- func (m *MockVCStatusProcessor) CreateVC(vcID string, size int, profile *vc.Signer) (*verifiable.Credential, error)
- func (m *MockVCStatusProcessor) CreateVCStatus(statusListIndex string, vcID string) *verifiable.TypedID
- func (m *MockVCStatusProcessor) GetStatusListIndex(vcStatus *verifiable.TypedID) (int, error)
- func (m *MockVCStatusProcessor) GetStatusVCURI(vcStatus *verifiable.TypedID) (string, error)
- func (m *MockVCStatusProcessor) GetVCContext() string
- func (m *MockVCStatusProcessor) ValidateStatus(vcStatus *verifiable.TypedID) error
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
Click to show internal directories.
Click to hide internal directories.