|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object TcBasicTypeDecoder TcCompositeTypeDecoder TcTpmKey
public class TcTpmKey
The TPM_KEY structure provides a mechanism to transport the entire asymmetric key pair. The private portion of the key is always encrypted.
Constructor Summary | |
---|---|
TcTpmKey()
Constructor - see superclass for details |
|
TcTpmKey(TcBlobData blob)
Constructor - see superclass for details |
|
TcTpmKey(TcBlobData blob,
int offset)
Constructor - see superclass for details |
|
TcTpmKey(TcCompositeTypeDecoder composite)
Constructor - see superclass for details |
Method Summary | |
---|---|
TcTpmKeyParms |
getAlgorithmParms()
Returns contents of the algorithmParms field. |
short |
getAuthDataUsage()
Returns contents of the authDataUsage field. |
TcBlobData |
getEncData()
Returns contents of the encData field. |
TcBlobData |
getEncoded()
This method encodes the TPM_KEY_PARMS as a byte blob. |
long |
getEncSize()
Returns contents of the encSize field. |
long |
getKeyFlags()
Returns contents of the keyFlags field. |
int |
getKeyUsage()
Returns contents of the keyUsage field. |
TcBlobData |
getPcrInfo()
Returns contents of the pcrInfo field. |
long |
getPcrInfoSize()
Returns contents of the pcrInfoSize field. |
TcTpmStorePubkey |
getPubKey()
Returns contents of the pubKey field. |
TcTpmVersion |
getVer()
Returns contents of the ver field. |
void |
setAlgorithmParms(TcTpmKeyParms algorithmParms)
Sets the algorithmParms field. |
void |
setAuthDataUsage(short authDataUsage)
Sets the authDataUsage field. |
void |
setEncData(TcBlobData encData)
Sets the encData field. |
void |
setKeyFlags(long keyFlags)
Sets the keyFlags field. |
void |
setKeyUsage(int keyUsage)
Sets the keyUsage field. |
void |
setPcrInfo(TcBlobData pcrInfo)
Sets the pcrInfo field. |
void |
setPubKey(TcTpmStorePubkey pubKey)
Sets the pubKey field. |
void |
setVer(TcTpmStructVer ver)
Sets the ver field. |
String |
toString()
This method returns a String representation of the object. |
Methods inherited from class Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TcTpmKey()
public TcTpmKey(TcBlobData blob)
public TcTpmKey(TcBlobData blob, int offset)
public TcTpmKey(TcCompositeTypeDecoder composite)
Method Detail |
---|
public TcBlobData getEncoded()
getEncoded
in interface TcITpmKey
getEncoded
in class TcCompositeTypeDecoder
public String toString()
toString
in interface TcITpmKey
toString
in class TcCompositeTypeDecoder
public TcTpmKeyParms getAlgorithmParms()
getAlgorithmParms
in interface TcITpmKey
public void setAlgorithmParms(TcTpmKeyParms algorithmParms)
setAlgorithmParms
in interface TcITpmKey
public short getAuthDataUsage()
getAuthDataUsage
in interface TcITpmKey
public void setAuthDataUsage(short authDataUsage)
setAuthDataUsage
in interface TcITpmKey
public TcBlobData getEncData()
getEncData
in interface TcITpmKey
public void setEncData(TcBlobData encData)
setEncData
in interface TcITpmKey
public long getEncSize()
getEncSize
in interface TcITpmKey
public long getKeyFlags()
getKeyFlags
in interface TcITpmKey
public void setKeyFlags(long keyFlags)
setKeyFlags
in interface TcITpmKey
public int getKeyUsage()
getKeyUsage
in interface TcITpmKey
public void setKeyUsage(int keyUsage)
setKeyUsage
in interface TcITpmKey
public TcBlobData getPcrInfo()
getPcrInfo
in interface TcITpmKey
public void setPcrInfo(TcBlobData pcrInfo)
setPcrInfo
in interface TcITpmKey
public long getPcrInfoSize()
getPcrInfoSize
in interface TcITpmKey
public TcTpmStorePubkey getPubKey()
getPubKey
in interface TcITpmKey
public void setPubKey(TcTpmStorePubkey pubKey)
setPubKey
in interface TcITpmKey
public TcTpmVersion getVer()
public void setVer(TcTpmStructVer ver)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |