Documentation ¶
Index ¶
- type Provider
- func (p *Provider) AllServices() []dispatcher.ProtocolService
- func (p *Provider) Crypto() crypto.Crypto
- func (p *Provider) DIDConnectionStore() did.ConnectionStore
- func (p *Provider) DIDRotator() *middleware.DIDCommMessageMiddleware
- func (p *Provider) GetDIDsBackOffDuration() time.Duration
- func (p *Provider) GetDIDsMaxRetries() uint64
- func (p *Provider) InboundMessageHandler() transport.InboundMessageHandler
- func (p *Provider) InboundMessenger() service.InboundMessenger
- 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) MessageServiceProvider() api.MessageServiceProvider
- func (p *Provider) Messenger() service.Messenger
- func (p *Provider) OutboundDispatcher() dispatcher.Outbound
- func (p *Provider) Packager() transport.Packager
- 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) SecretLock() secretlock.Service
- 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 InboundMessageHandlerValue transport.InboundMessageHandler PackagerValue transport.Packager MessageServiceProviderValue api.MessageServiceProvider InboundMessengerValue service.InboundMessenger GetDIDsBackoffDurationValue time.Duration GetDIDsMaxRetriesValue uint64 DIDRotatorValue middleware.DIDCommMessageMiddleware MessengerValue service.Messenger SecretLockValue secretlock.Service }
Provider mocks provider needed for did exchange service initialization.
func (*Provider) AllServices ¶ added in v0.1.8
func (p *Provider) AllServices() []dispatcher.ProtocolService
AllServices return all services.
func (*Provider) DIDConnectionStore ¶ added in v0.1.7
func (p *Provider) DIDConnectionStore() did.ConnectionStore
DIDConnectionStore returns the DID connection store.
func (*Provider) DIDRotator ¶ added in v0.1.8
func (p *Provider) DIDRotator() *middleware.DIDCommMessageMiddleware
DIDRotator returns the did rotator.
func (*Provider) GetDIDsBackOffDuration ¶ added in v0.1.8
GetDIDsBackOffDuration return backoff duration for getting DIDs.
func (*Provider) GetDIDsMaxRetries ¶ added in v0.1.8
GetDIDsMaxRetries return max number of retries for getting DIDs.
func (*Provider) InboundMessageHandler ¶ added in v0.1.8
func (p *Provider) InboundMessageHandler() transport.InboundMessageHandler
InboundMessageHandler return inbound message handler.
func (*Provider) InboundMessenger ¶ added in v0.1.8
func (p *Provider) InboundMessenger() service.InboundMessenger
InboundMessenger return inbound messenger.
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) MessageServiceProvider ¶ added in v0.1.8
func (p *Provider) MessageServiceProvider() api.MessageServiceProvider
MessageServiceProvider return message service provider.
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) SecretLock ¶ added in v0.1.8
func (p *Provider) SecretLock() secretlock.Service
SecretLock returns secret lock.
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.