|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectiaik.tc.tss.api.structs.common.TcBasicTypeDecoder
iaik.tc.tss.api.structs.common.TcCompositeTypeDecoder
iaik.tc.tss.api.structs.tpm.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. |
java.lang.String |
toString()
This method returns a String representation of the object. |
| Methods inherited from class java.lang.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 TcITpmKeygetEncoded in class TcCompositeTypeDecoderpublic java.lang.String toString()
toString in interface TcITpmKeytoString in class TcCompositeTypeDecoderpublic TcTpmKeyParms getAlgorithmParms()
getAlgorithmParms in interface TcITpmKeypublic void setAlgorithmParms(TcTpmKeyParms algorithmParms)
setAlgorithmParms in interface TcITpmKeypublic short getAuthDataUsage()
getAuthDataUsage in interface TcITpmKeypublic void setAuthDataUsage(short authDataUsage)
setAuthDataUsage in interface TcITpmKeypublic TcBlobData getEncData()
getEncData in interface TcITpmKeypublic void setEncData(TcBlobData encData)
setEncData in interface TcITpmKeypublic long getEncSize()
getEncSize in interface TcITpmKeypublic long getKeyFlags()
getKeyFlags in interface TcITpmKeypublic void setKeyFlags(long keyFlags)
setKeyFlags in interface TcITpmKeypublic int getKeyUsage()
getKeyUsage in interface TcITpmKeypublic void setKeyUsage(int keyUsage)
setKeyUsage in interface TcITpmKeypublic TcBlobData getPcrInfo()
getPcrInfo in interface TcITpmKeypublic void setPcrInfo(TcBlobData pcrInfo)
setPcrInfo in interface TcITpmKeypublic long getPcrInfoSize()
getPcrInfoSize in interface TcITpmKeypublic TcTpmStorePubkey getPubKey()
getPubKey in interface TcITpmKeypublic void setPubKey(TcTpmStorePubkey pubKey)
setPubKey in interface TcITpmKeypublic TcTpmVersion getVer()
public void setVer(TcTpmStructVer ver)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||