fmgp.did.comm.protocol.mediatorcoordination2

Members list

Type members

Classlikes

final case class Keylist(id: MsgID, from: FROM, to: TO)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Keylist

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Keylist.type

Attributes

Companion
object
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object KeylistAction

Attributes

Companion
enum
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class KeylistQuery(id: MsgID, from: FROM, to: TO)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object KeylistQuery

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class KeylistResponse(id: MsgID, thid: MsgID, from: FROM, to: TO, updated: Seq[(FROMTO, KeylistAction, KeylistResult)])

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object KeylistResult

Attributes

Companion
enum
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class KeylistUpdate(id: MsgID, from: FROM, to: TO, updates: Seq[(FROMTO, KeylistAction)])

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object KeylistUpdate

TODO we don't believe this behavior is correct or secure. But ismimic the behavior of RootsID mediator

TODO we don't believe this behavior is correct or secure. But ismimic the behavior of RootsID mediator

https://identity.foundation/didcomm-messaging/spec/#routing-protocol-20:~:text=rfc587%22%0A%20%20%[…]le%3Asomemediator%23somekey%22%5D,-%7D%5D%0A%7D

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class MediateDeny(id: MsgID, thid: MsgID, from: FROM, to: TO)

This message serves as notification of the mediator denying the recipient's request for mediation.

This message serves as notification of the mediator denying the recipient's request for mediation.

{
 "id": "123456780",
 "type": "https://didcomm.org/coordinate-mediation/2.0/mediate-deny",
}

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object MediateDeny

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class MediateGrant(id: MsgID, thid: MsgID, from: FROM, to: TO, routing_did: Seq[FROMTO])

A mediate grant message is a signal from the mediator to the recipient that permission is given to distribute the included information as an inbound route.

A mediate grant message is a signal from the mediator to the recipient that permission is given to distribute the included information as an inbound route.

Value parameters

routing_did

DID of the mediator where forwarded messages should be sent. The recipient may use this DID as an enpoint as explained in Using a DID as an endpoint section of the specification.

{
 "id": "123456780",
 "type": "https://didcomm.org/coordinate-mediation/2.0/mediate-grant",
 "body": {"routing_did": ["did:peer:z6Mkfriq1MqLBoPWecGoDLjguo1sB9brj6wT3qZ5BxkKpuP6"]}
}

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object MediateGrant

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class MediateRequest(id: MsgID, from: FROM, to: TO)

This message serves as a request from the recipient to the mediator, asking for the permission (and routing information) to publish the endpoint as a mediator.

This message serves as a request from the recipient to the mediator, asking for the permission (and routing information) to publish the endpoint as a mediator.

{
 "id": "123456780",
 "type": "https://didcomm.org/coordinate-mediation/2.0/mediate-request",
}

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type