Versions in this module Expand all Collapse all v0 v0.1.0 Jan 28, 2021 Changes in this version + type Agent struct + EndorsableSchemaNames []string + HasPublicDID bool + ID string + Name string + PID string + PublicDID *DID + func (r *Agent) CanIssue(schemaID string) bool + type AgentConnection struct + AgentName string + ConnectionID string + ExternalID string + MyDID string + MyLabel string + TheirDID string + TheirLabel string + type AgentCriteria struct + Name string + PageSize int + Start int + type AgentList struct + Agents []*Agent + Count int + type Attribute struct + Name string + Type int32 + type Credential struct + Data []byte + Description string + ID string + LastModTime time.Time + MimeType string + type Criteria map[string]interface + type DID struct + DID *identifiers.DID + Endpoint string + ID string + KeyPair *KeyPair + OwnerID string + Public bool + type DIDCriteria struct + PageSize int + Start int + type DIDList struct + Count int + DIDs []*DID + type DIDs []*DID + type IssuedCredential struct + AgentName string + Credential *Credential + ExternalSubjectID string + ID string + MyDID string + Offer *Offer + ProtocolID string + RegistryOfferID string + SchemaName string + SystemState string + TheirDID string + type KeyPair struct + ID string + PublicKey string + func (r *KeyPair) RawPublicKey() []byte + type Offer struct + Comment string + Data []byte + Preview []icprotocol.Attribute + Type string + type Presentation struct + Data []byte + Format string + MyDID string + TheirDID string + type PresentationRequest struct + AgentID string + Data []byte + ExternalID string + PresentationRequestID string + SchemaID string + type Provider interface + Close func() error + Open func() (Store, error) + type Schema struct + Attributes []*Attribute + Context []string + ExternalSchemaID string + Format string + ID string + Name string + Type string + Version string + type SchemaCriteria struct + Name string + PageSize int + Start int + type SchemaList struct + Count int + Schema []*Schema + type Schemas []*Schema + type Store interface + AddWebhook func(hook *Webhook) error + DeleteAgent func(name string) error + DeleteAgentConnection func(a *Agent, externalID string) error + DeleteCredentialByOffer func(offerID string) error + DeleteSchema func(name string) error + DeleteWebhook func(typ string) error + FindCredentialByProtocolID func(offerID string) (*IssuedCredential, error) + GetAgent func(id string) (*Agent, error) + GetAgentByPublicDID func(DID string) (*Agent, error) + GetAgentConnection func(a *Agent, externalID string) (*AgentConnection, error) + GetAgentConnectionForDID func(a *Agent, theirDID string) (*AgentConnection, error) + GetDID func(id string) (*DID, error) + GetPresentationRequest func(ID string) (*PresentationRequest, error) + GetPublicDID func() (*DID, error) + GetSchema func(name string) (*Schema, error) + GetSchemaByExternalID func(externalID string) (*Schema, error) + InsertAgent func(a *Agent) (string, error) + InsertAgentConnection func(a *Agent, externalID string, conn *didexchange.Connection) error + InsertCredential func(c *IssuedCredential) (string, error) + InsertDID func(d *DID) error + InsertPresentation func(p *Presentation) (string, error) + InsertPresentationRequest func(pr *PresentationRequest) (string, error) + InsertSchema func(s *Schema) (string, error) + ListAgent func(c *AgentCriteria) (*AgentList, error) + ListAgentConnections func(a *Agent) ([]*AgentConnection, error) + ListDIDs func(c *DIDCriteria) (*DIDList, error) + ListSchema func(c *SchemaCriteria) (*SchemaList, error) + ListWebhooks func(typ string) ([]*Webhook, error) + SetPublicDID func(DID *DID) error + UpdateAgent func(a *Agent) error + UpdateCredential func(c *IssuedCredential) error + UpdateSchema func(s *Schema) error + type Webhook struct + Type string + URL string