mergeIssuerNamesSpaces
Combines document data with static authentication data for a given request.
This goes through all data element name in a given DocumentRequest and for each data element name, looks up documentData
and staticAuthData
for the value and if present, will include that in the result. Data elements with DocumentRequest.DataElement.doNotSend set to true
are ignored.
The result is intended to mimic IssuerNameSpaces
CBOR as defined in ISO 18013-5 except that the data is returned using a native maps and lists. The returned data is a map from name spaces into a list of the bytes of the IssuerSignedItemBytes
CBOR.
Return
A map described above.
Parameters
a DocumentRequest indicating which name spaces and data element names to include in the result.
Document data, organized by name space.
Static authentication data.
Combines document data with static authentication data for a given request.
This goes through all data element name in a given set of name spaces and data elements and for each data element name, looks up documentData
and staticAuthData
for the value and if present, will include that in the result.
The result is intended to mimic IssuerNameSpaces
CBOR as defined in ISO 18013-5 except that the data is returned using a native maps and lists. The returned data is a map from name spaces into a list of the bytes of the IssuerSignedItemBytes
CBOR.
Return
A map described above.
Parameters
a DocumentRequest indicating which name spaces and data element names to include in the result.
Document data, organized by name space.
Static authentication data.