aries / net.globalid.aries.features.connection.models.connection / Connection

Connection

@JsonClass(true) data class Connection

Connection data of the user requesting connection

Constructors

<init>

Connection data of the user requesting connection

Connection(DID: String, DIDDoc: DidDoc)

Properties

DID

indicates the DID of the user requesting the connection. Note that this is only the method specific ID part of the DID (at least in AcaPy).

val DID: String

DIDDoc

contains the DID document for the requesting use

val DIDDoc: DidDoc

Functions

getEndpoint

Returns the endpoint information from the DidDoc. The service endpoint should not be null.

fun getEndpoint(): AgentEndpoint

getVerKey

Returns the VerKey of the DidDoc owner.

fun getVerKey(): String