Hi . we are authors of software, which posts some data to some goverment portal. Part of posting is signing the data by certificate (.pfx). Customer's certificate expires in a few days so he bought a new one.
there are 2 differences between old and new - 3 year life span instead of one year and the new is "CA 4" instead of "CA 3"'
Our main problem is that this code (see load...) fails with the new certicate:
Strange exception ArrayIndexOutOfBoundsException 0 >= 0 is issued.
Bouncy castle version is 1.38.
Another problem is that customer wont't give us the new certificate for testing.