iaik.tc.tss.impl.java.tsp
Class TcMigData

java.lang.Object
  extended by iaik.tc.tss.impl.java.tsp.TcAttributes
      extended by iaik.tc.tss.impl.java.tsp.TcWorkingObject
          extended by iaik.tc.tss.impl.java.tsp.TcMigData
All Implemented Interfaces:
TcIAttributes, TcIMigData, TcIWorkingObject

public class TcMigData
extends TcWorkingObject
implements TcIMigData


Method Summary
 TcBlobData getAttribAuthorityData(long subFlag)
          This method is used to retrieve authority data.
 TcBlobData getAttribMigAuthData(long subFlag)
          This method is used to retrieve authenticating data.
 TcBlobData getAttribMigrationBlob(long subFlag)
          This method is used to retrieve the migration xor blob.
 TcBlobData getAttribTicketData(long subFlag)
          This method is used to retrieve ticket data.
 TcBlobData getMigrationTicket()
          This method is intended to be used by jTSS internal only
 TcTpmMsaComposite getMsaList()
          This method is intended to be used by jTSS internal only
 TcBlobData getRestrictTicket()
          This method is intended to be used by jTSS internal only
 TcTpmDigest getSigData()
          This method is intended to be used by jTSS internal only
 TcBlobData getSigValue()
          This method is intended to be used by jTSS internal only
 void setAttribAuthorityData(long subFlag, TcBlobData data)
          This method allows to set data belonging to the authority.
 void setAttribMigAuthData(long subFlag, TcBlobData data)
          This method allows to set authenticating data.
 void setAttribMigrationBlob(long subFlag, TcBlobData data)
          This method allows to set the public key blob.
 void setAttribMigrationTicket(long subFlag, TcBlobData data)
          This method allows to set the migration ticket data from the authorize migration key proceess.
 void setAttribTicketData(long subFlag, TcBlobData data)
          This method allows to set data belonging to the migration ticket.
 void setBlob(TcBlobData blob)
          This method is intended to be used by jTSS internal only
 
Methods inherited from class iaik.tc.tss.impl.java.tsp.TcAttributes
getAttribData, getAttribUint32, setAttribData, setAttribUint32
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface iaik.tc.tss.api.tspi.TcIAttributes
getAttribData, getAttribUint32, setAttribData, setAttribUint32
 

Method Detail

setAttribMigrationBlob

public void setAttribMigrationBlob(long subFlag,
                                   TcBlobData data)
                            throws TcTspException
This method allows to set the public key blob. This method is an alternative to using TcIAttributes.setAttribData(long, long, TcBlobData) with TcTssConstants.TSS_MIGATTRIB_MIGRATIONBLOB as flag.

Parameters:
subFlag - Valid subFlags are: TcTssConstants.TSS_MIGATTRIB_MIG_MSALIST_PUBKEY_BLOB. TcTssConstants.TSS_MIGATTRIB_MIG_AUTHORITY_PUBKEY_BLOB. TcTssConstants.TSS_MIGATTRIB_MIG_DESTINATION_PUBKEY_BLOB. TcTssConstants.TSS_MIGATTRIB_MIG_SOURCE_PUBKEY_BLOB.
data - The data to set.
Throws:
TcTspException

setAttribAuthorityData

public void setAttribAuthorityData(long subFlag,
                                   TcBlobData data)
                            throws TcTspException
This method allows to set data belonging to the authority. This method is an alternative to using TcIAttributes.setAttribData(long, long, TcBlobData) with TcTssConstants.TSS_MIGATTRIB_AUTHORITY_DATA as flag.

Parameters:
subFlag - Valid subFlags are: TcTssConstants.TSS_MIGATTRIB_AUTHORITY_DIGEST. TcTssConstants.TSS_MIGATTRIB_AUTHORITY_APPROVAL_HMAC. TcTssConstants.TSS_MIGATTRIB_AUTHORITY_MSALIST.
data - The data to set.
Throws:
TcTspException

setAttribTicketData

public void setAttribTicketData(long subFlag,
                                TcBlobData data)
                         throws TcTspException
This method allows to set data belonging to the migration ticket. This method is an alternative to using TcIAttributes.setAttribData(long, long, TcBlobData) with TcTssConstants.TSS_MIGATTRIB_TICKET_DATA as flag.

Parameters:
subFlag - Valid subFlags are: TcTssConstants.TSS_MIGATTRIB_TICKET_SIG_DIGEST. TcTssConstants.TSS_MIGATTRIB_TICKET_SIG_VALUE. TcTssConstants.TSS_MIGATTRIB_TICKET_SIG_TICKET. TcTssConstants.TSS_MIGATTRIB_TICKET_RESTRICT_TICKET.
data - The data to set.
Throws:
TcTspException

