|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object TcBasicTypeDecoder TcCompositeTypeDecoder TcTpmVersion TcTpmStructVer
public class TcTpmStructVer
This indicates the version of the structure. Version 1.2 deprecates the use of this structure in all other structures. The TPM_STRUCT_VER structure itself is not deprecated as many other structures that contain this structure are not deprecated. The rationale behind keeping this structure and adding the new version structure is that in version 1.1 this structure was in use for two purposes. The first was to indicate the structure version, and in that mode the revMajor and revMinor were supposed to be set to 0. The second use was in TPM_GetCapability and the structure would then return the correct revMajor and revMinor. This use model caused problems in keeping track of when the revs were or were not set and how software used the information. Version 1.2 went to structure tags. Some structures did not change and the TPM_STRUCT_VER is still in use To avoid the problems from 1.1, this structure now is a fixed value and only remains for backwards compatibility. Structure versioning comes from the tag on the structure, and the TPM_GetCapability response for TPM versioning uses TPM_VERSION.
Field Summary | |
---|---|
static TcTpmStructVer |
TPM_V1_1
This constant can be used for TPM 1.1 version comparisons |
Fields inherited from class TcTpmVersion |
---|
TPM_V1_2 |
Constructor Summary | |
---|---|
TcTpmStructVer()
Constructor - see superclass for details |
|
TcTpmStructVer(TcBlobData data)
Constructor - see superclass for details |
|
TcTpmStructVer(TcBlobData data,
int offset)
Constructor - see superclass for details |
|
TcTpmStructVer(TcCompositeTypeDecoder composite)
Constructor - see superclass for details |
Method Summary |
---|
Methods inherited from class TcTpmVersion |
---|
equalsMinMaj, equalsRevMinMaj, getEncoded, getMajor, getMinor, getRevMajor, getRevMinor, setMajor, setMinor, setRevMajor, setRevMinor, toString |
Methods inherited from class Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final TcTpmStructVer TPM_V1_1
Constructor Detail |
---|
public TcTpmStructVer()
TcCompositeTypeDecoder.TcCompositeTypeDecoder()
public TcTpmStructVer(TcBlobData data)
TcCompositeTypeDecoder.TcCompositeTypeDecoder(iaik.tc.tss.api.structs.common.TcBlobData)
public TcTpmStructVer(TcBlobData data, int offset)
TcCompositeTypeDecoder.TcCompositeTypeDecoder(iaik.tc.tss.api.structs.common.TcBlobData,
int)
public TcTpmStructVer(TcCompositeTypeDecoder composite)
TcCompositeTypeDecoder.TcCompositeTypeDecoder(iaik.tc.tss.api.structs.common.TcCompositeTypeDecoder)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |