Documentation
¶
Index ¶
- type Config
- type Service
- func (s *Service) GetCSLVCWrapper(ctx context.Context, cslURL string) (*credentialstatus.CSLVCWrapper, error)
- func (s *Service) SignCSL(profileID, profileVersion string, csl *verifiable.Credential) ([]byte, error)
- func (s *Service) UpsertCSLVCWrapper(ctx context.Context, cslURL string, wrapper *credentialstatus.CSLVCWrapper) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { CSLStore credentialstatus.CSLVCStore ProfileService profileService KMSRegistry kmsRegistry Crypto vcCrypto DocumentLoader ld.DocumentLoader }
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) GetCSLVCWrapper ¶
func (s *Service) GetCSLVCWrapper(ctx context.Context, cslURL string) (*credentialstatus.CSLVCWrapper, error)
func (*Service) SignCSL ¶
func (s *Service) SignCSL(profileID, profileVersion string, csl *verifiable.Credential) ([]byte, error)
func (*Service) UpsertCSLVCWrapper ¶
func (s *Service) UpsertCSLVCWrapper(ctx context.Context, cslURL string, wrapper *credentialstatus.CSLVCWrapper) error
Click to show internal directories.
Click to hide internal directories.