Aspose PDF License is not getting picked

We have purchased a Aspose PDF License and while registering same to our java application it is throwing an exception as follows :

java.security.SignatureException: Signature length not correct: got 256 but was expecting 128
at java.base/sun.security.rsa.RSASignature.engineVerify(RSASignature.java:213) ~[na:na]
at java.base/java.security.Signature$Delegate.engineVerify(Signature.java:1435) ~[na:na]
at java.base/java.security.Signature.verify(Signature.java:789) ~[na:na]
at com.aspose.pdf.l9u.lI(Unknown Source) ~[aspose-pdf-20.5-jdk17.jar:20.5]
at com.aspose.pdf.l9u.lI(Unknown Source) ~[aspose-pdf-20.5-jdk17.jar:20.5]
at com.aspose.pdf.l9u.lI(Unknown Source) ~[aspose-pdf-20.5-jdk17.jar:20.5]
at com.aspose.pdf.l9u.lI(Unknown Source) ~[aspose-pdf-20.5-jdk17.jar:20.5]

@Manoj_Velliyatt_in_ey_com

Would you please make sure to use the latest version of the API i.e. Aspose.PDF for Java 22.7. The older version do not support latest license. In case you want to keep using the older version, you can use your existing license because you only need to renew your license if you want to upgrade the API to higher or latest version that is not supported by your older license.