From: Ronald T. <ron...@ia...> - 2010-04-16 11:03:08
|
Hi, You're looking for iaik.tc.tss.impl.csp.TcCrypto.pubTpmKeyToJava(). You could also read the PrivacyCA source for more inspirations. hth, Ronald Ronald Petrlic wrote: > Hi, > > I'm working on an application employing jTSS and tccert. What I would > like to do is to certify the EK that is read out of the TPM. The > problem is that calling "getPubEndorsementKeyOwner" yields a TclRsaKey > (or TcBlobData when calling getPubKey on this object). However, in > order to create an EKCertificate I need an RSAPublicKey... Does anyone > know how to perform this casting? > > Thanks a lot in advance. > > Best regards, > Ronald > -- Dipl.-Ing. Ronald Tögl phone +43 316/873-5502 Trusted Computing Labs fax +43 316/873-5520 IAIK ron...@ia... Graz University of Technology http://www.iaik.tugraz.at |