de.datenzone.tpm4java
Class TPMTransportSession

java.lang.Object
  extended by de.datenzone.tpm4java.TPMSession
      extended by de.datenzone.tpm4java.TPMTransportSession

public class TPMTransportSession
extends TPMSession

Transport sessions, for use with TPM_Execute. This session can be used to establish a secured channel to the TPM. This functionality has not been fully implemented.

Author:
Martin Hermanowski

Field Summary
 TSSCoreService TCS
           
 
Constructor Summary
TPMTransportSession(int handle, byte[] transNounce, java.math.BigInteger startTicks, TSSCoreService backend)
           
 
Method Summary
 int getHandle()
           
 byte[] getNounceEven()
           
 byte[] getSecret()
           
 java.math.BigInteger getStartTicks()
           
 void setNounceEven(byte[] nounceEven)
           
 void setSecret(byte[] secret)
           
 java.lang.String toString()
           
 
Methods inherited from class de.datenzone.tpm4java.TPMSession
isContinueSession, setContinueSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TCS

public TSSCoreService TCS
Constructor Detail

TPMTransportSession

public TPMTransportSession(int handle,
                           byte[] transNounce,
                           java.math.BigInteger startTicks,
                           TSSCoreService backend)
                    throws java.security.InvalidKeyException,
                           java.security.NoSuchAlgorithmException
Throws:
java.security.InvalidKeyException
java.security.NoSuchAlgorithmException
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getNounceEven

public byte[] getNounceEven()
Specified by:
getNounceEven in class TPMSession

getHandle

public int getHandle()
Specified by:
getHandle in class TPMSession

getSecret

public byte[] getSecret()

setNounceEven

public void setNounceEven(byte[] nounceEven)
Specified by:
setNounceEven in class TPMSession

getStartTicks

public java.math.BigInteger getStartTicks()

setSecret

public void setSecret(byte[] secret)


http://tpm4java.datenzone.de/