stripIssuerNameSpaces

fun stripIssuerNameSpaces(issuerNameSpaces: Map<String, List<ByteArray>>, exceptions: Map<String, List<String>>?): Map<String, List<ByteArray>>

Strips issuer name spaces.

This takes a IssuerNameSpaces value calculated by generateIssuerNameSpaces and returns a similar structure except where all elementValue values in IssuerSignedItem are set to null.

Return

A copy of the passed-in structure where data element value is set to null. for every data element.

Parameters

issuerNameSpaces

a map from name spaces into a list of IssuerSignedItemBytes.

exceptions

a map from name spaces into a list of data element names for where the elementValue should not be removed.