iaik.tc.tss.impl.java.tcs.pbg
Class TcTpmCmdDeprContext
java.lang.Object
iaik.tc.tss.impl.java.tcs.pbg.TcTpmCmdCommon
iaik.tc.tss.impl.java.tcs.pbg.TcTpmCmdDeprContext
public class TcTpmCmdDeprContext
- extends TcTpmCmdCommon
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TcTpmCmdDeprContext
public TcTpmCmdDeprContext()
TpmSaveKeyContext
public static java.lang.Object[] TpmSaveKeyContext(TcIStreamDest dest,
long keyHandle)
throws TcTddlException,
TcTpmException
- Parameters:
dest
- The destination where the byte stream is written to.keyHandle
- The key which will be kept outside the TPM
- Returns:
- The returned Object[] holds the following elements:
- 0 ... TPM return code (Long)
- 1 ... The key context blob. (TcBlobData)
- 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:
- 288
TpmLoadKeyContext
public static java.lang.Object[] TpmLoadKeyContext(TcIStreamDest dest,
TcBlobData keyContextBlob)
throws TcTddlException,
TcTpmException
- Parameters:
dest
- The destination where the byte stream is written to.keyContextBlob
- The key context blob.
- Returns:
- The returned Object[] holds the following elements:
- 0 ... TPM return code (Long)
- 1 ... The handle assigned to the key afterit has been successfully 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:
- 290
TpmSaveAuthContext
public static java.lang.Object[] TpmSaveAuthContext(TcIStreamDest dest,
long authHnd)
throws TcTddlException,
TcTpmException
- Parameters:
dest
- The destination where the byte stream is written to.authHnd
- Authorization session which will be kept outside the TPM
- Returns:
- The returned Object[] holds the following elements:
- 0 ... TPM return code (Long)
- 1 ... The authorization context blob. (TcBlobData)
- 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:
- 291
TpmLoadAuthContext
public static java.lang.Object[] TpmLoadAuthContext(TcIStreamDest dest,
long authContextSize,
TcBlobData authContextBlob)
throws TcTddlException,
TcTpmException
- Parameters:
dest
- The destination where the byte stream is written to.authContextSize
- The size of the following authorization context blob.authContextBlob
- The authorization context blob.
- Returns:
- The returned Object[] holds the following elements:
- 0 ... TPM return code (Long)
- 1 ... The handle assigned to the authorization session after it has been
successfully 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:
- 292