An abstract class representing the structure and common functionality available on all Resources.
Signs the Resource using the specified BearerDid
Uses Json to serialize the Resource as a json string.
Verifies the signature of the Resource.