public class TcTpmStructsHelpers
- extends Object
This method is used to determine if a struct (blob) received from the TPM is a 1.1.
|Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final boolean isTpm11Struct(TcBlobData struct)
- This method is used to determine if a struct (blob) received from the TPM is a 1.1. structure
or not. The method relies on the fact that structures from the 1.1 TPM spec carry a
TPM_STRUCT_VERSION as their first field. The first two bytes of this version are expected to
be 0x01, 0x01. TPM 1.2 structures carry a 2 byte tag as their first field.