addKeylessDocument

fun addKeylessDocument(docType: String, issuerAuth: CoseSign1, issuerNamespaces: IssuerNamespaces, errors: Map<String, Map<String, Int>> = emptyMap(), docRequestIds: List<Int>? = null): DeviceResponse.Builder

Low-level function to add a non-key-bound MdocDocument (without deviceSigned) to the response.

Return

the builder.

Parameters

docType

the type of the document, e.g. "org.multipaz.movieticket.1".

issuerAuth

the issuer-signed MSO.

issuerNamespaces

the issuer-signed data elements to return.

errors

the errors to return.

docRequestIds

optional list of DocRequest indices satisfied by this document.