component

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Wrapper

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

func Wrap

func Wrap(svc Service, tracer trace.Tracer) *Wrapper

func (*Wrapper) CreateStatusListEntry

func (w *Wrapper) CreateStatusListEntry(
	ctx context.Context,
	profileID profileapi.ID,
	profileVersion profileapi.Version,
	credentialID string,
) (*credentialstatus.StatusListEntry, error)

func (*Wrapper) GetStatusListVC

func (w *Wrapper) GetStatusListVC(
	ctx context.Context,
	profileGroupID profileapi.ID,
	statusID string) (*credentialstatus.CSL, error)

func (*Wrapper) Resolve

func (w *Wrapper) Resolve(ctx context.Context, statusListVCURI string) (*verifiable.Credential, error)

func (*Wrapper) StoreIssuedCredentialMetadata added in v1.5.0

func (w *Wrapper) StoreIssuedCredentialMetadata(
	ctx context.Context,
	profileID profileapi.ID,
	profileVersion profileapi.Version,
	metadata *credentialstatus.CredentialMetadata,
) error

StoreIssuedCredentialMetadata stores credentialstatus.CredentialMetadata for each issued credential.

func (*Wrapper) UpdateVCStatus

func (w *Wrapper) UpdateVCStatus(ctx context.Context, params credentialstatus.UpdateVCStatusParams) error

Jump to

Keyboard shortcuts

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