iaik.tc.tss.api.constants.tcs
Class TcTcsErrors

java.lang.Object
  extended by iaik.tc.tss.api.constants.tcs.TcTcsErrors

public class TcTcsErrors
extends java.lang.Object


Field Summary
static long TCS_E_BAD_INDEX
          Bad memory index
static long TCS_E_BAD_PARAMETER
           
static long TCS_E_FAIL
           
static long TCS_E_INTERNAL_ERROR
           
static long TCS_E_INVALID_AUTHHANDLE
          The authorization session handle supplied is invalid.
static long TCS_E_INVALID_AUTHSESSION
          The auth session has been closed by the TPM
static long TCS_E_INVALID_CONTEXTHANDLE
          The context handle supplied is invalid.
static long TCS_E_INVALID_KEY
          The key has been unloaded.
static long TCS_E_INVALID_KEYHANDLE
          The key handle supplied is invalid.
static long TCS_E_KEY_ALREADY_REGISTERED
           
static long TCS_E_KEY_CONTEXT_RELOAD
          The Key Cache Manager could not reload the key into the TPM.
static long TCS_E_KEY_MISMATCH
          Key addressed by the application key handle does not match the key addressed by the given UUID.
static long TCS_E_KEY_NOT_REGISTERED
           
static long TCS_E_KM_LOADFAILED
          Key addressed by Key's UUID cannot be loaded because one of the required parent keys needs authorization.
static long TCS_E_NOTIMPL
           
static long TCS_E_OUTOFMEMORY
           
static long TCS_SUCCESS
          These TCS_E_ macros are defined by name in the TSS spec, however they are defined to have the same values as the TSS_E_ equivalents.
static long TSS_LAYER_TCS
          definition for TCS layer
static long TSS_LAYER_TDDL
          definition for TDDL layer
static long TSS_LAYER_TPM
          definition for TPM layer
static long TSS_LAYER_TSP
          definition for TSP layer
 
Method Summary
static java.lang.String errToString(long errCode)
          This method returns an error message including the error code, the error type and the error message.
static java.lang.String getErrMsg(long errCode)
          This method returns the error string for the given error code.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TSS_LAYER_TPM

public static final long TSS_LAYER_TPM
definition for TPM layer

See Also:
Constant Field Values

TSS_LAYER_TDDL

public static final long TSS_LAYER_TDDL
definition for TDDL layer

See Also:
Constant Field Values

TSS_LAYER_TCS

public static final long TSS_LAYER_TCS
definition for TCS layer

See Also:
Constant Field Values

TSS_LAYER_TSP

public static final long TSS_LAYER_TSP
definition for TSP layer

See Also:
Constant Field Values

TCS_E_INVALID_CONTEXTHANDLE

public static final long TCS_E_INVALID_CONTEXTHANDLE
The context handle supplied is invalid.

See Also:
Constant Field Values

TCS_E_INVALID_KEYHANDLE

public static final long TCS_E_INVALID_KEYHANDLE
The key handle supplied is invalid.

See Also:
Constant Field Values

TCS_E_INVALID_AUTHHANDLE

public static final long TCS_E_INVALID_AUTHHANDLE
The authorization session handle supplied is invalid.

See Also:
Constant Field Values

TCS_E_INVALID_AUTHSESSION

public static final long TCS_E_INVALID_AUTHSESSION
The auth session has been closed by the TPM

See Also:
Constant Field Values

TCS_E_INVALID_KEY

public static final long TCS_E_INVALID_KEY
The key has been unloaded.

See Also:
Constant Field Values

TCS_E_KEY_MISMATCH

public static final long TCS_E_KEY_MISMATCH
Key addressed by the application key handle does not match the key addressed by the given UUID.

See Also:
Constant Field Values

TCS_E_KM_LOADFAILED

public static final long TCS_E_KM_LOADFAILED
Key addressed by Key's UUID cannot be loaded because one of the required parent keys needs authorization.

See Also:
Constant Field Values

TCS_E_KEY_CONTEXT_RELOAD

public static final long TCS_E_KEY_CONTEXT_RELOAD
The Key Cache Manager could not reload the key into the TPM.

See Also:
Constant Field Values

TCS_E_BAD_INDEX

public static final long TCS_E_BAD_INDEX
Bad memory index

See Also:
Constant Field Values

TCS_SUCCESS

public static final long TCS_SUCCESS
These TCS_E_ macros are defined by name in the TSS spec, however they are defined to have the same values as the TSS_E_ equivalents.

See Also:
Constant Field Values

TCS_E_KEY_ALREADY_REGISTERED

public static final long TCS_E_KEY_ALREADY_REGISTERED
See Also:
Constant Field Values

TCS_E_KEY_NOT_REGISTERED

public static final long TCS_E_KEY_NOT_REGISTERED
See Also:
Constant Field Values

TCS_E_BAD_PARAMETER

public static final long TCS_E_BAD_PARAMETER
See Also:
Constant Field Values

TCS_E_OUTOFMEMORY

public static final long TCS_E_OUTOFMEMORY
See Also:
Constant Field Values

TCS_E_NOTIMPL

public static final long TCS_E_NOTIMPL
See Also:
Constant Field Values

TCS_E_INTERNAL_ERROR

public static final long TCS_E_INTERNAL_ERROR
See Also:
Constant Field Values

TCS_E_FAIL

public static final long TCS_E_FAIL
See Also:
Constant Field Values
Method Detail

errToString

public static java.lang.String errToString(long errCode)
This method returns an error message including the error code, the error type and the error message.


getErrMsg

public static java.lang.String getErrMsg(long errCode)
This method returns the error string for the given error code.