setAttribMigrationTicket

public void setAttribMigrationTicket(long subFlag,
                                     TcBlobData data)
                              throws TcTspException
This method allows to set the migration ticket data from the authorize migration key proceess. This method is an alternative to using TcIAttributes.setAttribData(long, long, TcBlobData) with TcTssConstants.TSS_MIGATTRIB_MIGRATIONTICKET as flag.

Parameters:
subFlag - Valid subFlags are 0
data - The data to set.
Throws:
TcTspException

setAttribMigAuthData

public void setAttribMigAuthData(long subFlag,
                                 TcBlobData data)
                          throws TcTspException
This method allows to set authenticating data. This method is an alternative to using TcIAttributes.setAttribData(long, long, TcBlobData) with TcTssConstants.TSS_MIGATTRIB_MIG_AUTH_DATA as flag.

Parameters:
subFlag - Valid subFlags are: TcTssConstants.TSS_MIGATTRIB_MIG_AUTH_AUTHORITY_DIGEST. TcTssConstants.TSS_MIGATTRIB_MIG_AUTH_DESTINATION_DIGEST. TcTssConstants.TSS_MIGATTRIB_MIG_AUTH_SOURCE_DIGEST.
data - The data to set.
Throws:
TcTspException

getAttribMigrationBlob

public TcBlobData getAttribMigrationBlob(long subFlag)
                                  throws TcTspException
This method is used to retrieve the migration xor blob. This method is an alternative to using TcIAttributes.getAttribData(long, long) with TcTssConstants.TSS_MIGATTRIB_MIGRATIONBLOB as flag.

Parameters:
subFlag - Valid subFlags are TcTssConstants.TSS_MIGATTRIB_MIGRATION_XOR_BLOB
Returns:
The requested information.
Throws:
TcTspException

getAttribAuthorityData

public TcBlobData getAttribAuthorityData(long subFlag)
                                  throws TcTspException
This method is used to retrieve authority data. This method is an alternative to using TcIAttributes.getAttribData(long, long) with TcTssConstants.TSS_MIGATTRIB_AUTHORITY_DATA as flag.

Parameters:
subFlag - Valid subFlags are: TcTssConstants.TSS_MIGATTRIB_AUTHORITY_DIGEST TcTssConstants.TSS_MIGATTRIB_AUTHORITY_APPROVAL_HMAC TcTssConstants.TSS_MIGATTRIB_AUTHORITY_MSALIST
Returns:
The requested information.
Throws:
TcTspException

getAttribTicketData

public TcBlobData getAttribTicketData(long subFlag)
                               throws TcTspException
This method is used to retrieve ticket data. This method is an alternative to using TcIAttributes.getAttribData(long, long) with TcTssConstants.TSS_MIGATTRIB_TICKET_DATA as flag.

Parameters:
subFlag - Valid subFlags are TcTssConstants.TSS_MIGATTRIB_TICKET_SIG_TICKET
Returns:
The requested information.
Throws:
TcTspException

getAttribMigAuthData

public TcBlobData getAttribMigAuthData(long subFlag)
                                throws TcTspException
This method is used to retrieve authenticating data. This method is an alternative to using TcIAttributes.getAttribData(long, long) with TcTssConstants.TSS_MIGATTRIB_MIG_AUTH_DATA as flag.

Parameters:
subFlag - Valid subFlags are: TcTssConstants.TSS_MIGATTRIB_MIG_AUTH_AUTHORITY_DIGEST TcTssConstants.TSS_MIGATTRIB_MIG_AUTH_DESTINATION_DIGEST TcTssConstants.TSS_MIGATTRIB_MIG_AUTH_SOURCE_DIGEST
Returns:
The requested information.
Throws:
TcTspException

setBlob

public void setBlob(TcBlobData blob)
This method is intended to be used by jTSS internal only

Parameters:
blob - the xor blob

getMigrationTicket

public TcBlobData getMigrationTicket()
This method is intended to be used by jTSS internal only

Returns:
the migTicket_

getMsaList

public TcTpmMsaComposite getMsaList()
This method is intended to be used by jTSS internal only

Returns:
the msaList_

getSigData

public TcTpmDigest getSigData()
This method is intended to be used by jTSS internal only

Returns:
the sigData_

getSigValue

public TcBlobData getSigValue()
This method is intended to be used by jTSS internal only

Returns:
the sigValue_

getRestrictTicket

public TcBlobData getRestrictTicket()
This method is intended to be used by jTSS internal only

Returns:
the restrictTicket