Hello Maksim,
Maksim Djackov wrote:
> I have a problem with the certifyKey() method.
>
> keyToCertify.certifyKey(certificationKey, validation);
>=20
> Simply throws exception:
>=20
> java.lang.IllegalArgumentException: Argument 'validation' is not an=20
> instance of iaik.tc.tss.impl.java.tsp.TcRsaKey.
> Any info on that?
This is a bug - the wrong preconditions are being checked.
Thanks a lot for pointing this out! It will be fixed in the next release.=
(And, I will send you an hotfix per e-mail right away.)
One more thing: if possible, please post as complete code as possible -=20
if I am able to create a JUnit test out of it right away, debugging is=20
much easier.
> Maksim.
Regards, Ronald
--=20
Dipl.-Ing. Ronald T=F6gl 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
|