in java/remoteprovisioning/CborUtil.java [305:316]
public static void checkMap(CBORObject map, String semanticName) throws CborException {
if (map == null) {
throwNullException(semanticName);
}
if (map.getType() != CBORType.Map) {
throw new CborException(
semanticName + " has the wrong type",
CBORType.Map,
map.getType(),
CborException.TYPE_MISMATCH);
}
}