cslmanager

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	CSLVCStore    cslVCStore
	VCStatusStore vcStatusStore
	CSLIndexStore credentialstatus.CSLIndexStore
	ListSize      int
	Crypto        vcCrypto
	KMSRegistry   kmsRegistry
	ExternalURL   string
}

type Manager

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

func New

func New(config *Config) (*Manager, error)

New returns new CSL list manager.

func (*Manager) CreateCSLEntry

func (s *Manager) CreateCSLEntry(
	ctx context.Context,
	profile *profileapi.Issuer,
	credentialID string,
) (*credentialstatus.StatusListEntry, error)

CreateCSLEntry creates CSL entry.

Jump to

Keyboard shortcuts

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