acceptOutOfBandInvitation

Accepts an Out-of-Band (DIDComm), verifies if it contains attachments or not. If it does contain attachments means is a contactless request presentation. If it does not, it just creates a pair and establishes a connection.

Parameters

invitation

The Out-of-Band invitation to accept

Throws

if there is no mediator available or other errors occur during the acceptance process