Questions tagged [tss-msr]

2 questions
1
vote
2 answers

Serialize TPM public key to DER or PEM

I'm using a TPM to generate key pairs on-the-fly and eventually I'd want to format and output the public portion of a pair to a file, so it can be used easily by third parties. To address the TPM, I'm using the TSS.MSR C++ API After successfully…
Fluffy
  • 857
  • 1
  • 9
  • 20
0
votes
1 answer

How can I sign data with the Endorsement Key (EK) of a TPM?

I am trying to find a way to use a TPM to sign data using the private endorsement key (EK). Using the samples from the TSS.MSR library in C#, I was able to assemble a small program: private void ConnectTpmAndSign() { // …
Kzryzstof
  • 7,688
  • 10
  • 61
  • 108