The Share class encapsulates the data and the associated claim to verify the data. You can choose to share only data without any claim. In this case the receiver will not be able to perform any verification of the data provided.

The Share class looks like this:

class Share {
  List<String> keys;
  Claim claim;
}

Data model

Property Description
keys A list of strings containing the key and value pairs for the claim.
claim (Optional) The Claim object to use for verificatin of the data.