But isn't that exactly what my solution does? i.e., concactenate exponentwith blankSpace and modulus-- without leading zeros. The third if(has.charAt(0)) check is probably redundant... and will never execute since we removed the leading zeros beforehand. Anyhow, it's great that you found a solution.
@Design Majelis: I actually found a solution to this. Do the following: Go to: org.kopi.ebics.certificate.KeyUtil. getKeyDigest() and replace the whole function with the following: ` public static byte[] getKeyDigest(RSAPublicKey publicKey) throws EbicsException { String modulus; String exponent; String hash; byte[] digest; exponent = Hex.encodeHexString(publicKey.getPublicExponent().toByteArray()); // modulus = Hex.encodeHexString(removeFirstByte(publicKey.getModulus().toByteArray())); modulus =...
@Design Majelis: I actually found a solution to this. Do the following: Go to: org.kopi.ebics.certificate.KeyUtil. getKeyDigest() and replace the whole function with the following: ` ~~~ public static byte[] getKeyDigest(RSAPublicKey publicKey) throws EbicsException { String modulus; String exponent; String hash; byte[] digest; exponent = Hex.encodeHexString(publicKey.getPublicExponent().toByteArray()); // modulus = Hex.encodeHexString(removeFirstByte(publicKey.getModulus().toByteArray())); modulus...
@Design Majelis: I actually found a solution to this. Do the following: Go to: org.kopi.ebics.certificate.KeyUtil. getKeyDigest() and replace the whole function with the following: ` public static byte[] getKeyDigest(RSAPublicKey publicKey) throws EbicsException { String modulus; String exponent; String hash; byte[] digest; exponent = Hex.encodeHexString(publicKey.getPublicExponent().toByteArray()); // modulus = Hex.encodeHexString(removeFirstByte(publicKey.getModulus().toByteArray())); modulus =...
@Design Majelis Did you find a solution to your problem?
@zamolxis Did you find a solution to your problem?