Documentation ¶
Index ¶
- Constants
- type CredentialEngine
- func (r *CredentialEngine) Accept(format string) bool
- func (r *CredentialEngine) CreateCredentialOffer(_ *datastore.DID, subjectDID string, s *datastore.Schema, values []byte) (string, *decorator.AttachmentData, error)
- func (r *CredentialEngine) CreateSchema(_ *datastore.DID, _ *datastore.Schema) (string, error)
- func (r *CredentialEngine) GetSchemaForProposal(proposal []byte) (string, error)
- func (r *CredentialEngine) IssueCredential(issuerDID *datastore.DID, s *datastore.Schema, offerID string, ...) (*decorator.AttachmentData, error)
- func (r *CredentialEngine) RegisterSchema(_ *datastore.DID, _ *datastore.Schema) error
Constants ¶
View Source
const (
LinkedDataSignature = "lds/ld-proof"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CredentialEngine ¶
type CredentialEngine struct {
// contains filtered or unexported fields
}
func New ¶
func New(prov provider) (*CredentialEngine, error)
func (*CredentialEngine) Accept ¶
func (r *CredentialEngine) Accept(format string) bool
func (*CredentialEngine) CreateCredentialOffer ¶
func (*CredentialEngine) CreateSchema ¶
func (*CredentialEngine) GetSchemaForProposal ¶
func (r *CredentialEngine) GetSchemaForProposal(proposal []byte) (string, error)
func (*CredentialEngine) IssueCredential ¶
func (r *CredentialEngine) IssueCredential(issuerDID *datastore.DID, s *datastore.Schema, offerID string, request decorator.AttachmentData, values map[string]interface{}) (*decorator.AttachmentData, error)
func (*CredentialEngine) RegisterSchema ¶
Click to show internal directories.
Click to hide internal directories.