com.intel.util
Class PlatformInfo
- java.lang.Object
-
- com.intel.util.PlatformInfo
-
public class PlatformInfo extends java.lang.Object
This class provides the applet with ability to query various platform capabilities and configurations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static class
PlatformInfo.Version
-
Field Summary
Fields Modifier and Type Field and Description static short
CPU_TYPE_CELERON
static short
CPU_TYPE_CORE2_NONVPRO
static short
CPU_TYPE_PENTIUM
static short
CPU_TYPE_UNIDENTIFIED
static short
CPU_TYPE_VPRO
static short
CPU_TYPE_XEON
static short
CPU_TYPE_XEONVPRO
static int
FEATURE_SET_AMT
A constant indicating AMT is supportedstatic int
FEATURE_SET_CRYPTO
A constant indicating crypto capability is supported (RSA, symmetric encryption algorithm, hash and signature)static int
FEATURE_SET_DEBUG
A constant indicating platform debug capability is supportedstatic int
FEATURE_SET_IAC
A constant indicating platform inter-applet communication (IAC) is supportedstatic int
FEATURE_SET_NFC
A constant indicating NFC capability is supportedstatic int
FEATURE_SET_PLATFORM_API
A constant indicating platform specific utility APIs are supportedstatic int
FEATURE_SET_SENSORS
A constant indicating platform sensors capability is supportedstatic int
FEATURE_SET_SIGMA
A constant indicating Sigma/EPID capability is supportedstatic int
FEATURE_SET_SSL
A constant indicating SSL capability is supportedstatic int
FEATURE_SET_STORAGE
A constant indicating flash storage capability is supportedstatic int
FEATURE_SET_TRUSTED_INPUT
A constant indicating trusted input capability is supportedstatic int
FEATURE_SET_TRUSTED_OUTPUT
A constant indicating trusted output capability is supportedstatic int
FEATURE_SET_UTILS
A constant indicating utility classes capability is supported (events, timers, calendar, MTC)static short
SECURITY_ENGINE_FAMILY_CSE
A constant indicating the security engine family is "Intel(R) Converged Security Engine"static short
SECURITY_ENGINE_FAMILY_ME
A constant indicating the security engine family is "Intel(R) Manageability Engine"static short
SECURITY_ENGINE_FAMILY_TXE
A constant indicating the security engine family is "Intel(R) Trusted Execution Engine"
-
Method Summary
Methods Modifier and Type Method and Description static int
getCpuType()
This method returns the CPU brand type, the return value may change with the introduction of new CPU types.static int
getFeatureSet()
Returns the features supported on the platformstatic short
getSecurityEngineFamily()
Returns the security engine familystatic PlatformInfo.Version
getSecurityEngineVersion()
Returns the version of the security enginestatic int
getSkuId()
Returns a number representing the platform specific SKU
-
-
-
Field Detail
-
FEATURE_SET_CRYPTO
public static final int FEATURE_SET_CRYPTO
A constant indicating crypto capability is supported (RSA, symmetric encryption algorithm, hash and signature)- See Also:
- Constant Field Values
-
FEATURE_SET_SIGMA
public static final int FEATURE_SET_SIGMA
A constant indicating Sigma/EPID capability is supported- See Also:
- Constant Field Values
-
FEATURE_SET_STORAGE
public static final int FEATURE_SET_STORAGE
A constant indicating flash storage capability is supported- See Also:
- Constant Field Values
-
FEATURE_SET_UTILS
public static final int FEATURE_SET_UTILS
A constant indicating utility classes capability is supported (events, timers, calendar, MTC)- See Also:
- Constant Field Values
-
FEATURE_SET_SSL
public static final int FEATURE_SET_SSL
A constant indicating SSL capability is supported- See Also:
- Constant Field Values
-
FEATURE_SET_TRUSTED_OUTPUT
public static final int FEATURE_SET_TRUSTED_OUTPUT
A constant indicating trusted output capability is supported- See Also:
- Constant Field Values
-
FEATURE_SET_TRUSTED_INPUT
public static final int FEATURE_SET_TRUSTED_INPUT
A constant indicating trusted input capability is supported- See Also:
- Constant Field Values
-
FEATURE_SET_NFC
public static final int FEATURE_SET_NFC
A constant indicating NFC capability is supported- See Also:
- Constant Field Values
-
FEATURE_SET_PLATFORM_API
public static final int FEATURE_SET_PLATFORM_API
A constant indicating platform specific utility APIs are supported- See Also:
- Constant Field Values
-
FEATURE_SET_DEBUG
public static final int FEATURE_SET_DEBUG
A constant indicating platform debug capability is supported- See Also:
- Constant Field Values
-
FEATURE_SET_SENSORS
public static final int FEATURE_SET_SENSORS
A constant indicating platform sensors capability is supported- See Also:
- Constant Field Values
-
FEATURE_SET_IAC
public static final int FEATURE_SET_IAC
A constant indicating platform inter-applet communication (IAC) is supported- See Also:
- Constant Field Values
-
FEATURE_SET_AMT
public static final int FEATURE_SET_AMT
A constant indicating AMT is supported- See Also:
- Constant Field Values
-
SECURITY_ENGINE_FAMILY_ME
public static final short SECURITY_ENGINE_FAMILY_ME
A constant indicating the security engine family is "Intel(R) Manageability Engine"- See Also:
- Constant Field Values
-
SECURITY_ENGINE_FAMILY_TXE
public static final short SECURITY_ENGINE_FAMILY_TXE
A constant indicating the security engine family is "Intel(R) Trusted Execution Engine"- See Also:
- Constant Field Values
-
SECURITY_ENGINE_FAMILY_CSE
public static final short SECURITY_ENGINE_FAMILY_CSE
A constant indicating the security engine family is "Intel(R) Converged Security Engine"- See Also:
- Constant Field Values
-
CPU_TYPE_UNIDENTIFIED
public static final short CPU_TYPE_UNIDENTIFIED
- See Also:
- Constant Field Values
-
CPU_TYPE_CORE2_NONVPRO
public static final short CPU_TYPE_CORE2_NONVPRO
- See Also:
- Constant Field Values
-
CPU_TYPE_VPRO
public static final short CPU_TYPE_VPRO
- See Also:
- Constant Field Values
-
CPU_TYPE_PENTIUM
public static final short CPU_TYPE_PENTIUM
- See Also:
- Constant Field Values
-
CPU_TYPE_CELERON
public static final short CPU_TYPE_CELERON
- See Also:
- Constant Field Values
-
CPU_TYPE_XEON
public static final short CPU_TYPE_XEON
- See Also:
- Constant Field Values
-
CPU_TYPE_XEONVPRO
public static final short CPU_TYPE_XEONVPRO
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCpuType
public static int getCpuType() throws UtilException
This method returns the CPU brand type, the return value may change with the introduction of new CPU types. | * @throws UtilException if an internal error occurrs- Returns:
- CPU brand type one of the CPU_TYPE_XXXX values.
- Throws:
UtilException
-
getFeatureSet
public static int getFeatureSet() throws UtilException
Returns the features supported on the platform- Returns:
- A bitmask representing the features supported on the platforms a bitmask of values from FEATURE_SET_XXXX.
- Throws:
UtilException
- if an internal error occurrs
-
getSecurityEngineFamily
public static short getSecurityEngineFamily() throws UtilException
Returns the security engine family- Returns:
- returns the security engine family. One of the SECURITY_ENGINE_FAMILY_XXXX values.
- Throws:
UtilException
- if an internal error occurrs
-
getSecurityEngineVersion
public static PlatformInfo.Version getSecurityEngineVersion() throws UtilException
Returns the version of the security engine- Returns:
- The version of the security engine
- Throws:
UtilException
- if an internal error occurrs
-
getSkuId
public static int getSkuId() throws UtilException
Returns a number representing the platform specific SKU- Returns:
- A number representing the platform specific SKU
- Throws:
UtilException
- if an internal error occurrs
-
-