Java class files contain the byte code image of a Java program and metadata describing the code. We will encode our code certificates in the metadata format of the Java class file. This will mean that our certified programs will run both on resource-checking systems and on unmodified Java virtual machines.