Coming off the TPM, the format is a TCG specific binary blob, not ASN1, 
base64, or any other standard.

You can find the structure in the TPM spec Part 2.  The private part is 
encrypted by the parent key.The public key can be unmarshalled if you 
like.  I can point you to sample code.

The intent of the TSS is to insulate you from those details.

On 3/21/2013 2:31 AM, ravi kiran wrote:
> sorry the previous message was broken.
>
> Can someone tell me the format of public and private key blobs exported
> by TPM? I am using trousers 0.3.10 for accessing the TPM.When I use the
> GetPrivateKey or PublicKey option (Tspi_GetAttribData()) the key that is
> returned is a binary blob that is not ASN1 decodable.I have tried with
> both openssl asn1parse and bouncycastle jar.Also, the openssl-tpm-engine
> extracts the public key element by element. Is that the only way to
> handle this?I have just started working with TPMs and am thoroughly
> confused.



------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
TrouSerS-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/trousers-users

Reply via email to