From: Ronald T. <ron...@ia...> - 2011-03-23 11:52:49
|
Hi, Please respond to the mailing list, unless there is something you would not like to share with the other readers. Regarding your issue, use setExternalData(TcBlobData externalData) not setData() to set the external Data. Ronald On 03/23/2011 12:23 PM, Mudassar Aslam wrote: > Tried this as well with no success: > > TcTssValidation val = new TcTssValidation(); > TcTpmNonce N = TcCrypto.createTcgNonce(); > val.setData(N.getNonce()); > TcTssValidation validationResult = bindKey.certifyKey(aikKey, val); > > Regards. > > Mudassar. > > P.S whom should I send these emails for better archive-ability? To > tru...@li... or Person responding (e.g > Ronald)? > > -----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 |