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

<init>

See DefaultConnectionService.

DotnetConnectionService(mediatorService: MediatorService, walletStorageManager: WalletStorageManager)

Functions

createInvitation

fun createInvitation(agent: Agent, recordId: String?): Single<Pair<SentInvitation, ConnectionInvitationMessage>>

createRequest

fun createRequest(agent: Agent, recordId: String): Single<Pair<SentRequest, ConnectionRequestMessage>>

createResponse

fun createResponse(agent: Agent, recordId: String): Single<Pair<SentResponse, ConnectionResponseMessage>>