|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectTcTssVersion
public class TcTssVersion
This structure allows the TSS Service Provider to communicate with outside entities as to the version of the TPM, TSS Core Service or TSS ServiceProvider.
Field Summary | |
---|---|
static TcTssVersion |
TPM_V1_1
This constant can be used for TPM 1.1 version comparisons |
static TcTssVersion |
TPM_V1_2
This constant can be used for TPM 1.2 version comparisons |
Constructor Summary | |
---|---|
TcTssVersion()
Default constructor. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
This method returns true if the two version numbers are equal, false otherwise. |
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. |
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. |
TcTssVersion |
init(short major,
short minor,
short revMajor,
short revMinor)
Initialization method taking and setting all parameters at once. |
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()
Returns a String representation of the object. |
Methods inherited from class Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final TcTssVersion TPM_V1_1
public static final TcTssVersion TPM_V1_2
Constructor Detail |
---|
public TcTssVersion()
Method Detail |
---|
public TcTssVersion init(short major, short minor, short revMajor, short revMinor)
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)
public boolean equals(Object obj)
equals
in class Object
public boolean equalsMinMaj(Object obj)
public boolean equalsRevMinMaj(Object obj)
public String toString()
toString
in class Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |