Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [higgins-dev] Error in RP / DecryptElement

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: <maxi.combina@xxxxxxxxxxxxx>
To: <higgins-dev@xxxxxxxxxxx>
Sent: Friday, August 07, 2009 5:17 PM
Subject: [higgins-dev] Error in RP / DecryptElement


_______________________________________________
higgins-dev mailing list
higgins-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/higgins-dev




Back to the top