iaik.tc.tss.impl.java.tcs.pbg
Class TcTpmCmdDeprMisc
java.lang.Object
iaik.tc.tss.impl.java.tcs.pbg.TcTpmCmdCommon
iaik.tc.tss.impl.java.tcs.pbg.TcTpmCmdDeprMisc
public class TcTpmCmdDeprMisc
- extends TcTpmCmdCommon
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TcTpmCmdDeprMisc
public TcTpmCmdDeprMisc()
TpmReset
public static java.lang.Object[] TpmReset(TcIStreamDest dest)
throws TcTddlException,
TcTpmException
- Parameters:
dest
- The destination where the byte stream is written to.
- Returns:
- The returned Object[] holds the following elements:
- 0 ... TPM return code (Long)
- Throws:
TcTpmException
- This exception indicates that a TPM error has occurred. The specific
error code id held by the exception.
TcTddlException
- TPM 1.2 Spec, page number:
- 304
TpmOwnerReadPubek
public static java.lang.Object[] TpmOwnerReadPubek(TcIStreamDest dest,
TcTcsAuth inAuth1)
throws TcTddlException,
TcTpmException
- Parameters:
dest
- The destination where the byte stream is written to.inAuth1
- Authorization values for first authorization session.
- Returns:
- The returned Object[] holds the following elements:
- 0 ... TPM return code (Long)
- 1 ... outgoing authorization for session containing new nonceEven (TcTpmAuth)
- 2 ... The public endorsement key (TcTpmPubkey)
- Throws:
TcTpmException
- This exception indicates that a TPM error has occurred. The specific
error code id held by the exception.
TcTddlException
- TPM 1.2 Spec, page number:
- 305
TpmDisablePubekRead
public static java.lang.Object[] TpmDisablePubekRead(TcIStreamDest dest,
TcTcsAuth inAuth1)
throws TcTddlException,
TcTpmException
- Parameters:
dest
- The destination where the byte stream is written to.inAuth1
- Authorization values for first authorization session.
- Returns:
- The returned Object[] holds the following elements:
- 0 ... TPM return code (Long)
- 1 ... outgoing authorization for session containing new nonceEven (TcTpmAuth)
- Throws:
TcTpmException
- This exception indicates that a TPM error has occurred. The specific
error code id held by the exception.
TcTddlException
- TPM 1.2 Spec, page number:
- 306
TpmLoadKey
public static java.lang.Object[] TpmLoadKey(TcIStreamDest dest,
long parentHandle,
TcTpmKey inKey,
TcTcsAuth inAuth1)
throws TcTddlException,
TcTpmException
- Parameters:
dest
- The destination where the byte stream is written to.inAuth1
- Authorization values for first authorization session.parentHandle
- TPM handle of parent key.inKey
- Incoming key structure, both encrypted private and clear publicportions. MAY be
TcTpmKey12
- Returns:
- The returned Object[] holds the following elements:
- 0 ... TPM return code (Long)
- 1 ... outgoing authorization for session containing new nonceEven (TcTpmAuth)
- 2 ... Internal TPM handle where decrypted key was loaded. (long)
- Throws:
TcTpmException
- This exception indicates that a TPM error has occurred. The specific
error code id held by the exception.
TcTddlException
- TPM 1.2 Spec, page number:
- 307
TpmGetOrdinalAuditStatus
public static java.lang.Object[] TpmGetOrdinalAuditStatus(TcIStreamDest dest,
long ordinalToQuery)
throws TcTddlException,
TcTpmException
- Parameters:
dest
- The destination where the byte stream is written to.ordinalToQuery
- The ordinal whose audit flag is tobe queried
- Returns:
- The returned Object[] holds the following elements:
- 0 ... TPM return code (Long)
- 1 ... Value of audit flag for ordinalToQuery (boolean)
- Throws:
TcTpmException
- This exception indicates that a TPM error has occurred. The specific
error code id held by the exception.
TcTddlException
- TPM 1.2 Spec, page number:
- 313