Package tss.tpm
Enum Implementation._N
- java.lang.Object
-
- java.lang.Enum<Implementation._N>
-
- tss.tpm.Implementation._N
-
- All Implemented Interfaces:
Serializable
,Comparable<Implementation._N>
- Enclosing class:
- Implementation
public static enum Implementation._N extends Enum<Implementation._N>
Values from enum _N are only intended to be used in case labels of a switch statement using the result of this.asEnum() method as the switch condition. However, their Java names are identical to those of the constants defined in this class further below, so for any other usage just prepend them with the Implementation. qualifier.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTEXT_ENCRYPT_ALGORITHM
Context encryption algorithm Just use the root so that the macros in GpMacros.h will work correctly.CRT_FORMAT_RSA
DRTM_PCR
The D-RTM PCR NOTE This value is not defined when the TPM does not implement D-RTMENABLE_PCR_NO_INCREMENT
Indicates if the TPM_PT_PCR_NO_INCREMENT group is implementedFIELD_UPGRADE_IMPLEMENTED
Temporary defineHASH_LIB
Selection of the library that provides the basic hashing functions.HCRTM_PCR
The PCR that will receive the H-CRTM value at TPM2_Startup.IMPLEMENTATION_PCR
The number of PCR in the TPMMATH_LIB
Selection of the library that provides the big number math including ECC.MAX_ACTIVE_SESSIONS
The number of simultaneously active sessions that are supported by the TPM implementationMAX_ALG_LIST_SIZE
Number of algorithms that can be in a listMAX_CAP_BUFFER
Maximum size of a capability bufferMAX_COMMAND_SIZE
Maximum size of a commandMAX_CONTEXT_SIZE
MAX_DERIVATION_BITS
L value for a derivation.MAX_DIGEST_BUFFER
MAX_HANDLE_NUM
The maximum number of handles in the handle area This should be produced by the Part 3 parser but is here for now.MAX_LOADED_OBJECTS
The number of simultaneously loaded objects that are supported by the TPM; this number does not include the objects that may be placed in NV memory by TPM2_EvictControl().MAX_LOADED_SESSIONS
The number of sessions that the TPM may have in memoryMAX_NV_BUFFER_SIZE
Maximum data size in one NV read or write commandMAX_NV_INDEX_SIZE
Maximum data size allowed in an NV IndexMAX_RESPONSE_SIZE
Maximum size of a responseMAX_RNG_ENTROPY_SIZE
MAX_SESSION_NUM
This is the current maximum valueMAX_SYM_DATA
The maximum number of octets that may be in a sealed blob; 128 is the minimum allowed valueMAX_VENDOR_BUFFER_SIZE
Maximum size of the vendor-specific bufferMIN_COUNTER_INDICES
The TPM will not allocate a non-counter index if it would prevent allocation of this number of indices.MIN_EVICT_OBJECTS
The minimum number of evict objects supported by the TPMNUM_AUTHVALUE_PCR_GROUP
Number of PCR groups that have individual authorization valuesNUM_LOCALITIES
The number of localities supported by the TPM This is expected to be either 5 for a PC, or 1 for just about everything else.NUM_POLICY_PCR
Number of PCR groups that allow policy/authNUM_POLICY_PCR_GROUP
Number of PCR groups that have individual policiesNUM_STATIC_PCR
NV_CLOCK_UPDATE_INTERVAL
The update interval expressed as a power of 2 seconds A value of 12 is 4,096 seconds (~68 minutes).NV_MEMORY_SIZE
Size of NV memory in octetsORDERLY_BITS
Number between 1 and 32 inclusivePCR_SELECT_MAX
PCR_SELECT_MIN
PLATFORM_PCR
The number of PCR required by the relevant platform specificationPRIMARY_SEED_SIZE
Size of the Primary Seed in octetsPRIVATE_VENDOR_SPECIFIC_BYTES
This is a vendor-specific value so it is in this vendor-speific table.RAM_INDEX_SPACE
Number of bytes used for the RAM index space.RSA_DEFAULT_PUBLIC_EXPONENT
216 + 1RSA_MAX_PRIME
RSA_PRIVATE_SIZE
SIZE_OF_X509_SERIAL_NUMBER
SYM_LIB
Selection of the library that provides the low-level symmetric cryptography.VENDOR_COMMAND_COUNT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Implementation._N
valueOf(String name)
Returns the enum constant of this type with the specified name.static Implementation._N[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FIELD_UPGRADE_IMPLEMENTED
public static final Implementation._N FIELD_UPGRADE_IMPLEMENTED
Temporary define
-
HASH_LIB
public static final Implementation._N HASH_LIB
Selection of the library that provides the basic hashing functions.
-
SYM_LIB
public static final Implementation._N SYM_LIB
Selection of the library that provides the low-level symmetric cryptography. Choices are determined by the vendor (See LibSupport.h for implications).
-
MATH_LIB
public static final Implementation._N MATH_LIB
Selection of the library that provides the big number math including ECC. Choices are determined by the vendor (See LibSupport.h for implications).
-
IMPLEMENTATION_PCR
public static final Implementation._N IMPLEMENTATION_PCR
The number of PCR in the TPM
-
PCR_SELECT_MAX
public static final Implementation._N PCR_SELECT_MAX
-
PLATFORM_PCR
public static final Implementation._N PLATFORM_PCR
The number of PCR required by the relevant platform specification
-
PCR_SELECT_MIN
public static final Implementation._N PCR_SELECT_MIN
-
DRTM_PCR
public static final Implementation._N DRTM_PCR
The D-RTM PCR NOTE This value is not defined when the TPM does not implement D-RTM
-
HCRTM_PCR
public static final Implementation._N HCRTM_PCR
The PCR that will receive the H-CRTM value at TPM2_Startup. This value should not be changed.
-
NUM_LOCALITIES
public static final Implementation._N NUM_LOCALITIES
The number of localities supported by the TPM This is expected to be either 5 for a PC, or 1 for just about everything else.
-
MAX_HANDLE_NUM
public static final Implementation._N MAX_HANDLE_NUM
The maximum number of handles in the handle area This should be produced by the Part 3 parser but is here for now.
-
MAX_ACTIVE_SESSIONS
public static final Implementation._N MAX_ACTIVE_SESSIONS
The number of simultaneously active sessions that are supported by the TPM implementation
-
MAX_LOADED_SESSIONS
public static final Implementation._N MAX_LOADED_SESSIONS
The number of sessions that the TPM may have in memory
-
MAX_SESSION_NUM
public static final Implementation._N MAX_SESSION_NUM
This is the current maximum value
-
MAX_LOADED_OBJECTS
public static final Implementation._N MAX_LOADED_OBJECTS
The number of simultaneously loaded objects that are supported by the TPM; this number does not include the objects that may be placed in NV memory by TPM2_EvictControl().
-
MIN_EVICT_OBJECTS
public static final Implementation._N MIN_EVICT_OBJECTS
The minimum number of evict objects supported by the TPM
-
NUM_POLICY_PCR_GROUP
public static final Implementation._N NUM_POLICY_PCR_GROUP
Number of PCR groups that have individual policies
-
NUM_AUTHVALUE_PCR_GROUP
public static final Implementation._N NUM_AUTHVALUE_PCR_GROUP
Number of PCR groups that have individual authorization values
-
MAX_CONTEXT_SIZE
public static final Implementation._N MAX_CONTEXT_SIZE
-
MAX_DIGEST_BUFFER
public static final Implementation._N MAX_DIGEST_BUFFER
-
MAX_NV_INDEX_SIZE
public static final Implementation._N MAX_NV_INDEX_SIZE
Maximum data size allowed in an NV Index
-
MAX_NV_BUFFER_SIZE
public static final Implementation._N MAX_NV_BUFFER_SIZE
Maximum data size in one NV read or write command
-
MAX_CAP_BUFFER
public static final Implementation._N MAX_CAP_BUFFER
Maximum size of a capability buffer
-
NV_MEMORY_SIZE
public static final Implementation._N NV_MEMORY_SIZE
Size of NV memory in octets
-
MIN_COUNTER_INDICES
public static final Implementation._N MIN_COUNTER_INDICES
The TPM will not allocate a non-counter index if it would prevent allocation of this number of indices.
-
NUM_STATIC_PCR
public static final Implementation._N NUM_STATIC_PCR
-
MAX_ALG_LIST_SIZE
public static final Implementation._N MAX_ALG_LIST_SIZE
Number of algorithms that can be in a list
-
PRIMARY_SEED_SIZE
public static final Implementation._N PRIMARY_SEED_SIZE
Size of the Primary Seed in octets
-
CONTEXT_ENCRYPT_ALGORITHM
public static final Implementation._N CONTEXT_ENCRYPT_ALGORITHM
Context encryption algorithm Just use the root so that the macros in GpMacros.h will work correctly.
-
NV_CLOCK_UPDATE_INTERVAL
public static final Implementation._N NV_CLOCK_UPDATE_INTERVAL
The update interval expressed as a power of 2 seconds A value of 12 is 4,096 seconds (~68 minutes).
-
NUM_POLICY_PCR
public static final Implementation._N NUM_POLICY_PCR
Number of PCR groups that allow policy/auth
-
MAX_COMMAND_SIZE
public static final Implementation._N MAX_COMMAND_SIZE
Maximum size of a command
-
MAX_RESPONSE_SIZE
public static final Implementation._N MAX_RESPONSE_SIZE
Maximum size of a response
-
ORDERLY_BITS
public static final Implementation._N ORDERLY_BITS
Number between 1 and 32 inclusive
-
MAX_SYM_DATA
public static final Implementation._N MAX_SYM_DATA
The maximum number of octets that may be in a sealed blob; 128 is the minimum allowed value
-
MAX_RNG_ENTROPY_SIZE
public static final Implementation._N MAX_RNG_ENTROPY_SIZE
-
RAM_INDEX_SPACE
public static final Implementation._N RAM_INDEX_SPACE
Number of bytes used for the RAM index space. If this is not large enough, it might not be possible to allocate orderly indices.
-
RSA_DEFAULT_PUBLIC_EXPONENT
public static final Implementation._N RSA_DEFAULT_PUBLIC_EXPONENT
216 + 1
-
ENABLE_PCR_NO_INCREMENT
public static final Implementation._N ENABLE_PCR_NO_INCREMENT
Indicates if the TPM_PT_PCR_NO_INCREMENT group is implemented
-
CRT_FORMAT_RSA
public static final Implementation._N CRT_FORMAT_RSA
-
VENDOR_COMMAND_COUNT
public static final Implementation._N VENDOR_COMMAND_COUNT
-
MAX_VENDOR_BUFFER_SIZE
public static final Implementation._N MAX_VENDOR_BUFFER_SIZE
Maximum size of the vendor-specific buffer
-
MAX_DERIVATION_BITS
public static final Implementation._N MAX_DERIVATION_BITS
L value for a derivation. This is the maximum number of bits allowed from an instantiation of a KDF-DRBG. This is size is OK because RSA keys are never derived keys
-
RSA_MAX_PRIME
public static final Implementation._N RSA_MAX_PRIME
-
RSA_PRIVATE_SIZE
public static final Implementation._N RSA_PRIVATE_SIZE
-
SIZE_OF_X509_SERIAL_NUMBER
public static final Implementation._N SIZE_OF_X509_SERIAL_NUMBER
-
PRIVATE_VENDOR_SPECIFIC_BYTES
public static final Implementation._N PRIVATE_VENDOR_SPECIFIC_BYTES
This is a vendor-specific value so it is in this vendor-speific table. When this is used, RSA_PRIVATE_SIZE will have been defined
-
-
Method Detail
-
values
public static Implementation._N[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Implementation._N c : Implementation._N.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Implementation._N valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-