iaik.tc.tss.impl.java.tcs.pbg
Class TcTpmCmdVendorSpecific

java.lang.Object
  extended by iaik.tc.tss.impl.java.tcs.pbg.TcTpmCmdCommon
      extended by iaik.tc.tss.impl.java.tcs.pbg.TcTpmCmdVendorSpecific

public class TcTpmCmdVendorSpecific
extends TcTpmCmdCommon


Constructor Summary
TcTpmCmdVendorSpecific()
           
 
Method Summary
static java.lang.Object[] IfxReadTpm11EkCert(TcIStreamDest dest, byte index, TcBlobData antiReplay)
          This method reads the EK certificate embedded in 1.1b Infineon chips.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TcTpmCmdVendorSpecific

public TcTpmCmdVendorSpecific()
Method Detail

IfxReadTpm11EkCert

public static java.lang.Object[] IfxReadTpm11EkCert(TcIStreamDest dest,
                                                    byte index,
                                                    TcBlobData antiReplay)
                                             throws TcTddlException,
                                                    TcTpmException
This method reads the EK certificate embedded in 1.1b Infineon chips. The certificate is not read in one piece but it is split into several parts which have to be read one by one and then put together. Note that this functionality is vendor specific for Infineon 1.1b TPMs!

Parameters:
dest - The destination where the byte stream is written to.
index - The index of the certificate part to be read.
antiReplay - Nonce received form the TSP that is included in the checksum calculation.
Returns:
The returned Object[] holds the following elements:
  • 0 ... max part index (short)
  • 1 ... checksum (TcTpmDigest)
  • 2 ... the requested part of the certificate (TcBlobData)
Throws:
TcTddlException
TcTpmException