saving external certificate in tpm in java #174
Unanswered
anusha3ali
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Guys!
I am relatively new here and exploring different functionalities of TPM.
There is a use case in which I am going to receive digital root certificate from one API and I have to save that certificate in TPM. To test with java implementation of TSS, I generated X509Certificate using keyPairGenerator with RSA algorithm and defined signatureAlgorithm as SHA256WithRSAEncryption in X509V3CertificateGenerator object. After that I have converted that certificate to the TPMT_PUBLIC object and have called LoadExternal function of tpm to save it in TPM.
I am receiving TPM ERROR: {HASH} from the TPM and I am unable to find the root cause of it. I will be grateful if any of you can pin point what I am doing wrong. I have attatched relevant code snippets below,
Beta Was this translation helpful? Give feedback.
All reactions