aries / net.globalid.aries.features.connection.models.dids / DidDoc / create

create

fun create(did: String, verificationKey: String, routingKeys: List<String>, endpointUri: String): DidDoc

Creates a DID document using the DID, verification key, routing keys and endpoint URI.

Parameters

did - is the DID string of the agent.

verificationKey - is the agent's verification key. Together with the did, it represents the DIDDoc keys section.

routingKeys - are the agent's routing keys.

endpointUri - is the agent's endpoint URI.