@JsonClass(true) data class DidDoc
DID document
The model representation of the DID document.
<init> |
DID document DidDoc(context: String = "https://w3id.org/did/v1", id: String, keys: List<DidDocKey>, authentications: List<DidDocAuthentication> = emptyList(), services: List<IndyAgentDidDocService> = emptyList()) |
authentications |
list of authentication public keys val authentications: List<DidDocAuthentication> |
context |
DID document context val context: String |
id |
identifier of DID document val id: String |
keys |
list of public keys available on the DID doc val keys: List<DidDocKey> |
services |
list of services available on the did doc. val services: List<IndyAgentDidDocService> |
create |
Creates a DID document using the DID, verification key, routing keys and endpoint URI. fun create(did: String, verificationKey: String, routingKeys: List<String>, endpointUri: String): DidDoc |