Note that there are some explanatory texts on larger screens.

plurals
  1. USuser1389486
    primarykey
    data
    text
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COHi, thank you for your reply. I think this is the cause of the problem. However a change is required in the framework.
      singulars
    2. COThe problem is in the class xades4j.utils.PropertiesUtils.java. In the method processKeyInfo if retrieves the DN from the signature. This is then used to instantiate KeyInfo object. Which at it's turn is used in xades4j.providers.impl.PKIXCertificateValidatinProvidor to instantiate the java.security.cert.certPathBuilder. During this instantiation the 'wrong' DN is used to build the chain of trust. Wrong means correct items off the DN but in the wrong order. (To be clear the certificate order is the weird one. The DN, from the xades message, order conforms to the LDAP structure)
      singulars
    3. COHi,I wrote a specific class to test the situation. In one instance I got the DN from the xades message. Which fails. (Error message is that it is unable to validate the chain of trust) The second call I used the same certificate but retrieved the DN from the Certificate itself. Then I got a validator. So no exception.Therefor I printed both version of the DN. Which gave me the details above.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload