Maxi,

The problem I am facing seems to happen when the RP needs to decrypt the
user token. More specifically, the method
org.eclipse.higgins.rp.icard.ICardProtocolHandler.processUserToken() is
throwing an exception in (apparently) line 146:

       ie = secext.DecryptElement(elemToken,
(PrivateKey)(keyStore.getKey(keyStoreAlias,keyStorePwd.toCharArray())));

Why do you think it is 146 line (your stacktrace says it was 147)? Turn your logging level to TRACE. If the exception was in 147, you will get "No EncryptedKey found (getElementsByTagName returned null)" or "No EncryptedKey found (0 == getLength())" for 146 line, whitch does mean you have a problem with token decryption.

Thanks,
Sergey Lyakhov
----- Original Message ----- From: <[email protected]>
To: <[email protected]>
Sent: Friday, August 07, 2009 5:17 PM
Subject: [higgins-dev] Error in RP / DecryptElement


_______________________________________________
higgins-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/higgins-dev


_______________________________________________
higgins-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/higgins-dev

Reply via email to