Package tss.tpm

Enum TPM_RC._N

  • All Implemented Interfaces:
    Serializable, Comparable<TPM_RC._N>
    Enclosing class:
    TPM_RC

    public static enum TPM_RC._N
    extends Enum<TPM_RC._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 TPM_RC. qualifier.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant 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
      RESERVED_BITS
      Reserved bits not set to zero as required
      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
      TBS_ACCESS_DENIED
      Windows TBS error TBS_E_ACCESS_DENIED
      TBS_BAD_PARAMETER
      Windows TBS error TBS_E_BAD_PARAMETER
      TBS_BUFFER_TOO_LARGE
      Windows TBS error TBS_E_BUFFER_TOO_LARGE
      TBS_COMMAND_BLOCKED
      Windows TBS error TPM_E_COMMAND_BLOCKED
      TBS_COMMAND_CANCELED
      Windows TBS error TBS_E_COMMAND_CANCELED
      TBS_DUPLICATE_V_HANDLE
      Windows TBS error TPM_E_DUPLICATE_VHANDLE
      TBS_EMBEDDED_COMMAND_BLOCKED
      Windows TBS error TPM_E_EMBEDDED_COMMAND_BLOCKED
      TBS_EMBEDDED_COMMAND_UNSUPPORTED
      Windows TBS error TPM_E_EMBEDDED_COMMAND_UNSUPPORTED
      TBS_INSUFFICIENT_BUFFER
      Windows TBS error TBS_E_INSUFFICIENT_BUFFER
      TBS_INTERNAL_ERROR
      Windows TBS error TBS_E_INTERNAL_ERROR
      TBS_INVALID_CONTEXT
      Windows TBS error TBS_E_INVALID_CONTEXT
      TBS_INVALID_CONTEXT_PARAM
      Windows TBS error TBS_E_INVALID_CONTEXT_PARAM
      TBS_INVALID_HANDLE
      Windows TBS error TPM_E_INVALID_HANDLE
      TBS_INVALID_OUTPUT_POINTER
      Windows TBS error TBS_E_INVALID_OUTPUT_POINTER
      TBS_IO_ERROR
      Windows TBS error TBS_E_IOERROR
      TBS_OWNER_AUTH_NOT_FOUND
      Windows TBS error TBS_E_OWNERAUTH_NOT_FOUND
      TBS_PPI_FUNCTION_NOT_SUPPORTED
      Windows TBS error TBS_E_PPI_FUNCTION_UNSUPPORTED
      TBS_PPI_NOT_SUPPORTED
      Windows TBS error TBS_E_PPI_NOT_SUPPORTED
      TBS_SERVICE_DISABLED
      Windows TBS error TBS_E_SERVICE_DISABLED
      TBS_SERVICE_NOT_RUNNING
      Windows TBS error TBS_E_SERVICE_NOT_RUNNING
      TBS_SERVICE_START_PENDING
      Windows TBS error TBS_E_SERVICE_START_PENDING
      TBS_TOO_MANY_CONTEXTS
      Windows TBS error TBS_E_TOO_MANY_TBS_CONTEXTS
      TBS_TOO_MANY_RESOURCES
      Windows TBS error TBS_E_TOO_MANY_TBS_RESOURCES
      TBS_TPM_NOT_FOUND
      Windows TBS error TBS_E_TPM_NOT_FOUND
      TBS_UNKNOWN_ERROR
      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.
      TSS_DISPATCH_FAILED
      General TPM command dispatch failure
      TSS_RESP_BUF_INVALID_SESSION_TAG
      Invalid tag in the response buffer returned by the TPM
      TSS_RESP_BUF_INVALID_SIZE
      Inconsistent TPM response parameters size
      TSS_RESP_BUF_TOO_SHORT
      Response buffer returned by the TPM is too short
      TSS_SEND_OP_FAILED
      Sending data to TPM failed
      TSS_TCP_BAD_ACK
      Bad ack from the TCP end point
      TSS_TCP_BAD_HANDSHAKE_RESP
      Response buffer returned by the TPM is too short
      TSS_TCP_BAD_RESP_LEN
      Wrong length of the response buffer returned by the TPM
      TSS_TCP_DISCONNECTED
      TPM over TCP device is not connected
      TSS_TCP_INVALID_SIZE_TAG
      Invalid size tag in the TPM response TCP packet
      TSS_TCP_SERVER_TOO_OLD
      Too old TCP server version
      TSS_TCP_UNEXPECTED_STARTUP_RESP
      TPM2_Startup returned unexpected response code
      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.
    • Enum Constant Detail

      • SUCCESS

        public static final TPM_RC._N SUCCESS
      • BAD_TAG

        public static final TPM_RC._N BAD_TAG
        Defined for compatibility with TPM 1.2
      • RC_VER1

        public static final TPM_RC._N RC_VER1
        Set for all format 0 response codes
      • INITIALIZE

        public static final TPM_RC._N INITIALIZE
        TPM not initialized by TPM2_Startup or already initialized
      • FAILURE

        public static final TPM_RC._N FAILURE
        Commands not being accepted because of a TPM failure NOTE This may be returned by TPM2_GetTestResult() as the testResult parameter.
      • SEQUENCE

        public static final TPM_RC._N SEQUENCE
        Improper use of a sequence handle
      • PRIVATE

        public static final TPM_RC._N PRIVATE
        Not currently used
      • HMAC

        public static final TPM_RC._N HMAC
        Not currently used
      • DISABLED

        public static final TPM_RC._N DISABLED
        The command is disabled
      • EXCLUSIVE

        public static final TPM_RC._N EXCLUSIVE
        Command failed because audit sequence required exclusivity
      • AUTH_TYPE

        public static final TPM_RC._N AUTH_TYPE
        Authorization handle is not correct for command
      • AUTH_MISSING

        public static final TPM_RC._N AUTH_MISSING
        Command requires an authorization session for handle and it is not present.
      • POLICY

        public static final TPM_RC._N POLICY
        Policy failure in math operation or an invalid authPolicy value
      • PCR

        public static final TPM_RC._N PCR
        PCR check fail
      • PCR_CHANGED

        public static final TPM_RC._N PCR_CHANGED
        PCR have changed since checked.
      • UPGRADE

        public static final TPM_RC._N 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
      • TOO_MANY_CONTEXTS

        public static final TPM_RC._N TOO_MANY_CONTEXTS
        Context ID counter is at maximum.
      • AUTH_UNAVAILABLE

        public static final TPM_RC._N AUTH_UNAVAILABLE
        AuthValue or authPolicy is not available for selected entity.
      • REBOOT

        public static final TPM_RC._N REBOOT
        A _TPM_Init and Startup(CLEAR) is required before the TPM can resume operation.
      • UNBALANCED

        public static final TPM_RC._N UNBALANCED
        The protection algorithms (hash and symmetric) are not reasonably balanced. The digest size of the hash must be larger than the key size of the symmetric algorithm.
      • COMMAND_SIZE

        public static final TPM_RC._N 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
      • COMMAND_CODE

        public static final TPM_RC._N COMMAND_CODE
        Command code not supported
      • AUTHSIZE

        public static final TPM_RC._N AUTHSIZE
        The value of authorizationSize is out of range or the number of octets in the Authorization Area is greater than required
      • AUTH_CONTEXT

        public static final TPM_RC._N AUTH_CONTEXT
        Use of an authorization session with a context command or another command that cannot have an authorization session.
      • NV_RANGE

        public static final TPM_RC._N NV_RANGE
        NV offset+size is out of range.
      • NV_SIZE

        public static final TPM_RC._N NV_SIZE
        Requested allocation size is larger than allowed.
      • NV_LOCKED

        public static final TPM_RC._N NV_LOCKED
        NV access locked.
      • NV_AUTHORIZATION

        public static final TPM_RC._N NV_AUTHORIZATION
        NV access authorization fails in command actions (this failure does not affect lockout.action)
      • NV_UNINITIALIZED

        public static final TPM_RC._N NV_UNINITIALIZED
        An NV Index is used before being initialized or the state saved by TPM2_Shutdown(STATE) could not be restored
      • NV_SPACE

        public static final TPM_RC._N NV_SPACE
        Insufficient space for NV allocation
      • NV_DEFINED

        public static final TPM_RC._N NV_DEFINED
        NV Index or persistent object already defined
      • BAD_CONTEXT

        public static final TPM_RC._N BAD_CONTEXT
        Context in TPM2_ContextLoad() is not valid
      • CPHASH

        public static final TPM_RC._N CPHASH
        CpHash value already set or not correct for use
      • PARENT

        public static final TPM_RC._N PARENT
        Handle for parent is not a valid parent
      • NEEDS_TEST

        public static final TPM_RC._N NEEDS_TEST
        Some function needs testing.
      • NO_RESULT

        public static final TPM_RC._N NO_RESULT
        Returned when an internal function cannot process a request due to an unspecified problem. This code is usually related to invalid parameters that are not properly filtered by the input unmarshaling code.
      • SENSITIVE

        public static final TPM_RC._N 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
      • RC_MAX_FM0

        public static final TPM_RC._N RC_MAX_FM0
        Largest version 1 code that is not a warning
      • RC_FMT1

        public static final TPM_RC._N 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.
      • ASYMMETRIC

        public static final TPM_RC._N ASYMMETRIC
        Asymmetric algorithm not supported or not correct
      • ATTRIBUTES

        public static final TPM_RC._N ATTRIBUTES
        Inconsistent attributes
      • HASH

        public static final TPM_RC._N HASH
        Hash algorithm not supported or not appropriate
      • VALUE

        public static final TPM_RC._N VALUE
        Value is out of range or is not correct for the context
      • HIERARCHY

        public static final TPM_RC._N HIERARCHY
        Hierarchy is not enabled or is not correct for the use
      • KEY_SIZE

        public static final TPM_RC._N KEY_SIZE
        Key size is not supported
      • MGF

        public static final TPM_RC._N MGF
        Mask generation function not supported
      • MODE

        public static final TPM_RC._N MODE
        Mode of operation not supported
      • TYPE

        public static final TPM_RC._N TYPE
        The type of the value is not appropriate for the use
      • HANDLE

        public static final TPM_RC._N HANDLE
        The handle is not correct for the use
      • KDF

        public static final TPM_RC._N KDF
        Unsupported key derivation function or function not appropriate for use
      • RANGE

        public static final TPM_RC._N RANGE
        Value was out of allowed range.
      • AUTH_FAIL

        public static final TPM_RC._N AUTH_FAIL
        The authorization HMAC check failed and DA counter incremented
      • NONCE

        public static final TPM_RC._N NONCE
        Invalid nonce size or nonce value mismatch
      • PP

        public static final TPM_RC._N PP
        Authorization requires assertion of PP
      • SCHEME

        public static final TPM_RC._N SCHEME
        Unsupported or incompatible scheme
      • SIZE

        public static final TPM_RC._N SIZE
        Structure is the wrong size
      • SYMMETRIC

        public static final TPM_RC._N SYMMETRIC
        Unsupported symmetric algorithm or key size, or not appropriate for instance
      • TAG

        public static final TPM_RC._N TAG
        Incorrect structure tag
      • SELECTOR

        public static final TPM_RC._N SELECTOR
        Union selector is incorrect
      • INSUFFICIENT

        public static final TPM_RC._N INSUFFICIENT
        The TPM was unable to unmarshal a value because there were not enough octets in the input buffer
      • SIGNATURE

        public static final TPM_RC._N SIGNATURE
        The signature is not valid
      • KEY

        public static final TPM_RC._N KEY
        Key fields are not compatible with the selected use
      • POLICY_FAIL

        public static final TPM_RC._N POLICY_FAIL
        A policy check failed
      • INTEGRITY

        public static final TPM_RC._N INTEGRITY
        Integrity check failed
      • TICKET

        public static final TPM_RC._N TICKET
        Invalid ticket
      • RESERVED_BITS

        public static final TPM_RC._N RESERVED_BITS
        Reserved bits not set to zero as required
      • BAD_AUTH

        public static final TPM_RC._N BAD_AUTH
        Authorization failure without DA implications
      • EXPIRED

        public static final TPM_RC._N EXPIRED
        The policy has expired
      • POLICY_CC

        public static final TPM_RC._N 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
      • BINDING

        public static final TPM_RC._N BINDING
        Public and sensitive portions of an object are not cryptographically bound
      • CURVE

        public static final TPM_RC._N CURVE
        Curve not supported
      • ECC_POINT

        public static final TPM_RC._N ECC_POINT
        Point is not on the required curve.
      • RC_WARN

        public static final TPM_RC._N RC_WARN
        Set for warning response codes
      • CONTEXT_GAP

        public static final TPM_RC._N CONTEXT_GAP
        Gap for context ID is too large
      • OBJECT_MEMORY

        public static final TPM_RC._N OBJECT_MEMORY
        Out of memory for object contexts
      • SESSION_MEMORY

        public static final TPM_RC._N SESSION_MEMORY
        Out of memory for session contexts
      • MEMORY

        public static final TPM_RC._N MEMORY
        Out of shared object/session memory or need space for internal operations
      • SESSION_HANDLES

        public static final TPM_RC._N SESSION_HANDLES
        Out of session handles a session must be flushed before a new session may be created
      • OBJECT_HANDLES

        public static final TPM_RC._N 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. NOTE 2 There is no reason why an implementation would implement a design that would deplete handle space. Platform specifications are encouraged to forbid it.
      • LOCALITY

        public static final TPM_RC._N LOCALITY
        Bad locality
      • YIELDED

        public static final TPM_RC._N 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. NOTE This cannot occur on the reference implementation.
      • CANCELED

        public static final TPM_RC._N CANCELED
        The command was canceled
      • TESTING

        public static final TPM_RC._N TESTING
        TPM is performing self-tests
      • REFERENCE_H0

        public static final TPM_RC._N REFERENCE_H0
        The 1st handle in the handle area references a transient object or session that is not loaded
      • REFERENCE_H1

        public static final TPM_RC._N REFERENCE_H1
        The 2nd handle in the handle area references a transient object or session that is not loaded
      • REFERENCE_H2

        public static final TPM_RC._N REFERENCE_H2
        The 3rd handle in the handle area references a transient object or session that is not loaded
      • REFERENCE_H3

        public static final TPM_RC._N REFERENCE_H3
        The 4th handle in the handle area references a transient object or session that is not loaded
      • REFERENCE_H4

        public static final TPM_RC._N REFERENCE_H4
        The 5th handle in the handle area references a transient object or session that is not loaded
      • REFERENCE_H5

        public static final TPM_RC._N REFERENCE_H5
        The 6th handle in the handle area references a transient object or session that is not loaded
      • REFERENCE_H6

        public static final TPM_RC._N REFERENCE_H6
        The 7th handle in the handle area references a transient object or session that is not loaded
      • REFERENCE_S0

        public static final TPM_RC._N REFERENCE_S0
        The 1st authorization session handle references a session that is not loaded
      • REFERENCE_S1

        public static final TPM_RC._N REFERENCE_S1
        The 2nd authorization session handle references a session that is not loaded
      • REFERENCE_S2

        public static final TPM_RC._N REFERENCE_S2
        The 3rd authorization session handle references a session that is not loaded
      • REFERENCE_S3

        public static final TPM_RC._N REFERENCE_S3
        The 4th authorization session handle references a session that is not loaded
      • REFERENCE_S4

        public static final TPM_RC._N REFERENCE_S4
        The 5th session handle references a session that is not loaded
      • REFERENCE_S5

        public static final TPM_RC._N REFERENCE_S5
        The 6th session handle references a session that is not loaded
      • REFERENCE_S6

        public static final TPM_RC._N REFERENCE_S6
        The 7th authorization session handle references a session that is not loaded
      • NV_RATE

        public static final TPM_RC._N NV_RATE
        The TPM is rate-limiting accesses to prevent wearout of NV
      • LOCKOUT

        public static final TPM_RC._N LOCKOUT
        Authorizations for objects subject to DA protection are not allowed at this time because the TPM is in DA lockout mode
      • RETRY

        public static final TPM_RC._N RETRY
        The TPM was not able to start the command
      • NV_UNAVAILABLE

        public static final TPM_RC._N NV_UNAVAILABLE
        The command may require writing of NV and NV is not current accessible
      • NOT_USED

        public static final TPM_RC._N NOT_USED
        This value is reserved and shall not be returned by the TPM
      • H

        public static final TPM_RC._N H
        Add to a handle-related error
      • P

        public static final TPM_RC._N P
        Add to a parameter-related error
      • S

        public static final TPM_RC._N S
        Add to a session-related error
      • _1

        public static final TPM_RC._N _1
        Add to a parameter-, handle-, or session-related error
      • _2

        public static final TPM_RC._N _2
        Add to a parameter-, handle-, or session-related error
      • _3

        public static final TPM_RC._N _3
        Add to a parameter-, handle-, or session-related error
      • _4

        public static final TPM_RC._N _4
        Add to a parameter-, handle-, or session-related error
      • _5

        public static final TPM_RC._N _5
        Add to a parameter-, handle-, or session-related error
      • _6

        public static final TPM_RC._N _6
        Add to a parameter-, handle-, or session-related error
      • _7

        public static final TPM_RC._N _7
        Add to a parameter-, handle-, or session-related error
      • _8

        public static final TPM_RC._N _8
        Add to a parameter-related error
      • _9

        public static final TPM_RC._N _9
        Add to a parameter-related error
      • A

        public static final TPM_RC._N A
        Add to a parameter-related error
      • B

        public static final TPM_RC._N B
        Add to a parameter-related error
      • C

        public static final TPM_RC._N C
        Add to a parameter-related error
      • D

        public static final TPM_RC._N D
        Add to a parameter-related error
      • E

        public static final TPM_RC._N E
        Add to a parameter-related error
      • F

        public static final TPM_RC._N F
        Add to a parameter-related error
      • N_MASK

        public static final TPM_RC._N N_MASK
        Number mask
      • TSS_TCP_BAD_HANDSHAKE_RESP

        public static final TPM_RC._N TSS_TCP_BAD_HANDSHAKE_RESP
        Response buffer returned by the TPM is too short
      • TSS_TCP_SERVER_TOO_OLD

        public static final TPM_RC._N TSS_TCP_SERVER_TOO_OLD
        Too old TCP server version
      • TSS_TCP_BAD_ACK

        public static final TPM_RC._N TSS_TCP_BAD_ACK
        Bad ack from the TCP end point
      • TSS_TCP_BAD_RESP_LEN

        public static final TPM_RC._N TSS_TCP_BAD_RESP_LEN
        Wrong length of the response buffer returned by the TPM
      • TSS_TCP_UNEXPECTED_STARTUP_RESP

        public static final TPM_RC._N TSS_TCP_UNEXPECTED_STARTUP_RESP
        TPM2_Startup returned unexpected response code
      • TSS_TCP_INVALID_SIZE_TAG

        public static final TPM_RC._N TSS_TCP_INVALID_SIZE_TAG
        Invalid size tag in the TPM response TCP packet
      • TSS_TCP_DISCONNECTED

        public static final TPM_RC._N TSS_TCP_DISCONNECTED
        TPM over TCP device is not connected
      • TSS_DISPATCH_FAILED

        public static final TPM_RC._N TSS_DISPATCH_FAILED
        General TPM command dispatch failure
      • TSS_SEND_OP_FAILED

        public static final TPM_RC._N TSS_SEND_OP_FAILED
        Sending data to TPM failed
      • TSS_RESP_BUF_TOO_SHORT

        public static final TPM_RC._N TSS_RESP_BUF_TOO_SHORT
        Response buffer returned by the TPM is too short
      • TSS_RESP_BUF_INVALID_SESSION_TAG

        public static final TPM_RC._N TSS_RESP_BUF_INVALID_SESSION_TAG
        Invalid tag in the response buffer returned by the TPM
      • TSS_RESP_BUF_INVALID_SIZE

        public static final TPM_RC._N TSS_RESP_BUF_INVALID_SIZE
        Inconsistent TPM response parameters size
      • TBS_COMMAND_BLOCKED

        public static final TPM_RC._N TBS_COMMAND_BLOCKED
        Windows TBS error TPM_E_COMMAND_BLOCKED
      • TBS_INVALID_HANDLE

        public static final TPM_RC._N TBS_INVALID_HANDLE
        Windows TBS error TPM_E_INVALID_HANDLE
      • TBS_DUPLICATE_V_HANDLE

        public static final TPM_RC._N TBS_DUPLICATE_V_HANDLE
        Windows TBS error TPM_E_DUPLICATE_VHANDLE
      • TBS_EMBEDDED_COMMAND_BLOCKED

        public static final TPM_RC._N TBS_EMBEDDED_COMMAND_BLOCKED
        Windows TBS error TPM_E_EMBEDDED_COMMAND_BLOCKED
      • TBS_EMBEDDED_COMMAND_UNSUPPORTED

        public static final TPM_RC._N TBS_EMBEDDED_COMMAND_UNSUPPORTED
        Windows TBS error TPM_E_EMBEDDED_COMMAND_UNSUPPORTED
      • TBS_UNKNOWN_ERROR

        public static final TPM_RC._N TBS_UNKNOWN_ERROR
        Windows TBS returned success but empty response buffer
      • TBS_INTERNAL_ERROR

        public static final TPM_RC._N TBS_INTERNAL_ERROR
        Windows TBS error TBS_E_INTERNAL_ERROR
      • TBS_BAD_PARAMETER

        public static final TPM_RC._N TBS_BAD_PARAMETER
        Windows TBS error TBS_E_BAD_PARAMETER
      • TBS_INVALID_OUTPUT_POINTER

        public static final TPM_RC._N TBS_INVALID_OUTPUT_POINTER
        Windows TBS error TBS_E_INVALID_OUTPUT_POINTER
      • TBS_INVALID_CONTEXT

        public static final TPM_RC._N TBS_INVALID_CONTEXT
        Windows TBS error TBS_E_INVALID_CONTEXT
      • TBS_INSUFFICIENT_BUFFER

        public static final TPM_RC._N TBS_INSUFFICIENT_BUFFER
        Windows TBS error TBS_E_INSUFFICIENT_BUFFER
      • TBS_IO_ERROR

        public static final TPM_RC._N TBS_IO_ERROR
        Windows TBS error TBS_E_IOERROR
      • TBS_INVALID_CONTEXT_PARAM

        public static final TPM_RC._N TBS_INVALID_CONTEXT_PARAM
        Windows TBS error TBS_E_INVALID_CONTEXT_PARAM
      • TBS_SERVICE_NOT_RUNNING

        public static final TPM_RC._N TBS_SERVICE_NOT_RUNNING
        Windows TBS error TBS_E_SERVICE_NOT_RUNNING
      • TBS_TOO_MANY_CONTEXTS

        public static final TPM_RC._N TBS_TOO_MANY_CONTEXTS
        Windows TBS error TBS_E_TOO_MANY_TBS_CONTEXTS
      • TBS_TOO_MANY_RESOURCES

        public static final TPM_RC._N TBS_TOO_MANY_RESOURCES
        Windows TBS error TBS_E_TOO_MANY_TBS_RESOURCES
      • TBS_SERVICE_START_PENDING

        public static final TPM_RC._N TBS_SERVICE_START_PENDING
        Windows TBS error TBS_E_SERVICE_START_PENDING
      • TBS_PPI_NOT_SUPPORTED

        public static final TPM_RC._N TBS_PPI_NOT_SUPPORTED
        Windows TBS error TBS_E_PPI_NOT_SUPPORTED
      • TBS_COMMAND_CANCELED

        public static final TPM_RC._N TBS_COMMAND_CANCELED
        Windows TBS error TBS_E_COMMAND_CANCELED
      • TBS_BUFFER_TOO_LARGE

        public static final TPM_RC._N TBS_BUFFER_TOO_LARGE
        Windows TBS error TBS_E_BUFFER_TOO_LARGE
      • TBS_TPM_NOT_FOUND

        public static final TPM_RC._N TBS_TPM_NOT_FOUND
        Windows TBS error TBS_E_TPM_NOT_FOUND
      • TBS_SERVICE_DISABLED

        public static final TPM_RC._N TBS_SERVICE_DISABLED
        Windows TBS error TBS_E_SERVICE_DISABLED
      • TBS_ACCESS_DENIED

        public static final TPM_RC._N TBS_ACCESS_DENIED
        Windows TBS error TBS_E_ACCESS_DENIED
      • TBS_PPI_FUNCTION_NOT_SUPPORTED

        public static final TPM_RC._N TBS_PPI_FUNCTION_NOT_SUPPORTED
        Windows TBS error TBS_E_PPI_FUNCTION_UNSUPPORTED
      • TBS_OWNER_AUTH_NOT_FOUND

        public static final TPM_RC._N TBS_OWNER_AUTH_NOT_FOUND
        Windows TBS error TBS_E_OWNERAUTH_NOT_FOUND
    • Method Detail

      • values

        public static TPM_RC._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 (TPM_RC._N c : TPM_RC._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 TPM_RC._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 name
        NullPointerException - if the argument is null