iaik.tc.tss.impl.java.tcs.pbg
Class TcTpmCmdTiming
java.lang.Object
iaik.tc.tss.impl.java.tcs.pbg.TcTpmCmdCommon
iaik.tc.tss.impl.java.tcs.pbg.TcTpmCmdTiming
public class TcTpmCmdTiming
- extends TcTpmCmdCommon
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TcTpmCmdTiming
public TcTpmCmdTiming()
TpmGetTicks
public static java.lang.Object[] TpmGetTicks(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)
- 1 ... The current time held in the TPM (TcTpmCurrentTicks)
- 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:
- 229
TpmTickStampBlob
public static java.lang.Object[] TpmTickStampBlob(TcIStreamDest dest,
long keyHandle,
TcTpmNonce antiReplay,
TcTpmDigest digestToStamp,
TcTcsAuth inAuth1)
throws TcTddlException,
TcTpmException
- Parameters:
dest
- The destination where the byte stream is written to.inAuth1
- Authorization values for first authorization session.keyHandle
- The keyHandle identifier of a loaded key that can perform digital signatures.antiReplay
- Anti replay value added to signaturedigestToStamp
- The digest to perform the tick stamp on
- Returns:
- The returned Object[] holds the following elements:
- 0 ... TPM return code (Long)
- 1 ... outgoing authorization for session containing new nonceEven (TcTpmAuth)
- 2 ... The current time according to the TPM (TcTpmCurrentTicks)
- 3 ... The resulting digital signature. (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:
- 230