From: Mudassar A. <mud...@ho...> - 2011-03-23 13:46:03
|
Hi, Thanks for your help and I appreciate your prompt support. Now with nonce in External Data, It worked for my Lenovo X200 laptop which has TPM version 1.2.4.1. But when I run the same code on actual target platform which has Infinion TPM 1.2.3.16, I get following exception: Exception in thread "main" java.lang.NullPointerException at iaik.tc.tss.impl.java.tsp.internal.TcTspInternal.TspCertifyKey_Internal(TcTspInternal.java:3247) at iaik.tc.tss.impl.java.tsp.TcRsaKey.certifyKey(TcRsaKey.java:294) at tests.TestCertifyKey.main(TestCertifyKey.java:130) Regards. Mudassar -----Original Message----- From: Ronald Tögl Sent: Wednesday, March 23, 2011 11:32 AM To: tru...@li... Cc: Mudassar Aslam Subject: Re: [Trustedjava-support] NullPointerException in TcIRsaKey.certifiyKey() Hi! Try to place the nonce in the External Data. hth, Ronald On 03/23/2011 11:28 AM, Mudassar Aslam wrote: > Hi > > I tried to initialize it as well but did not work. > > TcTssValidation val = new TcTssValidation(); > val.setData(TcBlobData.newString("ddd")); > TcTssValidation validationResult = bindKey.certifyKey(aikKey, val); > > Regards. > > Mudassar. -- Dipl.-Ing. Ronald Tögl phone +43 316/873-5502 Secure and Correct Systems fax +43 316/873-5520 IAIK ron...@ia... Graz University of Technology http://www.iaik.tugraz.at |