Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { VCIssuerURL string AuthToken string ProfileName string DocumentLoader ld.DocumentLoader HTTPClient httpClient }
Config represents configuration parameters for Service.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is a service to issue verifiable credentials.
func (*Service) CreateIssuerProfile ¶
func (s *Service) CreateIssuerProfile( ctx context.Context, did, publicKeyID string, privateKey ed25519.PrivateKey) error
CreateIssuerProfile create gatekeeper profile on vs issuer service.
func (*Service) IssueCredential ¶
func (s *Service) IssueCredential(ctx context.Context, cred []byte) (*verifiable.Credential, error)
IssueCredential issues verifiable credential.
Click to show internal directories.
Click to hide internal directories.