Documentation
¶
Index ¶
- type Provider
- func (p *Provider) Crypto() crypto.Crypto
- func (p *Provider) DIDConnectionStore() did.ConnectionStore
- func (p *Provider) JSONLDContextStore() ld.ContextStore
- func (p *Provider) JSONLDDocumentLoader() jsonld.DocumentLoader
- func (p *Provider) JSONLDRemoteProviderStore() ld.RemoteProviderStore
- func (p *Provider) KMS() kms.KeyManager
- func (p *Provider) KeyAgreementType() kms.KeyType
- func (p *Provider) KeyType() kms.KeyType
- func (p *Provider) MediaTypeProfiles() []string
- func (p *Provider) OutboundDispatcher() dispatcher.Outbound
- func (p *Provider) Packers() []packer.Packer
- func (p *Provider) PrimaryPacker() packer.Packer
- func (p *Provider) ProtocolStateStorageProvider() storage.Provider
- func (p *Provider) RouterEndpoint() string
- func (p *Provider) Service(id string) (interface{}, error)
- func (p *Provider) ServiceEndpoint() string
- func (p *Provider) StorageProvider() storage.Provider
- func (p *Provider) VDRegistry() vdrapi.Registry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct { ServiceValue interface{} ServiceErr error ServiceMap map[string]interface{} KMSValue kms.KeyManager ServiceEndpointValue string StorageProviderValue storage.Provider ProtocolStateStorageProviderValue storage.Provider DIDConnectionStoreValue did.ConnectionStore PackerList []packer.Packer PackerValue packer.Packer OutboundDispatcherValue dispatcher.Outbound VDRegistryValue vdrapi.Registry CryptoValue crypto.Crypto ContextStoreValue ld.ContextStore RemoteProviderStoreValue ld.RemoteProviderStore DocumentLoaderValue jsonld.DocumentLoader KeyTypeValue kms.KeyType KeyAgreementTypeValue kms.KeyType MediaTypeProfilesValue []string }
Provider mocks provider needed for did exchange service initialization.
func (*Provider) DIDConnectionStore ¶ added in v0.1.7
func (p *Provider) DIDConnectionStore() did.ConnectionStore
DIDConnectionStore returns the DID connection store.
func (*Provider) JSONLDContextStore ¶ added in v0.1.7
func (p *Provider) JSONLDContextStore() ld.ContextStore
JSONLDContextStore returns JSON-LD context store.
func (*Provider) JSONLDDocumentLoader ¶ added in v0.1.7
func (p *Provider) JSONLDDocumentLoader() jsonld.DocumentLoader
JSONLDDocumentLoader returns JSON-LD document loader.
func (*Provider) JSONLDRemoteProviderStore ¶ added in v0.1.7
func (p *Provider) JSONLDRemoteProviderStore() ld.RemoteProviderStore
JSONLDRemoteProviderStore returns remote JSON-LD context provider store.
func (*Provider) KeyAgreementType ¶ added in v0.1.7
KeyAgreementType returns a mocked keyType value for KeyAgreement.
func (*Provider) KeyType ¶ added in v0.1.7
KeyType returns a mocked keyType value for authentication (signing).
func (*Provider) MediaTypeProfiles ¶ added in v0.1.7
MediaTypeProfiles returns the media type profiles.
func (*Provider) OutboundDispatcher ¶
func (p *Provider) OutboundDispatcher() dispatcher.Outbound
OutboundDispatcher return outbound dispatcher.
func (*Provider) PrimaryPacker ¶
PrimaryPacker returns the main Packer service.
func (*Provider) ProtocolStateStorageProvider ¶
ProtocolStateStorageProvider returns the protocol state storage provider.
func (*Provider) RouterEndpoint ¶
RouterEndpoint returns the router transport endpoint.
func (*Provider) ServiceEndpoint ¶
ServiceEndpoint returns the service endpoint.
func (*Provider) StorageProvider ¶
StorageProvider returns the storage provider.
func (*Provider) VDRegistry ¶ added in v0.1.5
VDRegistry return vdr registry.