toDnsPacket

fun toDnsPacket(didDocument: DidDocument, types: List<DidDhtTypeIndexing>? = emptyList()): <Error class: unknown class>

Calls DidDht.toDnsPacket with the provided didDocument and types and returns the result.