Documentation ¶
Index ¶
- type Service
- type Wrapper
- func (w *Wrapper) CreateStatusListEntry(ctx context.Context, profileID profileapi.ID, ...) (*credentialstatus.StatusListEntry, error)
- func (w *Wrapper) GetStatusListVC(ctx context.Context, profileGroupID profileapi.ID, statusID string) (*credentialstatus.CSL, error)
- func (w *Wrapper) Resolve(ctx context.Context, statusListVCURI string) (*verifiable.Credential, error)
- func (w *Wrapper) StoreIssuedCredentialMetadata(ctx context.Context, profileID profileapi.ID, ...) error
- func (w *Wrapper) UpdateVCStatus(ctx context.Context, params credentialstatus.UpdateVCStatusParams) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service credentialstatus.ServiceInterface
type Wrapper ¶
type Wrapper struct {
// contains filtered or unexported fields
}
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
Click to show internal directories.
Click to hide internal directories.