iaik.tc.tss.impl.java.tsp.internal.offline
Class WrapTcPcrCompositeInfoShort
java.lang.Object
iaik.tc.tss.impl.java.tsp.TcAttributes
iaik.tc.tss.impl.java.tsp.TcWorkingObject
iaik.tc.tss.impl.java.tsp.TcPcrCompositeBase
iaik.tc.tss.impl.java.tsp.TcPcrCompositeInfoShort
iaik.tc.tss.impl.java.tsp.internal.offline.WrapTcPcrCompositeInfoShort
- All Implemented Interfaces:
- TcIAttributes, TcIPcrComposite, TcIWorkingObject
public class WrapTcPcrCompositeInfoShort
- extends TcPcrCompositeInfoShort
A wrapping around TcPcrCompositeInfoShort.
With this wrapping it is easy to calculate composite hashes without the need
of a present TPM.
This wrapping also allows to get access to the internal
TcTpmPcrInfoShort struct via
getPcrInfoShort() method.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NUM_PCRS
public static final int NUM_PCRS
- See Also:
- Constant Field Values
getPcrInfoShort
public TcTpmPcrInfoShort getPcrInfoShort()
selectPcrIndex
public void selectPcrIndex(long pcrIndex)
- Description copied from interface:
TcIPcrComposite
- This method selects a PCR index inside a PCR composite object using the 1.1
TcTpmPcrInfo structure. If the PcrComposite object is using another structure than
TcTpmPcrInfo, this function throws a TcTssException with an
TcTssErrors.TSS_E_INVALID_OBJ_ACCESS error code.
- Specified by:
selectPcrIndex in interface TcIPcrComposite- Overrides:
selectPcrIndex in class TcPcrCompositeInfoShort
- Parameters:
pcrIndex - The index of the PCR to select.
getInstance
public static WrapTcPcrCompositeInfoShort getInstance()
- Create an instance of
WrapTcPcrCompositeInfoShort