Patent ID: 7516331

Claim:
A method for running a tamper-resistant application in a trusted environment, comprising: defining a trusted virtual machine environment that contains a trusted dictionary for protecting data, wherein the trusted dictionary having an associated secure count, comprises a subclass of a standard base class dictionary using any class that allows a storing and a retrieving of data values, wherein the trusted dictionary contains keywords and values encrypted with a secret including a key, and wherein the trusted dictionary includes a list of public keys, wherein each time the secure count is incremented during operation of the application, the trusted dictionary is placed into an irreversible state, such that the trusted dictionary cannot be placed into a pervious state by replacing a file associated with the trusted dictionary with an older version of the file; verifying the integrity of the application; wherein, if the application is tampered with, the trusted virtual machine environment prevents the application from accessing the secret in the trusted dictionary, and further prevents changing of the trusted dictionary to the previous state, thus disabling the normal operation of the application.