addDocRequest
fun addDocRequest(docType: String, nameSpaces: Map<String, Map<String, Boolean>>, docRequestInfo: DocRequestInfo?): DeviceRequest.Builder
Adds a document request to the builder.
Return
the builder.
Parameters
docType
the document type to request.
nameSpaces
the namespaces, data elements, and intent-to-retain values.
docRequestInfo
a DocRequestInfo with additional information or null.
suspend fun addDocRequest(docType: String, nameSpaces: Map<String, Map<String, Boolean>>, docRequestInfo: DocRequestInfo?, readerKey: AsymmetricKey.X509Compatible): DeviceRequest.Builder
Adds a document request to the builder.
Return
the builder.
Parameters
docType
the document type to request.
nameSpaces
the namespaces, data elements, and intent-to-retain values.
docRequestInfo
a DocRequestInfo with additional information or null.
readerKey
the key to sign with and its certificate chain