Documentation ¶
Index ¶
- Constants
- type CredentialManifestContainer
- type CredentialResponseContainer
- type Service
- func (s Service) Config() config.ManifestServiceConfig
- func (s Service) CreateManifest(request model.CreateManifestRequest) (*model.CreateManifestResponse, error)
- func (s Service) DeleteApplication(request model.DeleteApplicationRequest) error
- func (s Service) DeleteManifest(request model.DeleteManifestRequest) error
- func (s Service) DeleteResponse(request model.DeleteResponseRequest) error
- func (s Service) GetApplication(request model.GetApplicationRequest) (*model.GetApplicationResponse, error)
- func (s Service) GetApplications() (*model.GetApplicationsResponse, error)
- func (s Service) GetManifest(request model.GetManifestRequest) (*model.GetManifestResponse, error)
- func (s Service) GetManifests() (*model.GetManifestsResponse, error)
- func (s Service) GetResponse(request model.GetResponseRequest) (*model.GetResponseResponse, error)
- func (s Service) GetResponses() (*model.GetResponsesResponse, error)
- func (s Service) ProcessApplicationSubmission(request model.SubmitApplicationRequest) (*operation.Operation, error)
- func (s Service) Status() framework.Status
- func (s Service) Type() framework.Type
- func (s Service) VerifyManifest(request model.VerifyManifestRequest) (*model.VerifyManifestResponse, error)
Constants ¶
View Source
const ( // DenialResponse is an error response corresponding to a credential denial DenialResponse errresp.Type = "DenialResponse" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CredentialManifestContainer ¶
type CredentialManifestContainer struct {
Manifest manifest.CredentialManifest `json:"credential_manifest"`
}
CredentialManifestContainer represents what is signed over and return for a credential manifest
type CredentialResponseContainer ¶
type CredentialResponseContainer struct { Response manifest.CredentialResponse `json:"credential_response"` Credentials []any `json:"verifiableCredentials,omitempty"` }
CredentialResponseContainer represents what is signed over and return for a credential response
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewManifestService ¶
func NewManifestService(config config.ManifestServiceConfig, s storage.ServiceStorage, keyStore *keystore.Service, didResolver *didsdk.Resolver, credential *credential.Service) (*Service, error)
func (Service) Config ¶
func (s Service) Config() config.ManifestServiceConfig
func (Service) CreateManifest ¶
func (s Service) CreateManifest(request model.CreateManifestRequest) (*model.CreateManifestResponse, error)
func (Service) DeleteApplication ¶
func (s Service) DeleteApplication(request model.DeleteApplicationRequest) error
func (Service) DeleteManifest ¶
func (s Service) DeleteManifest(request model.DeleteManifestRequest) error
func (Service) DeleteResponse ¶
func (s Service) DeleteResponse(request model.DeleteResponseRequest) error
func (Service) GetApplication ¶
func (s Service) GetApplication(request model.GetApplicationRequest) (*model.GetApplicationResponse, error)
func (Service) GetApplications ¶
func (s Service) GetApplications() (*model.GetApplicationsResponse, error)
func (Service) GetManifest ¶
func (s Service) GetManifest(request model.GetManifestRequest) (*model.GetManifestResponse, error)
func (Service) GetManifests ¶
func (s Service) GetManifests() (*model.GetManifestsResponse, error)
func (Service) GetResponse ¶
func (s Service) GetResponse(request model.GetResponseRequest) (*model.GetResponseResponse, error)
func (Service) GetResponses ¶
func (s Service) GetResponses() (*model.GetResponsesResponse, error)
func (Service) ProcessApplicationSubmission ¶
func (Service) VerifyManifest ¶
func (s Service) VerifyManifest(request model.VerifyManifestRequest) (*model.VerifyManifestResponse, error)
VerifyManifest verifies a manifest's signature and makes sure the manifest is compliant with the specification
Click to show internal directories.
Click to hide internal directories.