You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alternatively, all TPM data structures in TSS.Net have a pair of ToNet()/ToHost() methods that marshal/unmarshal a TPM object to/from a portable binary representation (see the TpmStructureBase.GetTpmRepresentation() helper for an example of ToNet() usage).
Hello,
I am trying to Serialize Quote and send it to remote party and Deserialize it on remote party.
So currently I am just trying to Serialize and Deserialize Quote on my local machine.
This is currently what I have
QuoteResponse quote = GenerateQuote_PCR(tpm, rmessage.startPCR, rmessage.endPCR, NonceExtracted);
cout << "serialization:" << endl;
string qserialized=quote.Serialize(SerializationType::Text);
cout << "serialization done" << endl;
QuoteResponse quoteDeserialized=QuoteResponse();
cout << "deserialization:" << endl;
quoteDeserialized.Deserialize(SerializationType::Text, qserialized);
cout << "deserialization done" << endl;
I checked if quote generated by GenerateQuote_PCR function is generated correctly.
this is the line that gives me error
quoteDeserialized.Deserialize(SerializationType::Text, qserialized);
Any help will be appreciated.
Thanks
Batyr
The text was updated successfully, but these errors were encountered: