cancel
Showing results for 
Search instead for 
Did you mean: 

Digital Signature validation issue in Adapter Module

Former Member
0 Kudos

Hi guys,

we have developed an adapter module for digital signature validation, unfortunately, it simetimes work, sometimes doesnt. Strange is, that the same adapter module works for one customer, while for another one doesn't.

We have sent through some "invalid" messages, which should have been valid at the client, where the module works and theu were flagged as valid. It seems the problem is caused by "special" spanish characters, because validation works for the messages where are only standard chars.

Any idea, what to check? Java version, system encoding?

Any help appreciated,

Olian

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Not really sure about what causes such issues, but if your module coding uses String and byte[] manipulation, are you using explicite encoding when declaring such types ? I remember facing strange issues with XML field values, and "forcing" encoding to "UTF-8" when appropriate, it solved all my errors (string typed object, when converted internally by the JVM, were not always represented by the same bytes object)

Hope this helps

Chris

Answers (0)