From: Burak O. <bur...@ya...> - 2007-02-07 13:49:36
|
Hi,=0A=0AI have seen the test cases but i need to define the TcIRsaKey as j= ava.security keys.=0A=0AThanks=0A =0A-- burak()=0A(ps: bf)=0AMETU CENG '06= =0A=0A----- Original Message ----=0AFrom: Thomas Winkler <thomas.winkler@ia= ik.tugraz.at>=0ATo: Burak OGUZ <bur...@ya...>=0ACc: trustedjava-sup= po...@li...=0ASent: Wednesday, February 7, 2007 1:47:30 PM= =0ASubject: Re: [Trustedjava-support] jTSS and Pgp=0A=0AHi,=0A=0A> There ar= e good APIs for Java PGP but all of these APIs=0A> use the key structure of= the java.security. Therefore=0A> I should change the TcIRsaKey to java.sec= urity=0A> objects. Are there any resources or samples about this=0A> subjec= t? =0A=0AHave a look at the jUnit tests included with jTSS. What you need i= s =0Ademonstrated as part of the TestIdentityCreation and - maybe easier to= =0Afind - in TestKeys in the method testVerifySigningKey. There a TPM key = =0A(TcIRsaKey) is converted into a Java (RSA)PublicKey.=0A=0Ahth,=0AThomas= =0A=0A=0A=0A=0A=0A=0A =0A__________________________________________________= __________________________________=0AWant to start your own business?=0ALea= rn how on Yahoo! Small Business.=0Ahttp://smallbusiness.yahoo.com/r-index |