aries-mediator-dotnet / net.globalid.aries.mediator.dotnet.connection / DotnetConnectionService
DotnetConnectionService
class DotnetConnectionService : DefaultConnectionService
See DefaultConnectionService.
This extended service handles verification key management between a dotnet mediator client and
a dotnet mediator web agent. When creating a new connection, we must tell the dotnet mediator
the public key (verification key) that we use for that connection, so it knows which messages
it need to store for us. This service should be used when provisioned with a dotnet mediator!
Constructors
|
See DefaultConnectionService.
DotnetConnectionService(mediatorService: MediatorService, walletStorageManager: WalletStorageManager) |
Functions
|
fun createInvitation(agent: Agent, recordId: String?): Single<Pair<SentInvitation, ConnectionInvitationMessage>> |
|
fun createRequest(agent: Agent, recordId: String): Single<Pair<SentRequest, ConnectionRequestMessage>> |
|
fun createResponse(agent: Agent, recordId: String): Single<Pair<SentResponse, ConnectionResponseMessage>> |