public static enum TPM_RC._N extends Enum<TPM_RC._N>
| Enum Constant and Description |
|---|
_1
add to a parameter-, handle-, or session-related error
|
_2
add to a parameter-, handle-, or session-related error
|
_3
add to a parameter-, handle-, or session-related error
|
_4
add to a parameter-, handle-, or session-related error
|
_5
add to a parameter-, handle-, or session-related error
|
_6
add to a parameter-, handle-, or session-related error
|
_7
add to a parameter-, handle-, or session-related error
|
_8
add to a parameter-related error
|
_9
add to a parameter-related error
|
A
add to a parameter-related error
|
ASYMMETRIC
asymmetric algorithm not supported or not correct
|
ATTRIBUTES
inconsistent attributes
|
AUTH_CONTEXT
use of an authorization session with a context command or another command that cannot have an authorization session.
|
AUTH_FAIL
the authorization HMAC check failed and DA counter incremented
|
AUTH_MISSING
command requires an authorization session for handle and it is not present.
|
AUTH_TYPE
authorization handle is not correct for command
|
AUTH_UNAVAILABLE
authValue or authPolicy is not available for selected entity.
|
AUTHSIZE
the value of authorizationSize is out of range or the number of octets in the Authorization Area is greater than required
|
B
add to a parameter-related error
|
BAD_AUTH
authorization failure without DA implications
|
BAD_CONTEXT
context in TPM2_ContextLoad() is not valid
|
BAD_TAG
defined for compatibility with TPM 1.2
|
BINDING
public and sensitive portions of an object are not cryptographically bound
|
C
add to a parameter-related error
|
CANCELED
the command was canceled
|
COMMAND_CODE
command code not supported
|
COMMAND_SIZE
command commandSize value is inconsistent with contents of the command buffer; either the size is not the same as the octets loaded by the hardware interface layer or the value is not large enough to hold a command header
|
CONTEXT_GAP
gap for context ID is too large
|
CPHASH
cpHash value already set or not correct for use
|
CURVE
curve not supported
|
D
add to a parameter-related error
|
DISABLED
the command is disabled
|
E
add to a parameter-related error
|
ECC_POINT
point is not on the required curve.
|
EXCLUSIVE
command failed because audit sequence required exclusivity
|
EXPIRED
the policy has expired
|
F
add to a parameter-related error
|
FAILURE
commands not being accepted because of a TPM failure NOTE This may be returned by TPM2_GetTestResult() as the testResult parameter.
|
H
add to a handle-related error
|
HANDLE
the handle is not correct for the use
|
HASH
hash algorithm not supported or not appropriate
|
HIERARCHY
hierarchy is not enabled or is not correct for the use
|
HMAC
not currently used
|
INITIALIZE
TPM not initialized by TPM2_Startup or already initialized
|
INSUFFICIENT
the TPM was unable to unmarshal a value because there were not enough octets in the input buffer
|
INTEGRITY
integrity check failed
|
KDF
unsupported key derivation function or function not appropriate for use
|
KEY
key fields are not compatible with the selected use
|
KEY_SIZE
key size is not supported
|
LOCALITY
bad locality
|
LOCKOUT
authorizations for objects subject to DA protection are not allowed at this time because the TPM is in DA lockout mode
|
MEMORY
out of shared object/session memory or need space for internal operations
|
MGF
mask generation function not supported
|
MODE
mode of operation not supported
|
N_MASK
number mask
|
NEEDS_TEST
some function needs testing.
|
NO_RESULT
returned when an internal function cannot process a request due to an unspecified problem.
|
NONCE
invalid nonce size or nonce value mismatch
|
NOT_USED
this value is reserved and shall not be returned by the TPM
|
NV_AUTHORIZATION
NV access authorization fails in command actions (this failure does not affect lockout.action)
|
NV_DEFINED
NV Index or persistent object already defined
|
NV_LOCKED
NV access locked.
|
NV_RANGE
NV offset+size is out of range.
|
NV_RATE
the TPM is rate-limiting accesses to prevent wearout of NV
|
NV_SIZE
Requested allocation size is larger than allowed.
|
NV_SPACE
insufficient space for NV allocation
|
NV_UNAVAILABLE
the command may require writing of NV and NV is not current accessible
|
NV_UNINITIALIZED
an NV Index is used before being initialized or the state saved by TPM2_Shutdown(STATE) could not be restored
|
OBJECT_HANDLES
out of object handles the handle space for objects is depleted and a reboot is required NOTE 1 This cannot occur on the reference implementation.
|
OBJECT_MEMORY
out of memory for object contexts
|
P
add to a parameter-related error
|
PARENT
handle for parent is not a valid parent
|
PCR
PCR check fail
|
PCR_CHANGED
PCR have changed since checked.
|
POLICY
policy failure in math operation or an invalid authPolicy value
|
POLICY_CC
the commandCode in the policy is not the commandCode of the command or the command code in a policy command references a command that is not implemented
|
POLICY_FAIL
a policy check failed
|
PP
authorization requires assertion of PP
|
PRIVATE
not currently used
|
RANGE
value was out of allowed range.
|
RC_FMT1
This bit is SET in all format 1 response codes The codes in this group may have a value added to them to indicate the handle, session, or parameter to which they apply.
|
RC_MAX_FM0
largest version 1 code that is not a warning
|
RC_VER1
set for all format 0 response codes
|
RC_WARN
set for warning response codes
|
REBOOT
a _TPM_Init and Startup(CLEAR) is required before the TPM can resume operation.
|
REFERENCE_H0
the 1st handle in the handle area references a transient object or session that is not loaded
|
REFERENCE_H1
the 2nd handle in the handle area references a transient object or session that is not loaded
|
REFERENCE_H2
the 3rd handle in the handle area references a transient object or session that is not loaded
|
REFERENCE_H3
the 4th handle in the handle area references a transient object or session that is not loaded
|
REFERENCE_H4
the 5th handle in the handle area references a transient object or session that is not loaded
|
REFERENCE_H5
the 6th handle in the handle area references a transient object or session that is not loaded
|
REFERENCE_H6
the 7th handle in the handle area references a transient object or session that is not loaded
|
REFERENCE_S0
the 1st authorization session handle references a session that is not loaded
|
REFERENCE_S1
the 2nd authorization session handle references a session that is not loaded
|
REFERENCE_S2
the 3rd authorization session handle references a session that is not loaded
|
REFERENCE_S3
the 4th authorization session handle references a session that is not loaded
|
REFERENCE_S4
the 5th session handle references a session that is not loaded
|
REFERENCE_S5
the 6th session handle references a session that is not loaded
|
REFERENCE_S6
the 7th authorization session handle references a session that is not loaded
|
RETRY
the TPM was not able to start the command
|
S
add to a session-related error
|
SCHEME
unsupported or incompatible scheme
|
SELECTOR
union selector is incorrect
|
SENSITIVE
the sensitive area did not unmarshal correctly after decryption this code is used in lieu of the other unmarshaling errors so that an attacker cannot determine where the unmarshaling error occurred
|
SEQUENCE
improper use of a sequence handle
|
SESSION_HANDLES
out of session handles a session must be flushed before a new session may be created
|
SESSION_MEMORY
out of memory for session contexts
|
SIGNATURE
the signature is not valid
|
SIZE
structure is the wrong size
|
SUCCESS |
SYMMETRIC
unsupported symmetric algorithm or key size, or not appropriate for instance
|
TAG
incorrect structure tag
|
TbsAccessDenied
Windows TBS error TBS_E_ACCESS_DENIED
|
TbsBadParameter
Windows TBS error TBS_E_BAD_PARAMETER
|
TbsBufferTooLarge
Windows TBS error TBS_E_BUFFER_TOO_LARGE
|
TbsCommandBlocked
Windows TBS error TPM_E_COMMAND_BLOCKED
|
TbsCommandCanceled
Windows TBS error TBS_E_COMMAND_CANCELED
|
TbsDuplicateVHandle
Windows TBS error TPM_E_DUPLICATE_VHANDLE
|
TbsEmbeddedCommandBlocked
Windows TBS error TPM_E_EMBEDDED_COMMAND_BLOCKED
|
TbsEmbeddedCommandUnsupported
Windows TBS error TPM_E_EMBEDDED_COMMAND_UNSUPPORTED
|
TbsInsufficientBuffer
Windows TBS error TBS_E_INSUFFICIENT_BUFFER
|
TbsInternalError
Windows TBS error TBS_E_INTERNAL_ERROR
|
TbsInvalidContext
Windows TBS error TBS_E_INVALID_CONTEXT
|
TbsInvalidContextParam
Windows TBS error TBS_E_INVALID_CONTEXT_PARAM
|
TbsInvalidHandle
Windows TBS error TPM_E_INVALID_HANDLE
|
TbsInvalidOutputPointer
Windows TBS error TBS_E_INVALID_OUTPUT_POINTER
|
TbsIoError
Windows TBS error TBS_E_IOERROR
|
TbsOwnerAuthNotFound
Windows TBS error TBS_E_OWNERAUTH_NOT_FOUND
|
TbsPpiFunctionNotSupported
Windows TBS error TBS_E_PPI_FUNCTION_UNSUPPORTED
|
TbsPpiNotSupported
Windows TBS error TBS_E_PPI_NOT_SUPPORTED
|
TbsServiceDisabled
Windows TBS error TBS_E_SERVICE_DISABLED
|
TbsServiceNotRunning
Windows TBS error TBS_E_SERVICE_NOT_RUNNING
|
TbsServiceStartPending
Windows TBS error TBS_E_SERVICE_START_PENDING
|
TbsTooManyContexts
Windows TBS error TBS_E_TOO_MANY_TBS_CONTEXTS
|
TbsTooManyResources
Windows TBS error TBS_E_TOO_MANY_TBS_RESOURCES
|
TbsTpmNotFound
Windows TBS error TBS_E_TPM_NOT_FOUND
|
TbsUnknownError
Windows TBS returned success but empty response buffer
|
TESTING
TPM is performing self-tests
|
TICKET
invalid ticket
|
TOO_MANY_CONTEXTS
context ID counter is at maximum.
|
TYPE
the type of the value is not appropriate for the use
|
UNBALANCED
the protection algorithms (hash and symmetric) are not reasonably balanced.
|
UPGRADE
for all commands other than TPM2_FieldUpgradeData(), this code indicates that the TPM is in field upgrade mode; for TPM2_FieldUpgradeData(), this code indicates that the TPM is not in field upgrade mode
|
VALUE
value is out of range or is not correct for the context
|
YIELDED
the TPM has suspended operation on the command; forward progress was made and the command may be retried See TPM 2.0 Part 1, Multi-tasking.
|
| Modifier and Type | Method and Description |
|---|---|
static TPM_RC._N |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TPM_RC._N[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TPM_RC._N SUCCESS
public static final TPM_RC._N BAD_TAG
public static final TPM_RC._N RC_VER1
public static final TPM_RC._N INITIALIZE
public static final TPM_RC._N FAILURE
public static final TPM_RC._N SEQUENCE
public static final TPM_RC._N PRIVATE
public static final TPM_RC._N HMAC
public static final TPM_RC._N DISABLED
public static final TPM_RC._N EXCLUSIVE
public static final TPM_RC._N AUTH_TYPE
public static final TPM_RC._N AUTH_MISSING
public static final TPM_RC._N POLICY
public static final TPM_RC._N PCR
public static final TPM_RC._N PCR_CHANGED
public static final TPM_RC._N UPGRADE
public static final TPM_RC._N TOO_MANY_CONTEXTS
public static final TPM_RC._N AUTH_UNAVAILABLE
public static final TPM_RC._N REBOOT
public static final TPM_RC._N UNBALANCED
public static final TPM_RC._N COMMAND_SIZE
public static final TPM_RC._N COMMAND_CODE
public static final TPM_RC._N AUTHSIZE
public static final TPM_RC._N AUTH_CONTEXT
public static final TPM_RC._N NV_RANGE
public static final TPM_RC._N NV_SIZE
public static final TPM_RC._N NV_LOCKED
public static final TPM_RC._N NV_AUTHORIZATION
public static final TPM_RC._N NV_UNINITIALIZED
public static final TPM_RC._N NV_SPACE
public static final TPM_RC._N NV_DEFINED
public static final TPM_RC._N BAD_CONTEXT
public static final TPM_RC._N CPHASH
public static final TPM_RC._N PARENT
public static final TPM_RC._N NEEDS_TEST
public static final TPM_RC._N NO_RESULT
public static final TPM_RC._N SENSITIVE
public static final TPM_RC._N RC_MAX_FM0
public static final TPM_RC._N RC_FMT1
public static final TPM_RC._N ASYMMETRIC
public static final TPM_RC._N ATTRIBUTES
public static final TPM_RC._N HASH
public static final TPM_RC._N VALUE
public static final TPM_RC._N HIERARCHY
public static final TPM_RC._N KEY_SIZE
public static final TPM_RC._N MGF
public static final TPM_RC._N MODE
public static final TPM_RC._N TYPE
public static final TPM_RC._N HANDLE
public static final TPM_RC._N KDF
public static final TPM_RC._N RANGE
public static final TPM_RC._N AUTH_FAIL
public static final TPM_RC._N NONCE
public static final TPM_RC._N PP
public static final TPM_RC._N SCHEME
public static final TPM_RC._N SIZE
public static final TPM_RC._N SYMMETRIC
public static final TPM_RC._N TAG
public static final TPM_RC._N SELECTOR
public static final TPM_RC._N INSUFFICIENT
public static final TPM_RC._N SIGNATURE
public static final TPM_RC._N KEY
public static final TPM_RC._N POLICY_FAIL
public static final TPM_RC._N INTEGRITY
public static final TPM_RC._N TICKET
public static final TPM_RC._N BAD_AUTH
public static final TPM_RC._N EXPIRED
public static final TPM_RC._N POLICY_CC
public static final TPM_RC._N BINDING
public static final TPM_RC._N CURVE
public static final TPM_RC._N ECC_POINT
public static final TPM_RC._N RC_WARN
public static final TPM_RC._N CONTEXT_GAP
public static final TPM_RC._N OBJECT_MEMORY
public static final TPM_RC._N SESSION_MEMORY
public static final TPM_RC._N MEMORY
public static final TPM_RC._N SESSION_HANDLES
public static final TPM_RC._N OBJECT_HANDLES
public static final TPM_RC._N LOCALITY
public static final TPM_RC._N YIELDED
public static final TPM_RC._N CANCELED
public static final TPM_RC._N TESTING
public static final TPM_RC._N REFERENCE_H0
public static final TPM_RC._N REFERENCE_H1
public static final TPM_RC._N REFERENCE_H2
public static final TPM_RC._N REFERENCE_H3
public static final TPM_RC._N REFERENCE_H4
public static final TPM_RC._N REFERENCE_H5
public static final TPM_RC._N REFERENCE_H6
public static final TPM_RC._N REFERENCE_S0
public static final TPM_RC._N REFERENCE_S1
public static final TPM_RC._N REFERENCE_S2
public static final TPM_RC._N REFERENCE_S3
public static final TPM_RC._N REFERENCE_S4
public static final TPM_RC._N REFERENCE_S5
public static final TPM_RC._N REFERENCE_S6
public static final TPM_RC._N NV_RATE
public static final TPM_RC._N LOCKOUT
public static final TPM_RC._N RETRY
public static final TPM_RC._N NV_UNAVAILABLE
public static final TPM_RC._N NOT_USED
public static final TPM_RC._N H
public static final TPM_RC._N P
public static final TPM_RC._N S
public static final TPM_RC._N _1
public static final TPM_RC._N _2
public static final TPM_RC._N _3
public static final TPM_RC._N _4
public static final TPM_RC._N _5
public static final TPM_RC._N _6
public static final TPM_RC._N _7
public static final TPM_RC._N _8
public static final TPM_RC._N _9
public static final TPM_RC._N A
public static final TPM_RC._N B
public static final TPM_RC._N C
public static final TPM_RC._N D
public static final TPM_RC._N E
public static final TPM_RC._N F
public static final TPM_RC._N N_MASK
public static final TPM_RC._N TbsCommandBlocked
public static final TPM_RC._N TbsInvalidHandle
public static final TPM_RC._N TbsDuplicateVHandle
public static final TPM_RC._N TbsEmbeddedCommandBlocked
public static final TPM_RC._N TbsEmbeddedCommandUnsupported
public static final TPM_RC._N TbsUnknownError
public static final TPM_RC._N TbsInternalError
public static final TPM_RC._N TbsBadParameter
public static final TPM_RC._N TbsInvalidOutputPointer
public static final TPM_RC._N TbsInvalidContext
public static final TPM_RC._N TbsInsufficientBuffer
public static final TPM_RC._N TbsIoError
public static final TPM_RC._N TbsInvalidContextParam
public static final TPM_RC._N TbsServiceNotRunning
public static final TPM_RC._N TbsTooManyContexts
public static final TPM_RC._N TbsTooManyResources
public static final TPM_RC._N TbsServiceStartPending
public static final TPM_RC._N TbsPpiNotSupported
public static final TPM_RC._N TbsCommandCanceled
public static final TPM_RC._N TbsBufferTooLarge
public static final TPM_RC._N TbsTpmNotFound
public static final TPM_RC._N TbsServiceDisabled
public static final TPM_RC._N TbsAccessDenied
public static final TPM_RC._N TbsPpiFunctionNotSupported
public static final TPM_RC._N TbsOwnerAuthNotFound
public static TPM_RC._N[] values()
for (TPM_RC._N c : TPM_RC._N.values()) System.out.println(c);
public static TPM_RC._N valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017. All rights reserved.