|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
ObjectTcBasicTypeDecoder
TcCompositeTypeDecoder
TcTpmNonce
public class TcTpmNonce
A nonce is a random value that provides protection from replay and other attacks. Many of the commands and protocols in the TCG TPM specification require a nonce represented by this class.
| Constructor Summary | |
|---|---|
TcTpmNonce()
Constructor - see superclass for details |
|
TcTpmNonce(TcBlobData data)
Constructor - see superclass for details |
|
TcTpmNonce(TcBlobData data,
int offset)
Constructor - see superclass for details |
|
TcTpmNonce(TcCompositeTypeDecoder composite)
Constructor - see superclass for details |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Returns true if the provided object is equal to this object. |
TcBlobData |
getEncoded()
This method encodes the TPM_NONCE as a byte blob. |
TcBlobData |
getNonce()
Returns contents of the nonce field. |
void |
setDigest(TcBlobData nonce)
Sets the nonce field. |
String |
toString()
This method returns a String representation of the object. |
| Methods inherited from class Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TcTpmNonce()
TcCompositeTypeDecoder.TcCompositeTypeDecoder()public TcTpmNonce(TcBlobData data)
TcCompositeTypeDecoder.TcCompositeTypeDecoder(iaik.tc.tss.api.structs.common.TcBlobData)
public TcTpmNonce(TcBlobData data,
int offset)
TcCompositeTypeDecoder.TcCompositeTypeDecoder(iaik.tc.tss.api.structs.common.TcBlobData,
int)public TcTpmNonce(TcCompositeTypeDecoder composite)
TcCompositeTypeDecoder.TcCompositeTypeDecoder(iaik.tc.tss.api.structs.common.TcCompositeTypeDecoder)| Method Detail |
|---|
public TcBlobData getEncoded()
getEncoded in class TcCompositeTypeDecoderpublic String toString()
toString in class TcCompositeTypeDecoderpublic boolean equals(Object obj)
equals in class Objectpublic TcBlobData getNonce()
public void setDigest(TcBlobData nonce)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||