|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectTcBasicTypeDecoder
TcCompositeTypeDecoder
TcTpmVersion
public class TcTpmVersion
The TPM_VERSION allows the TPM to communicate with outside entities as to the version of the TPM. This structure is set by the TPM and included in structures that are maintained long term outside of the TPM.
Field Summary | |
---|---|
static TcTpmVersion |
TPM_V1_1
This constant can be used for TPM 1.1 version comparisons |
static TcTpmVersion |
TPM_V1_2
This constant can be used for TPM 1.2 version comparisons |
Constructor Summary | |
---|---|
TcTpmVersion()
Constructor - see superclass for details |
|
TcTpmVersion(TcBlobData blob)
Constructor - see superclass for details |
|
TcTpmVersion(TcBlobData blob,
int offset)
Constructor - see superclass for details |
|
TcTpmVersion(TcCompositeTypeDecoder composite)
Constructor - see superclass for details |
Method Summary | |
---|---|
boolean |
equalsMinMaj(Object obj)
This method returns true if the two major and minor version numbers are equal, false otherwise. |
boolean |
equalsRevMinMaj(Object obj)
This method returns true if the tow major and minor revisions numbers are equal, false otherwise. |
TcBlobData |
getEncoded()
This method encodes the TPM_VERSION as a byte blob. |
short |
getMajor()
Returns contents of the major field. |
short |
getMinor()
Returns contents of the minor field. |
short |
getRevMajor()
Returns contents of the revMajor field. |
short |
getRevMinor()
Returns contents of the revMinor field. |
void |
setMajor(short major)
Sets the major field. |
void |
setMinor(short minor)
Sets the minor field. |
void |
setRevMajor(short revMajor)
Sets the revMajor field. |
void |
setRevMinor(short revMinor)
Sets the revMinor field. |
String |
toString()
This method returns a String representation of the object. |
Methods inherited from class Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final TcTpmVersion TPM_V1_1
public static final TcTpmVersion TPM_V1_2
Constructor Detail |
---|
public TcTpmVersion()
public TcTpmVersion(TcBlobData blob)
public TcTpmVersion(TcBlobData blob, int offset)
public TcTpmVersion(TcCompositeTypeDecoder composite)
Method Detail |
---|
public TcBlobData getEncoded()
getEncoded
in class TcCompositeTypeDecoder
public String toString()
toString
in class TcCompositeTypeDecoder
public boolean equalsMinMaj(Object obj)
public boolean equalsRevMinMaj(Object obj)
public short getMajor()
public void setMajor(short major)
public short getMinor()
public void setMinor(short minor)
public short getRevMajor()
public void setRevMajor(short revMajor)
public short getRevMinor()
public void setRevMinor(short revMinor)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |