|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
ObjectTcBasicTypeDecoder
TcCompositeTypeDecoder
TcTpmPubkey
public class TcTpmPubkey
The TPM_PUBKEY structure contains the public portion of an asymmetric key pair. It contains all the information necessary for its unambiguous usage. It is possible to construct this structure from a TPM_KEY, using the algorithmParms and pubKey fields.
| Constructor Summary | |
|---|---|
TcTpmPubkey()
Constructor - see superclass for details |
|
TcTpmPubkey(TcBlobData blob)
Constructor - see superclass for details |
|
TcTpmPubkey(TcBlobData blob,
int offset)
Constructor - see superclass for details |
|
TcTpmPubkey(TcCompositeTypeDecoder composite)
Constructor - see superclass for details |
|
| Method Summary | |
|---|---|
TcTpmKeyParms |
getAlgorithmParms()
Returns contents of the algorithmParms field. |
TcBlobData |
getEncoded()
This method encodes the TPM_PUBKEY as a byte blob. |
TcTpmStorePubkey |
getPubKey()
Returns contents of the pubKey field. |
void |
setAlgorithmParms(TcTpmKeyParms algorithmParms)
Sets the algorithmParms field. |
void |
setPubKey(TcTpmStorePubkey pubKey)
Sets the pubKey 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 TcTpmPubkey()
public TcTpmPubkey(TcBlobData blob)
public TcTpmPubkey(TcBlobData blob,
int offset)
public TcTpmPubkey(TcCompositeTypeDecoder composite)
| Method Detail |
|---|
public TcBlobData getEncoded()
getEncoded in class TcCompositeTypeDecoderpublic String toString()
toString in class TcCompositeTypeDecoderpublic TcTpmKeyParms getAlgorithmParms()
public void setAlgorithmParms(TcTpmKeyParms algorithmParms)
public TcTpmStorePubkey getPubKey()
public void setPubKey(TcTpmStorePubkey pubKey)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||